diff --git a/package/ctcgfw/node-request/Makefile b/package/ctcgfw/node-request/Makefile index 0a29930001..5906f80dfc 100644 --- a/package/ctcgfw/node-request/Makefile +++ b/package/ctcgfw/node-request/Makefile @@ -10,7 +10,7 @@ PKG_VERSION:=2.88.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz -PKG_SOURCE_URL:=https://mirrors.cloud.tencent.com/npm/$(PKG_NPM_NAME)/-/ \ +PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \ https://registry.npm.taobao.org/$(PKG_NPM_NAME)/-/ \ https://registry.npmjs.org/$(PKG_NPM_NAME)/-/ PKG_HASH:=e86dae884084b90a300096972f5954c815ebe5877c590df7fd170e8b71724242 diff --git a/package/lean/default-settings/files/zzz-default-settings b/package/lean/default-settings/files/zzz-default-settings index 6c38bef5bc..69387d3a4c 100755 --- a/package/lean/default-settings/files/zzz-default-settings +++ b/package/lean/default-settings/files/zzz-default-settings @@ -29,7 +29,7 @@ sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm ln -sf /sbin/ip /usr/bin/ip -sed -i 's#https://downloads.openwrt.org#https://mirrors.cloud.tencent.com/lede#g' /etc/opkg/distfeeds.conf +sed -i 's#https://downloads.openwrt.org#https://mirrors.tencent.com/lede#g' /etc/opkg/distfeeds.conf sed -i '/openwrt_luci/ { s/snapshots/releases\/18.06.9/g; }' /etc/opkg/distfeeds.conf sed -i "s/# //g" /etc/opkg/distfeeds.conf diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index daafe5222d..ea6b459740 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -19,8 +19,8 @@ PKG_BUILD_PARALLEL:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ - https://mirrors.cloud.tencent.com/openssl/source/ \ - https://mirrors.cloud.tencent.com/openssl/source/old/$(PKG_BASE)/ \ + https://mirrors.tencent.com/openssl/source/ \ + https://mirrors.tencent.com/openssl/source/old/$(PKG_BASE)/ \ https://www.openssl.org/source/ \ https://www.openssl.org/source/old/$(PKG_BASE)/ \ https://ftp.fi.muni.cz/pub/openssl/source/ \ diff --git a/scripts/download.pl b/scripts/download.pl index 59d29f19d3..bcbc562c56 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -201,7 +201,7 @@ foreach my $mirror (@ARGV) { push @mirrors, "https://mirror.leaseweb.com/debian/$1"; push @mirrors, "https://mirror.netcologne.de/debian/$1"; } elsif ($mirror =~ /^\@APACHE\/(.+)$/) { - push @mirrors, "https://mirrors.cloud.tencent.com/apache/$1"; + push @mirrors, "https://mirrors.tencent.com/apache/$1"; push @mirrors, "https://mirrors.aliyun.com/apache/$1"; push @mirrors, "https://mirrors.tuna.tsinghua.edu.cn/apache/$1"; push @mirrors, "https://mirrors.ustc.edu.cn/apache/$1"; @@ -219,12 +219,13 @@ foreach my $mirror (@ARGV) { my $i = 0; # replace the 2nd '/' with '@' for jsDelivr mirror push @mirrors, "https://cdn.jsdelivr.net/gh/". $dir =~ s{\/}{++$i == 2 ? '@' : $&}ger; + push @mirrors, "https://raw.sevencdn.com/$dir"; # give github a few more tries (different mirrors) for (1 .. 5) { push @mirrors, "https://raw.githubusercontent.com/$dir"; } } elsif ($mirror =~ /^\@GNU\/(.+)$/) { - push @mirrors, "https://mirrors.cloud.tencent.com/gnu/$1"; + push @mirrors, "https://mirrors.tencent.com/gnu/$1"; push @mirrors, "https://mirrors.tuna.tsinghua.edu.cn/gnu/$1"; push @mirrors, "https://mirrors.cqu.edu.cn/gnu/$1"; push @mirrors, "https://mirrors.ustc.edu.cn/gnu/$1";