diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:47:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:47:32 +0000 |
commit | d5eed6c092971fd562896e3044334ee86cec9625 (patch) | |
tree | f8aaf2021eb9af335a9c18c12c647c7937878264 /scripts | |
parent | b9dadc90b39f59bbf2229bd886b3551d88e67124 (diff) | |
download | master-187ad058-d5eed6c092971fd562896e3044334ee86cec9625.tar.gz master-187ad058-d5eed6c092971fd562896e3044334ee86cec9625.tar.bz2 master-187ad058-d5eed6c092971fd562896e3044334ee86cec9625.zip |
build: add @APACHE download facility
The Apache Software Foundation offers diverse download mirros.
For packaging Apache software a new alias @APACHE is defined.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48270 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/download.pl b/scripts/download.pl index 9d1fe4755a..25c73fbeb5 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -176,6 +176,12 @@ foreach my $mirror (@ARGV) { for (1 .. 5) { push @mirrors, "http://downloads.sourceforge.net/$1"; } + } elsif ($mirror =~ /^\@APACHE\/(.+)$/) { + push @mirrors, "http://ftp.tudelft.nl/apache/$1"; + push @mirrors, "http://apache.openmirror.de/$1"; + push @mirrors, "http://mirrors.ocf.berkeley.edu/apache/$1"; + push @mirrors, "http://mirror.cc.columbia.edu/pub/software/apache/$1"; + push @mirrors, "http://ftp.jaist.ac.jp/pub/apache/$1"; } elsif ($mirror =~ /^\@GNU\/(.+)$/) { push @mirrors, "http://ftpmirror.gnu.org/$1"; push @mirrors, "http://ftp.gnu.org/pub/gnu/$1"; |