mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
xtables-addons: set ipp2p depends on kmod-lib-textsearch
For version 3.27 CONFIG_TEXTSEARCH_BM checks is enabled, so ipp2p is set depends on kmod-lib-textsearch. 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 <namiltd@yahoo.com>
This commit is contained in:
committed by
Robert Marko
parent
937e2a5b80
commit
51b65ec784
@@ -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))
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
From: Mieczyslaw Nalewaj <namiltd@yahoo.com>
|
||||
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 <namiltd@yahoo.com>
|
||||
|
||||
--- 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
|
||||
Reference in New Issue
Block a user