diff --git a/net/xtables-addons/Makefile b/net/xtables-addons/Makefile index d699c656e1..db0302b734 100644 --- a/net/xtables-addons/Makefile +++ b/net/xtables-addons/Makefile @@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=xtables-addons PKG_VERSION:=3.27 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_HASH:=e47ea8febe73c12ecab09d2c93578c5dc72d76f17fdf673397758f519cce6828 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz @@ -221,7 +221,7 @@ $(eval $(call BuildTemplate,fuzzy,fuzzy,xt_fuzzy,xt_fuzzy,)) $(eval $(call BuildTemplate,geoip,geoip,xt_geoip,xt_geoip,)) $(eval $(call BuildTemplate,iface,iface,xt_iface,xt_iface,)) $(eval $(call BuildTemplate,ipmark,IPMARK,xt_IPMARK,xt_IPMARK,+kmod-ipt-compat-xtables)) -$(eval $(call BuildTemplate,ipp2p,IPP2P,xt_ipp2p,xt_ipp2p,+kmod-ipt-compat-xtables)) +$(eval $(call BuildTemplate,ipp2p,IPP2P,xt_ipp2p,xt_ipp2p,+kmod-ipt-compat-xtables +kmod-lib-textsearch)) $(eval $(call BuildTemplate,ipv4options,ipv4options,xt_ipv4options,xt_ipv4options,)) $(eval $(call BuildTemplate,length2,length2,xt_length2,xt_length2,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,logmark,LOGMARK,xt_LOGMARK,xt_LOGMARK,+kmod-ipt-compat-xtables)) diff --git a/net/xtables-addons/patches/400-deactivate-no-textsearch-bm-error.patch b/net/xtables-addons/patches/400-deactivate-no-textsearch-bm-error.patch new file mode 100644 index 0000000000..ccf15c2a53 --- /dev/null +++ b/net/xtables-addons/patches/400-deactivate-no-textsearch-bm-error.patch @@ -0,0 +1,23 @@ +From: Mieczyslaw Nalewaj +Date: Thu, 15 May 2025 14:59:18 +0200 +Subject: xtables-addons: deactivate 'no TEXTSEARCH_BM' error + +If ipp2p (and kmod-lib-textsearch) is disabled the error +"error CONFIG_TEXTSEARCH=y/m is required.." is displayed. +This is because all modules are always compiled. +So to make compilation possible with ipp2p disabled, the message +was disabled. + +Signed-off-by: Mieczyslaw Nalewaj + +--- a/extensions/xt_ipp2p.c ++++ b/extensions/xt_ipp2p.c +@@ -14,7 +14,7 @@ + #include "xt_ipp2p.h" + #include "compat_xtables.h" + #if !defined(CONFIG_TEXTSEARCH_BM) && !defined(CONFIG_TEXTSEARCH_BM_MODULE) +-# error CONFIG_TEXTSEARCH_BM=y/m is required for ipp2p. Either enable textsearch in your kernel ".config" file, or disable ipp2p in the "mconfig" file in Xtables-addons. ++//# error CONFIG_TEXTSEARCH_BM=y/m is required for ipp2p. Either enable textsearch in your kernel ".config" file, or disable ipp2p in the "mconfig" file in Xtables-addons. + #endif + + //#define IPP2P_DEBUG_ARES