tuic-client: update to 2.1.0 to restore source downloads

The v1.7.2 source tag returns 404. Use v2.1.0 and its verified archive hash, update the license identifier, and use the committed Cargo lockfile. Verified LEDE source download and Cargo checks with both crypto feature selections.

Refs: https://github.com/coolsnowwolf/lede/issues/14320
Signed-off-by: coolsnowwolf <coolsnowwolf@gmail.com>
This commit is contained in:
coolsnowwolf committed 2026-12-03 00:03:31 +08:00
1 parent 156163fa93
commit e2ed8924d0
1 file changed
+5 -5
+5 -5
View File
@@ -6,16 +6,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=tuic-client
PKG_VERSION:=1.7.2
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/Itsusinn/tuic/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=7a08641826cb7e166ae6db06f367ffeeeddd17f11ee5ae23435ec5701099149a
PKG_HASH:=d2f000280e1bdac313f459a6139049f4290f5027977db4e6b97df6b5dbfa6d4d
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=rust/host
@@ -32,7 +32,7 @@ define Package/tuic-client
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=TUIC proxy protocol client
URL:=https://github.com/EAimTY/tuic
URL:=https://github.com/Itsusinn/tuic
DEPENDS:=@(aarch64||arm||x86_64||i686||riscv64||loongarch64)
endef
@@ -59,7 +59,7 @@ define Build/Compile
( \
pushd $(PKG_BUILD_DIR) ; \
$(CARGO_PKG_CONFIG_VARS) \
cargo build --release \
cargo build --locked --release \
-p tuic-client \
--target $(RUSTC_TARGET_ARCH) \
$(call Select/Features) ; \