From 447e8f83e20bd89728113a953c907cedd4f2f718 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 17 Oct 2020 20:20:49 +0800 Subject: [PATCH] v2ray: disable goproxy by default --- package/ctcgfw/openwrt-v2ray-plugin/Makefile | 5 +++-- package/lean/v2ray/Makefile | 2 ++ package/lienol/trojan-go/Makefile | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/ctcgfw/openwrt-v2ray-plugin/Makefile b/package/ctcgfw/openwrt-v2ray-plugin/Makefile index 474327b660..ea1c470360 100644 --- a/package/ctcgfw/openwrt-v2ray-plugin/Makefile +++ b/package/ctcgfw/openwrt-v2ray-plugin/Makefile @@ -35,13 +35,14 @@ include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk define Package/$(PKG_NAME)/config config $(PKG_NAME)_INCLUDE_GOPROXY bool "Compiling with GOPROXY proxy" - default y + default n endef ifeq ($(CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY),y) export GO111MODULE=on -export GOPROXY=https://goproxy.io +export GOPROXY=https://goproxy.cn +#export GOPROXY=https://goproxy.io #export GOPROXY=https://mirrors.aliyun.com/goproxy/ endif diff --git a/package/lean/v2ray/Makefile b/package/lean/v2ray/Makefile index ff3e4618c3..b7fae15199 100644 --- a/package/lean/v2ray/Makefile +++ b/package/lean/v2ray/Makefile @@ -89,6 +89,8 @@ endef ifeq ($(CONFIG_V2RAY_COMPRESS_GOPROXY),y) export GO111MODULE=on export GOPROXY=https://goproxy.cn +#export GOPROXY=https://goproxy.io +#export GOPROXY=https://mirrors.aliyun.com/goproxy/ endif V2RAY_SED_ARGS:= diff --git a/package/lienol/trojan-go/Makefile b/package/lienol/trojan-go/Makefile index 7dc033d953..5917ef0fe3 100644 --- a/package/lienol/trojan-go/Makefile +++ b/package/lienol/trojan-go/Makefile @@ -60,7 +60,8 @@ endef ifeq ($(CONFIG_TROJAN_GO_COMPRESS_GOPROXY),y) export GO111MODULE=on -export GOPROXY=https://goproxy.io +GOPROXY=https://goproxy.cn +#export GOPROXY=https://goproxy.io #export GOPROXY=https://mirrors.aliyun.com/goproxy/ endif