summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Othón Martínez Vera <cfuga@cfuga.mx>2024-12-06 10:35:22 -0600
committerJames Le Cuirot <chewi@gentoo.org>2024-12-06 22:41:46 +0000
commit6f3f5b08e760089a61e24fcea92753e0c32e7fb8 (patch)
treea2784c07e5f8969082f0084a3c62a944fbd6d52c /net-firewall
parentdev-util/gitlab-runner: drop 17.5.1 (diff)
downloadgentoo-6f3f5b08e760089a61e24fcea92753e0c32e7fb8.tar.gz
gentoo-6f3f5b08e760089a61e24fcea92753e0c32e7fb8.tar.bz2
gentoo-6f3f5b08e760089a61e24fcea92753e0c32e7fb8.zip
net-firewall/firehol: NF_CONNTRACK_IPV4 removed for kernels > 4.19
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Closes: https://github.com/gentoo/gentoo/pull/39606 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/firehol/firehol-3.1.7-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-firewall/firehol/firehol-3.1.7-r2.ebuild b/net-firewall/firehol/firehol-3.1.7-r2.ebuild
index b1666947f580..701ca0742f2f 100644
--- a/net-firewall/firehol/firehol-3.1.7-r2.ebuild
+++ b/net-firewall/firehol/firehol-3.1.7-r2.ebuild
@@ -46,12 +46,16 @@ pkg_setup() {
~NETFILTER_XT_MATCH_OWNER \
~NETFILTER_XT_MATCH_STATE \
~NF_CONNTRACK \
- ~NF_CONNTRACK_IPV4 \
~NF_CONNTRACK_MARK \
~NF_NAT \
~NF_NAT_FTP \
~NF_NAT_IRC \
"
+
+ if kernel_is -lt 4 19; then
+ CONFIG_CHECK+=" ~NF_CONNTRACK_IPV4"
+ fi
+
linux-info_pkg_setup
}