commit:     044483145e10ca245b8644d664eeebd95b2ca5d1
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 01:34:41 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 02:17:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04448314

net-firewall/ipset: check for NETFILTER_NETLINK support in kernel

Closes: https://bugs.gentoo.org/704126
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-firewall/ipset/ipset-7.10.ebuild | 2 ++
 net-firewall/ipset/ipset-7.11.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-firewall/ipset/ipset-7.10.ebuild 
b/net-firewall/ipset/ipset-7.10.ebuild
index fc8f87ec260..e5cf531894f 100644
--- a/net-firewall/ipset/ipset-7.10.ebuild
+++ b/net-firewall/ipset/ipset-7.10.ebuild
@@ -38,6 +38,8 @@ pkg_setup() {
        get_version
        CONFIG_CHECK="NETFILTER"
        ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
+       CONFIG_CHECK+=" NETFILTER_NETLINK"
+       ERROR_NETFILTER_NETLINK="ipset requires NETFILTER_NETLINK support in 
your kernel."
        # It does still build without NET_NS, but it may be needed in future.
        #CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
        #ERROR_NET_NS="ipset requires NET_NS (network namespace) support in 
your kernel."

diff --git a/net-firewall/ipset/ipset-7.11.ebuild 
b/net-firewall/ipset/ipset-7.11.ebuild
index fc8f87ec260..e5cf531894f 100644
--- a/net-firewall/ipset/ipset-7.11.ebuild
+++ b/net-firewall/ipset/ipset-7.11.ebuild
@@ -38,6 +38,8 @@ pkg_setup() {
        get_version
        CONFIG_CHECK="NETFILTER"
        ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
+       CONFIG_CHECK+=" NETFILTER_NETLINK"
+       ERROR_NETFILTER_NETLINK="ipset requires NETFILTER_NETLINK support in 
your kernel."
        # It does still build without NET_NS, but it may be needed in future.
        #CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
        #ERROR_NET_NS="ipset requires NET_NS (network namespace) support in 
your kernel."

Reply via email to