|
@ -21,8 +21,8 @@ GO_PKG:=github.com/xtls/xray-core |
|
|
GO_PKG_BUILD_PKG:=github.com/xtls/xray-core/main |
|
|
GO_PKG_BUILD_PKG:=github.com/xtls/xray-core/main |
|
|
GO_PKG_LDFLAGS:=-s -w |
|
|
GO_PKG_LDFLAGS:=-s -w |
|
|
GO_PKG_LDFLAGS_X:= \
|
|
|
GO_PKG_LDFLAGS_X:= \
|
|
|
$(GO_PKG)/core.version=$(PKG_VERSION) \
|
|
|
|
|
|
$(GO_PKG)/core.codename=OpenWrt |
|
|
|
|
|
|
|
|
$(GO_PKG)/core.build=OpenWrt \
|
|
|
|
|
|
$(GO_PKG)/core.version=$(PKG_VERSION) |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include ../../lang/golang/golang-package.mk |
|
|
include ../../lang/golang/golang-package.mk |
|
@ -80,24 +80,24 @@ define Package/xray-core/conffiles |
|
|
/etc/config/xray |
|
|
/etc/config/xray |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
GEOIP_VER:=202101280019 |
|
|
|
|
|
|
|
|
GEOIP_VER:=202102110014 |
|
|
GEOIP_FILE:=geoip.dat.$(GEOIP_VER) |
|
|
GEOIP_FILE:=geoip.dat.$(GEOIP_VER) |
|
|
|
|
|
|
|
|
define Download/geoip |
|
|
define Download/geoip |
|
|
URL:=https://github.com/v2fly/geoip/releases/download/$(GEOIP_VER)/ |
|
|
URL:=https://github.com/v2fly/geoip/releases/download/$(GEOIP_VER)/ |
|
|
URL_FILE:=geoip.dat |
|
|
URL_FILE:=geoip.dat |
|
|
FILE:=$(GEOIP_FILE) |
|
|
FILE:=$(GEOIP_FILE) |
|
|
HASH:=69bb1f820f416e4591a7b76bfabf9fde9cce6550cddcc1a99b2ccafeb2a8ebd3 |
|
|
|
|
|
|
|
|
HASH:=c80e61b251fd76b09df5624b12cc84d7e1d9a0492b9acb43e21f0a244b1f9fc3 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
GEOSITE_VER:=20210130061540 |
|
|
|
|
|
|
|
|
GEOSITE_VER:=20210211141342 |
|
|
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER) |
|
|
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER) |
|
|
|
|
|
|
|
|
define Download/geosite |
|
|
define Download/geosite |
|
|
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/ |
|
|
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/ |
|
|
URL_FILE:=dlc.dat |
|
|
URL_FILE:=dlc.dat |
|
|
FILE:=$(GEOSITE_FILE) |
|
|
FILE:=$(GEOSITE_FILE) |
|
|
HASH:=bc9748c95b0545376356174b005fccfbc21d647df46293d5197853ee06a9c0a2 |
|
|
|
|
|
|
|
|
HASH:=e71b4acf2918851dd56e7cda714abb4758deb57b91d716911f33c453b909e796 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Build/Prepare |
|
|
define Build/Prepare |
|
|