Revert "treewide: add mirrors for GitHub Archives"
This reverts commit c49d9634b52cb068b3f81958de1dfe03b56eade0.
This commit is contained in:
parent
4d1c4d6373
commit
b168db44e5
@ -27,7 +27,7 @@ define dl_method
|
||||
$(strip \
|
||||
$(if $(filter git,$(2)),$(call dl_method_git,$(1),$(2)),
|
||||
$(if $(2),$(2), \
|
||||
$(if $(filter @OPENWRT @APACHE/% @GHCODELOAD @GHREPO/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
|
||||
$(if $(filter @OPENWRT @APACHE/% @GHCODELOAD @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
|
||||
$(if $(filter git://%,$(1)),$(call dl_method_git,$(1),$(2)), \
|
||||
$(if $(filter svn://%,$(1)),svn, \
|
||||
$(if $(filter cvs://%,$(1)),cvs, \
|
||||
|
@ -16,7 +16,7 @@ PKG_VERSION:=2.0.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GHREPO/lrinQVQ/openwrt-chinadns/releases/download/v$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=https://github.com/lrinQVQ/openwrt-chinadns/releases/download/v$(PKG_VERSION)
|
||||
PKG_HASH:=caab37a27c444d917f0b92c65d7082543dc22acc7c24322be07a108a44794369
|
||||
|
||||
PKG_LICENSE:=GPLv3
|
||||
|
@ -14,7 +14,7 @@ PKG_VERSION:=0.5.0
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=RcloneNg-v$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GHREPO/ElonH/RcloneNg/releases/download/v$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=https://github.com/ElonH/RcloneNg/releases/download/v$(PKG_VERSION)/
|
||||
PKG_HASH:=0b4916ddd0bacb5b358dc8d36b64c30f4182c0ace3eb06cda94b6578c419dcd9
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -14,7 +14,7 @@ PKG_VERSION:=2.0.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
||||
PKG_SOURCE_URL:=@GHREPO/rclone/rclone-webui-react/releases/download/v$(PKG_VERSION)/currentbuild.zip?
|
||||
PKG_SOURCE_URL:=https://github.com/rclone/rclone-webui-react/releases/download/v$(PKG_VERSION)/currentbuild.zip?
|
||||
PKG_HASH:=38ca0a73071b70d25ecc5995f0da912edd448669715c1b177a44fafa08460990
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -17,7 +17,7 @@ PKG_RELEASE:=1
|
||||
PKG_SOURCE_HEADER:=shadowsocks-v$(PKG_VERSION)
|
||||
PKG_SOURCE_BODY:=unknown-linux-musl
|
||||
PKG_SOURCE_FOOTER:=tar.xz
|
||||
PKG_SOURCE_URL:=@GHREPO/shell-script/openwrt-shadowsocks-rust/releases/download/v$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=https://github.com/shell-script/openwrt-shadowsocks-rust/releases/download/v$(PKG_VERSION)/
|
||||
|
||||
ifeq ($(ARCH),aarch64)
|
||||
PKG_SOURCE:=$(PKG_SOURCE_HEADER).aarch64-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER)
|
||||
|
@ -229,12 +229,6 @@ foreach my $mirror (@ARGV) {
|
||||
push @mirrors, "https://ghproxy.com/https://codeload.github.com/$1";
|
||||
push @mirrors, "https://pd.zwc365.com/cfworker/https://codeload.github.com/$1";
|
||||
push @mirrors, "https://codeload.github.com/$1";
|
||||
} elsif ($mirror =~ /^\@GHREPO\/(.+)$/) {
|
||||
push @mirrors, "https://pd.zwc365.com/seturl/https://github.com/$1";
|
||||
push @mirrors, "https://github.com.cnpmjs.org/$1";
|
||||
push @mirrors, "https://ghproxy.com/https://github.com/$1";
|
||||
push @mirrors, "https://hub.fastgit.org/$1";
|
||||
push @mirrors, "https://github.com/$1";
|
||||
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
|
||||
push @mirrors, "https://mirrors.tencent.com/gnu/$1";
|
||||
push @mirrors, "https://mirrors.tuna.tsinghua.edu.cn/gnu/$1";
|
||||
|
Loading…
x
Reference in New Issue
Block a user