xray-core: bump geodata to latest version
authorTianling Shen <[email protected]>
Thu, 11 Feb 2021 15:47:46 +0000 (23:47 +0800)
committerTianling Shen <[email protected]>
Thu, 11 Feb 2021 15:47:46 +0000 (23:47 +0800)
also adjusted GO_PKG_LDFLAGS_X which was suggested by Jeffery To.

Signed-off-by: Tianling Shen <[email protected]>
net/xray-core/Makefile

index 42eb5a48e65b87ea9c3097535658a9fd59110e27..36b3391fde6b121ed9f723dd150573319b4cce16 100644 (file)
@@ -21,8 +21,8 @@ GO_PKG:=github.com/xtls/xray-core
 GO_PKG_BUILD_PKG:=github.com/xtls/xray-core/main
 GO_PKG_LDFLAGS:=-s -w
 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 ../../lang/golang/golang-package.mk
@@ -80,24 +80,24 @@ define Package/xray-core/conffiles
 /etc/config/xray
 endef
 
-GEOIP_VER:=202101280019
+GEOIP_VER:=202102110014
 GEOIP_FILE:=geoip.dat.$(GEOIP_VER)
 
 define Download/geoip
   URL:=https://github.com/v2fly/geoip/releases/download/$(GEOIP_VER)/
   URL_FILE:=geoip.dat
   FILE:=$(GEOIP_FILE)
-  HASH:=69bb1f820f416e4591a7b76bfabf9fde9cce6550cddcc1a99b2ccafeb2a8ebd3
+  HASH:=c80e61b251fd76b09df5624b12cc84d7e1d9a0492b9acb43e21f0a244b1f9fc3
 endef
 
-GEOSITE_VER:=20210130061540
+GEOSITE_VER:=20210211141342
 GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
 
 define Download/geosite
   URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
   URL_FILE:=dlc.dat
   FILE:=$(GEOSITE_FILE)
-  HASH:=bc9748c95b0545376356174b005fccfbc21d647df46293d5197853ee06a9c0a2
+  HASH:=e71b4acf2918851dd56e7cda714abb4758deb57b91d716911f33c453b909e796
 endef
 
 define Build/Prepare