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 326d91d722..3308e6cf22 100755 --- a/package/lean/default-settings/files/zzz-default-settings +++ b/package/lean/default-settings/files/zzz-default-settings @@ -26,7 +26,7 @@ sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua 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 "s/# //g" /etc/opkg/distfeeds.conf sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 24fd09a7b5..d8f643b86e 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 9e3ea14eb3..46413648d6 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -197,7 +197,7 @@ foreach my $mirror (@ARGV) { } elsif ($mirror =~ /^\@OPENWRT$/) { # use OpenWrt source server directly } 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"; @@ -215,12 +215,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";