diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-08 08:01:39 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-08 08:01:39 +0000 |
commit | 978b39ca1fc33eb071cf2518ddf2c32376d1346f (patch) | |
tree | 44ada46face1ee084ae20c93233ae142e159b312 /scripts | |
parent | b0ca0dd4b026b658c3afb198f7303fe9ad7064b4 (diff) | |
download | upstream-978b39ca1fc33eb071cf2518ddf2c32376d1346f.tar.gz upstream-978b39ca1fc33eb071cf2518ddf2c32376d1346f.tar.bz2 upstream-978b39ca1fc33eb071cf2518ddf2c32376d1346f.zip |
include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42840 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/download.pl b/scripts/download.pl index d6a55b634c..9603e708d1 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -157,6 +157,11 @@ foreach my $mirror (@ARGV) { 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"; + } elsif ($mirror =~ /^\@SAVANNAH\/(.+)$/) { + push @mirrors, "http://download.savannah.gnu.org/releases/$1"; + 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/) { |