Removed Source Forge as source mirror
authorrcall1 <rcall1>
Sun, 7 Jun 2015 15:42:55 +0000 (15:42 +0000)
committerrcall1 <rcall1>
Sun, 7 Jun 2015 15:42:55 +0000 (15:42 +0000)
trunk/include/download.mk
trunk/scripts/download.pl

index adaa2e6ac5ed9b05b7e832309d6de8ad3bea9fd7..c4c1c14c7ca5b4f5fa1f6ae2d550c88a5a057508 100644 (file)
@@ -11,7 +11,7 @@ DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)
 define dl_method
 $(strip \
   $(if $(2),$(2), \
-    $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
+    $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
       $(if $(filter git://%,$(1)),git, \
         $(if $(filter svn://%,$(1)),svn, \
           $(if $(filter cvs://%,$(1)),cvs, \
index 8f3f1d3a7063c7952a12e1a65435cab024032298..4697bb4b0f10f401b3ba57b49b9a503669bd5ca2 100755 (executable)
@@ -146,12 +146,7 @@ sub cleanup
 @mirrors = localmirrors();
 
 foreach my $mirror (@ARGV) {
-       if ($mirror =~ /^\@SF\/(.+)$/) {
-               # give sourceforge a few more tries, because it redirects to different mirrors
-               for (1 .. 5) {
-                       push @mirrors, "http://downloads.sourceforge.net/$1";
-               }
-       } elsif ($mirror =~ /^\@GNU\/(.+)$/) {
+       if ($mirror =~ /^\@GNU\/(.+)$/) {
                push @mirrors, "http://ftpmirror.gnu.org/$1";
                push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
                push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1";