From ac4961873f05fc4227346b44d7d68644b5a6713e Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Thu, 27 Nov 2025 14:20:51 +0800 Subject: [PATCH] update 2025-11-27 14:20:51 --- luci-app-passwall/Makefile | 2 +- opencode/Makefile | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index bf0de6f30..fd6fb7202 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall -PKG_VERSION:=25.11.15 +PKG_VERSION:=25.11.27 PKG_RELEASE:=1 PKG_PO_VERSION:=$(PKG_VERSION) diff --git a/opencode/Makefile b/opencode/Makefile index df06a5450..15db46fac 100644 --- a/opencode/Makefile +++ b/opencode/Makefile @@ -11,7 +11,7 @@ PKG_ARCH_opencode:=$(ARCH) PKG_NAME:=opencode PKG_VERSION:=1.0.119 -PKG_RELEASE:= +PKG_RELEASE:=3 PKG_SOURCE:=opencode-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/ PKG_HASH:=0f57205d24428d3fddf2d7a6b0958901c7930ca8dd7ec706ed7903901b67ec3a @@ -20,6 +20,9 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/opencode-binary-$(PKG_VERSION) PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 +RSTRIP:=: +STRIP:=: + include $(INCLUDE_DIR)/package.mk define Package/$(PKG_NAME) @@ -27,6 +30,7 @@ define Package/$(PKG_NAME) CATEGORY:=System SUBMENU:= TITLE:=OpenCode + DEPENDS:=+libstdcpp URL:=https://github.com/Carseason/openwrt-packages endef @@ -41,6 +45,7 @@ define Build/Configure endef define Build/Compile + $(STAGING_DIR_HOST)/bin/patchelf --remove-needed libc.musl-x86_64.so.1 --remove-needed libc.musl-aarch64.so.1 $(PKG_BUILD_DIR)/opencode.$(PKG_ARCH_opencode) endef define Package/$(PKG_NAME)/install