commit: c5897694918c3c22cc38d4c00e7ed736021a78b9
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 17:07:26 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 17:07:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5897694
net-firewall/xtables-addons: Add USE-based check for CONFIG_TEXTSEARCH_BM
This is needed for xt_ipp2p. It doesn't build otherwise.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
net-firewall/xtables-addons/xtables-addons-3.27.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/net-firewall/xtables-addons/xtables-addons-3.27.ebuild
b/net-firewall/xtables-addons/xtables-addons-3.27.ebuild
index 329d4da3704b..a84adda04e09 100644
--- a/net-firewall/xtables-addons/xtables-addons-3.27.ebuild
+++ b/net-firewall/xtables-addons/xtables-addons-3.27.ebuild
@@ -43,6 +43,11 @@ BDEPEND="virtual/pkgconfig"
pkg_setup() {
local CONFIG_CHECK="NF_CONNTRACK NF_CONNTRACK_MARK"
+ if use xtables_addons_ipp2p; then
+ CONFIG_CHECK+=" TEXTSEARCH_BM"
+ local ERROR_TEXTSEARCH_BM="CONFIG_TEXTSEARCH_BM: is not set but
is needed to use xt_ipp2p"
+ fi
+
if use xtables_addons_pknock; then
CONFIG_CHECK+=" ~CONNECTOR"
local ERROR_CONNECTOR="CONFIG_CONNECTOR: is not set but is
needed to receive userspace