mirror of
https://github.com/kenzok8/small.git
synced 2025-01-05 10:36:40 +08:00
update 2023-09-17 08:41:14
This commit is contained in:
parent
bce83c485f
commit
20cd59317d
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-ssr-plus
|
||||
PKG_VERSION:=187
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_NONE_V2RAY \
|
||||
@ -123,7 +123,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_TUIC-Client
|
||||
bool "Include tuic-client"
|
||||
select PACKAGE_$(PKG_NAME)_INCLUDE_ChinaDNS_NG
|
||||
select PACKAGE_$(PKG_NAME)_INCLUDE_IPT2Socks
|
||||
depends on aarch64||i686||x86_64
|
||||
depends on aarch64||arm||i386||x86_64
|
||||
depends on !(TARGET_x86_geode||TARGET_x86_legacy)
|
||||
default n
|
||||
|
||||
|
@ -18,7 +18,6 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
|
||||
PKG_BUILD_DEPENDS:=gn/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_USE_MIPS16:=0
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
|
||||
ifneq ($(CONFIG_CPU_TYPE)," ")
|
||||
|
@ -6,12 +6,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sing-box
|
||||
PKG_VERSION:=1.5.0-beta.10
|
||||
PKG_VERSION:=1.5.0-beta.11
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/SagerNet/sing-box/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=1ef708f926619731eb3e099f64d922110b1b91e26b8f028914cb54873f79c76d
|
||||
PKG_HASH:=bccdd1a73ef5d02a798fc0926d77d41714fda902b0cfddfa2bdffe34ac852505
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
@ -19,7 +19,8 @@ TUIC_FOOT:=unknown-linux-musl
|
||||
ifeq ($(ARCH),aarch64)
|
||||
TUIC_ARCH:=$(TUIC_TYPE)-aarch64-$(TUIC_FOOT)
|
||||
PKG_HASH:=c29eaaf3bc05115acc7453ac26bacf9aff65211b1e8ca7f771b818248bec8601
|
||||
else ifeq ($ARCH),arm64)
|
||||
else ifeq ($(ARCH),arm)
|
||||
# Referred to golang/golang-values.mk
|
||||
ARM_CPU_FEATURES:=$(word 2,$(subst +,$(space),$(call qstrip,$(CONFIG_CPU_TYPE))))
|
||||
ifeq ($(ARM_CPU_FEATURES),)
|
||||
TUIC_ARCH:=$(TUIC_TYPE)-armv7-$(TUIC_FOOT)eabi
|
||||
@ -28,12 +29,16 @@ else ifeq ($ARCH),arm64)
|
||||
TUIC_ARCH:=$(TUIC_TYPE)-armv7-$(TUIC_FOOT)eabihf
|
||||
PKG_HASH:=e2cc1d81ac376ff2a94976e78c861f5cd21ad809ff5b587ae967e2a63e4c35e4
|
||||
endif
|
||||
else ifeq ($(ARCH),i686)
|
||||
else ifeq ($(ARCH),i386)
|
||||
TUIC_ARCH:=$(TUIC_TYPE)-i686-$(TUIC_FOOT)
|
||||
PKG_HASH:=67d930b4381a8848bf98acbccb538c73b72ca9dde0aed3705f73e62a9922f758
|
||||
else ifeq ($(ARCH),x86_64)
|
||||
TUIC_ARCH:=$(TUIC_TYPE)-x86_64-$(TUIC_FOOT)
|
||||
PKG_HASH:=180c562691247a7feddf553706bc8fd5b5b9de3027154f94a767ea907a45e2de
|
||||
# Set the default value to make OpenWrt Package Checker happy
|
||||
else
|
||||
PKG_SOURCE:=dummy
|
||||
PKG_HASH:=dummy
|
||||
endif
|
||||
|
||||
define Download/tuic-client
|
||||
@ -49,8 +54,7 @@ define Package/tuic-client
|
||||
SUBMENU:=Web Servers/Proxies
|
||||
TITLE:=Delicately-TUICed 0-RTT proxy protocol
|
||||
URL:=https://github.com/EAimTY/tuic/
|
||||
DEPENDS:=@USE_MUSL @(aarch64||arm64||i686||x86_64) @!(TARGET_x86_geode||TARGET_x86_legacy)
|
||||
#PKGARCH:=all aarch64 arm i686 x86_64
|
||||
DEPENDS:=@USE_MUSL @(aarch64||arm||i386||x86_64) @!(TARGET_x86_geode||TARGET_x86_legacy)
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
@ -66,7 +70,6 @@ endef
|
||||
define Package/tuic-client/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(DL_DIR)/$(TUIC_ARCH) $(1)/usr/bin/tuic-client
|
||||
chmod +x $(1)/usr/bin/tuic-client
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tuic-client))
|
||||
$(eval $(call BuildPackage,tuic-client))
|
Loading…
Reference in New Issue
Block a user