X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=scripts%2Fdownload.pl;h=d6a55b634c4ac58215433ac326dbc890ca06c05b;hb=32b3f9cdc66f2a89ecd4556725acb57d39c3a54d;hp=0e3d02409816fa29ee34f32a7bac04b2702770c1;hpb=12728ea66bb93f7b1499f2b4dc00a887d25e7f85;p=oweals%2Fopenwrt.git diff --git a/scripts/download.pl b/scripts/download.pl index 0e3d024098..d6a55b634c 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -152,14 +152,11 @@ foreach my $mirror (@ARGV) { push @mirrors, "http://downloads.sourceforge.net/$1"; } } elsif ($mirror =~ /^\@GNU\/(.+)$/) { - push @mirrors, "ftp://ftp.gnu.org/gnu/$1"; + 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"; push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1"; push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$1"; - push @mirrors, "ftp://ftp.uu.net/archive/systems/gnu/$1"; - push @mirrors, "ftp://ftp.eu.uu.net/pub/gnu/$1"; - push @mirrors, "ftp://ftp.leo.org/pub/comp/os/unix/gnu/$1"; - push @mirrors, "ftp://ftp.digex.net/pub/gnu/$1"; } elsif ($mirror =~ /^\@KERNEL\/(.+)$/) { my @extra = ( $1 ); if ($filename =~ /linux-\d+\.\d+(?:\.\d+)?-rc/) { @@ -170,10 +167,6 @@ foreach my $mirror (@ARGV) { foreach my $dir (@extra) { push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir"; push @mirrors, "http://ftp.all.kernel.org/pub/$dir"; - push @mirrors, "ftp://ftp.de.kernel.org/pub/$dir"; - push @mirrors, "http://ftp.de.kernel.org/pub/$dir"; - push @mirrors, "ftp://ftp.fr.kernel.org/pub/$dir"; - push @mirrors, "http://ftp.fr.kernel.org/pub/$dir"; } } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";