diff --git a/v2raya/Makefile b/v2raya/Makefile index ff32ee5..354f626 100644 --- a/v2raya/Makefile +++ b/v2raya/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=v2rayA -PKG_VERSION:=2.2.4.1 +PKG_VERSION:=2.2.4.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=e0d8a2250f9933ca1d1efe023a7ec7d6d5f9a4d058a8a7270c457a8d1e0b4ab9 +PKG_HASH:=22285b2fdf321d68993b38ad738f4af210920757d7944691a78e151abd99cb3a PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/service PKG_LICENSE:=AGPL-3.0-only @@ -51,12 +51,12 @@ define Package/v2raya/conffiles /etc/config/v2raya endef -WEB_FILE:=$(PKG_NAME)-web-$(PKG_VERSION).zip +WEB_FILE:=$(PKG_NAME)-web-$(PKG_VERSION).tar.gz define Download/v2raya-web URL:=https://github.com/v2rayA/v2rayA/releases/download/v$(PKG_VERSION)/ - URL_FILE:=web.zip + URL_FILE:=web.tar.gz FILE:=$(WEB_FILE) - HASH:=76735aa46253dc29b9605798173fafc3ae545089e3da8090f76d6a3f65780e37 + HASH:=09109442abac13801b7b82433fccbb769657b1d292ac4820af179c297e845135 endef GO_PKG_TARGET_VARS:=$(filter-out CGO_ENABLED=%,$(GO_PKG_TARGET_VARS)) CGO_ENABLED=0 @@ -66,7 +66,7 @@ define Build/Prepare ( \ mkdir -p $(PKG_BUILD_DIR)/server/router/web ; \ - unzip -q -d $(PKG_BUILD_DIR)/server/router/web $(DL_DIR)/$(WEB_FILE) ; \ + gzip -dc $(DL_DIR)/$(WEB_FILE) | $(HOST_TAR) -C $(PKG_BUILD_DIR)/server/router/web $(TAR_OPTIONS) ; \ ) endef