add a last resort SF round-robin url and some GNU mirrors
authorNicolas Thill <nico@openwrt.org>
Wed, 7 Dec 2005 15:35:14 +0000 (15:35 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 7 Dec 2005 15:35:14 +0000 (15:35 +0000)
SVN-Revision: 2594

openwrt/scripts/download.pl

index 43dc7965b87e50f219080d8e22f3ad33227e5784..9f46810a823e479af1749a6e5d09895fad6588a1 100755 (executable)
@@ -63,6 +63,7 @@ foreach my $mirror (@ARGV) {
                                push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
                        };
                }
+               push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath";
                close SF;
        } elsif ($mirror =~ /^\@GNU\/(.+)$/) {
                my $gnupath = $1;
@@ -70,6 +71,10 @@ foreach my $mirror (@ARGV) {
                push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$gnupath";
                push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$gnupath";
                push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.uu.net/archive/systems/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.eu.uu.net/pub/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.leo.org/pub/comp/os/unix/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.digex.net/pub/gnu/$gnupath";
        } else {
                push @mirrors, $mirror;
        }