[openwrt/openwrt] scripts: add Apache fastly mirror

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 6 16:33:14 PST 2023


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9ac377d0e012e42d9cd69ccc6471fae93c738c1d

commit 9ac377d0e012e42d9cd69ccc6471fae93c738c1d
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Jan 7 01:22:23 2023 +0100

    scripts: add Apache fastly mirror
    
    Add the Apache fastly mirror as preferred download source.
    This service is using a dual-stacked CDN.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 scripts/download.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/download.pl b/scripts/download.pl
index 0b3f99e9b0..676c6e9e6b 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -255,6 +255,7 @@ foreach my $mirror (@ARGV) {
 		push @mirrors, "https://mirrors.tuna.tsinghua.edu.cn/debian/$1";
 		push @mirrors, "https://mirrors.ustc.edu.cn/debian/$1"
 	} elsif ($mirror =~ /^\@APACHE\/(.+)$/) {
+		push @mirrors, "https://dlcdn.apache.org/$1";
 		push @mirrors, "https://mirror.netcologne.de/apache.org/$1";
 		push @mirrors, "https://mirror.aarnet.edu.au/pub/apache/$1";
 		push @mirrors, "https://mirror.csclub.uwaterloo.ca/apache/$1";




More information about the lede-commits mailing list