passwall 编译好后还是旧的版本
详细叙述
用lean源码编译openwrt,用了第三方插件源src-git kenzo https://github.com/kenzok8/openwrt-packages src-git small https://github.com/kenzok8/small,里面的插件更新了,比如passwall等,但编译好后,从/home/hbb/lede/bin/packages/x86_64/luci进去看ipk,还是旧的版本,没有更新
重复 issue
- [x] 没有类似的 issue
具体型号
x86
详细日志
用lean源码编译openwrt,用了第三方插件源src-git kenzo https://github.com/kenzok8/openwrt-packages src-git small https://github.com/kenzok8/small,里面的插件更新了,比如passwall等,但编译好后,从/home/hbb/lede/bin/packages/x86_64/luci进去看ipk,还是旧的版本,没有更新
打开Makefile文件,发现passwall版本是最新的,但从/home/hbb/lede/bin/packages/x86_64/luci进去看ipk还是旧的,没有更新 # Copyright (C) 2018-2020 L-WRT Team # Copyright (C) 2021-2025 xiaorouji # # This is free software, licensed under the GNU General Public License v3. include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=25.9.3 PKG_RELEASE:=1 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)Iptables_Transparent_Proxy \ CONFIG_PACKAGE$(PKG_NAME)Nftables_Transparent_Proxy \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Geoview \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Haproxy \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Hysteria \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_NaiveProxy \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Libev_Client \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Libev_Server \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Rust_Client \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Rust_Server \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_ShadowsocksR_Libev_Client \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_ShadowsocksR_Libev_Server \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Shadow_TLS \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Simple_Obfs \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_SingBox \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Trojan_Plus \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_tuic_client \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_V2ray_Geodata \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_V2ray_Plugin \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Xray \ CONFIG_PACKAGE$(PKG_NAME)INCLUDE_Xray_Plugin LUCI_TITLE:=LuCI support for PassWall LUCI_PKGARCH:=all LUCI_DEPENDS:=+coreutils +coreutils-base64 +coreutils-nohup +curl \ +chinadns-ng +dns2socks +dnsmasq-full +ip-full \ +libuci-lua +lua +luci-compat +luci-lib-jsonc \ +microsocks +resolveip +tcping define Package/$(PKG_NAME)/config menu "Configuration" depends on PACKAGE$(PKG_NAME) config PACKAGE_$(PKG_NAME)Iptables_Transparent_Proxy bool "Iptables Transparent Proxy" select PACKAGE_ipset select PACKAGE_ipt2socks select PACKAGE_iptables select PACKAGE_iptables-zz-legacy select PACKAGE_iptables-mod-conntrack-extra select PACKAGE_iptables-mod-iprange select PACKAGE_iptables-mod-socket select PACKAGE_iptables-mod-tproxy select PACKAGE_kmod-ipt-nat default y if ! PACKAGE_firewall4 config PACKAGE$(PKG_NAME)Nftables_Transparent_Proxy bool "Nftables Transparent Proxy" select PACKAGE_ipt2socks select PACKAGE_nftables select PACKAGE_kmod-nft-socket select PACKAGE_kmod-nft-tproxy select PACKAGE_kmod-nft-nat default y if PACKAGE_firewall4 config PACKAGE$(PKG_NAME)INCLUDE_Geoview bool "Include Geoview" select PACKAGE_geoview default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Haproxy bool "Include Haproxy" select PACKAGE_haproxy default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Hysteria bool "Include Hysteria" select PACKAGE_hysteria default n config PACKAGE$(PKG_NAME)INCLUDE_NaiveProxy bool "Include NaiveProxy" depends on !(arc||armeb||loongarch64||mips||mips64||powerpc||TARGET_gemini) select PACKAGE_naiveproxy default n config PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Libev_Client bool "Include Shadowsocks Libev Client" select PACKAGE_shadowsocks-libev-ss-local select PACKAGE_shadowsocks-libev-ss-redir default y config PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Libev_Server bool "Include Shadowsocks Libev Server" select PACKAGE_shadowsocks-libev-ss-server default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Rust_Client bool "Include Shadowsocks Rust Client" depends on !i386 select PACKAGE_shadowsocks-rust-sslocal default y if aarch64||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Shadowsocks_Rust_Server bool "Include Shadowsocks Rust Server" depends on !i386 select PACKAGE_shadowsocks-rust-ssserver default n config PACKAGE$(PKG_NAME)INCLUDE_ShadowsocksR_Libev_Client bool "Include ShadowsocksR Libev Client" select PACKAGE_shadowsocksr-libev-ssr-local select PACKAGE_shadowsocksr-libev-ssr-redir default y config PACKAGE$(PKG_NAME)INCLUDE_ShadowsocksR_Libev_Server bool "Include ShadowsocksR Libev Server" select PACKAGE_shadowsocksr-libev-ssr-server default n config PACKAGE$(PKG_NAME)INCLUDE_Shadow_TLS bool "Include Shadow-TLS" select PACKAGE_shadow-tls depends on aarch64||arm||x86_64 default n config PACKAGE$(PKG_NAME)INCLUDE_Simple_Obfs bool "Include Simple-Obfs (Shadowsocks Plugin)" select PACKAGE_simple-obfs-client default y config PACKAGE$(PKG_NAME)INCLUDE_SingBox bool "Include Sing-Box" select PACKAGE_sing-box default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Trojan_Plus bool "Include Trojan-Plus" select PACKAGE_trojan-plus default y config PACKAGE$(PKG_NAME)INCLUDE_tuic_client bool "Include tuic-client" depends on aarch64||arm||i386||x86_64 select PACKAGE_tuic-client default n config PACKAGE$(PKG_NAME)INCLUDE_V2ray_Geodata bool "Include V2ray_Geodata" select PACKAGE_v2ray-geoip select PACKAGE_v2ray-geosite default n config PACKAGE$(PKG_NAME)INCLUDE_V2ray_Plugin bool "Include V2ray-Plugin (Shadowsocks Plugin)" select PACKAGE_v2ray-plugin default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)INCLUDE_Xray bool "Include Xray" select PACKAGE_xray-core select PACKAGE_unzip default y if aarch64||arm||i386||x86_64 config PACKAGE$(PKG_NAME)_INCLUDE_Xray_Plugin bool "Include Xray-Plugin (Shadowsocks Plugin)" select PACKAGE_xray-plugin default n endmenu endef define Package/$(PKG_NAME)/conffiles /etc/config/passwall /etc/config/passwall_server /usr/share/passwall/rules/direct_host /usr/share/passwall/rules/direct_ip /usr/share/passwall/rules/proxy_host /usr/share/passwall/rules/proxy_ip /usr/share/passwall/rules/block_host /usr/share/passwall/rules/block_ip /usr/share/passwall/rules/lanlist_ipv4 /usr/share/passwall/rules/lanlist_ipv6 /usr/share/passwall/rules/domains_excluded endef define Package/$(PKG_NAME)/postrm #!/bin/sh rm -f $${IPKG_INSTROOT}/usr/share/passwall/rules/*.nft exit 0 endef include $(TOPDIR)/feeds/luci/luci.mk # call BuildPackage - OpenWrt buildroot signature
https://github.com/kenzok8/openwrt-packages/issues/289#issuecomment-1149458977
先弄清楚 哪边编译的版本更新,然后选择删除哪边的版本。 另外,感觉这个问题得去kz那边问。
放到第一行 sed -i '1i src-git small https://github.com/kenzok8/small-package.git' feeds.conf.default
放第一行要删除一些插件要不然有些太新了有时候会报错,库里有说明
可以参照我的,自己用哪个就更新 https://github.com/siren202101/kenzok8-screen
settings--actions--General--Read and write permissions