Removed "other" mirrors
authornynex <nynex>
Wed, 22 Apr 2015 22:49:52 +0000 (22:49 +0000)
committernynex <nynex>
Wed, 22 Apr 2015 22:49:52 +0000 (22:49 +0000)
trunk/include/download.mk
trunk/scripts/download.pl

index adaa2e6ac5ed9b05b7e832309d6de8ad3bea9fd7..388dc72cb2193a9eef1cafe9797ea51c29eae2c8 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/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
       $(if $(filter git://%,$(1)),git, \
         $(if $(filter svn://%,$(1)),svn, \
           $(if $(filter cvs://%,$(1)),cvs, \
index 9c8d2cbf806e162afefe3ac76e687783701f0e00..289402a9748738356f62f26a878b18fe49a654a2 100755 (executable)
@@ -165,17 +165,7 @@ foreach my $mirror (@ARGV) {
                push @mirrors, "http://nongnu.uib.no/$1";
                push @mirrors, "http://ftp.igh.cnrs.fr/pub/nongnu/$1";
                push @mirrors, "http://download-mirror.savannah.gnu.org/releases/$1";
-       } elsif ($mirror =~ /^\@KERNEL\/(.+)$/) {
-               my @extra = ( $1 );
-               if ($filename =~ /linux-\d+\.\d+(?:\.\d+)?-rc/) {
-                       push @extra, "$extra[0]/testing";
-               } elsif ($filename =~ /linux-(\d+\.\d+(?:\.\d+)?)/) {
-                       push @extra, "$extra[0]/longterm/v$1";
-               }               
-               foreach my $dir (@extra) {
-                       push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir";
-                       push @mirrors, "http://ftp.all.kernel.org/pub/$dir";
-               }
+       
     } elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
                push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";
                push @mirrors, "http://ftp.unina.it/pub/linux/GNOME/sources/$1";
@@ -196,8 +186,9 @@ foreach my $mirror (@ARGV) {
 }
 
 #push @mirrors, 'http://mirror1.librecmc.org';
-push @mirrors, 'http://mirror2.openwrt.org/sources';
-push @mirrors, 'http://downloads.openwrt.org/sources';
+push @mirrors, 'http://downloads.librecmc.org/sources/v1.3.1';
+push @mirrors, 'http://hype.downloads.librecmc.org/sources';
+
 
 while (!$ok) {
        my $mirror = shift @mirrors;