Skip to content

Commit

Permalink
net-firewall/firewalld: CONFIG_NFT_OBJREF removed for kernels > 6.1
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/926685
Signed-off-by: Cristian Othón Martínez Vera <[email protected]>
Closes: gentoo#35774
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
cfuga authored and thesamesam committed Mar 21, 2024
1 parent 2a79799 commit 1149e8e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
8 changes: 6 additions & 2 deletions net-firewall/firewalld/firewalld-2.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
Expand Down Expand Up @@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi

# bug #926685
if kernel_is -le 6 1 ; then
CONFIG_CHECK+=" ~NFT_OBJREF"
fi

linux-info_pkg_setup
}

Expand Down
6 changes: 5 additions & 1 deletion net-firewall/firewalld/firewalld-2.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
Expand Down Expand Up @@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi

# bug #926685
if kernel_is -le 6 1 ; then
CONFIG_CHECK+=" ~NFT_OBJREF"
fi

linux-info_pkg_setup
}

Expand Down
6 changes: 5 additions & 1 deletion net-firewall/firewalld/firewalld-2.1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
Expand Down Expand Up @@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi

# bug #926685
if kernel_is -le 6 1 ; then
CONFIG_CHECK+=" ~NFT_OBJREF"
fi

linux-info_pkg_setup
}

Expand Down
6 changes: 5 additions & 1 deletion net-firewall/firewalld/firewalld-2.1.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
Expand Down Expand Up @@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi

# bug #926685
if kernel_is -le 6 1 ; then
CONFIG_CHECK+=" ~NFT_OBJREF"
fi

linux-info_pkg_setup
}

Expand Down
6 changes: 5 additions & 1 deletion net-firewall/firewalld/firewalld-2.1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pkg_setup() {
~NFT_LOG
~NFT_MASQ
~NFT_NAT
~NFT_OBJREF
~NFT_QUEUE
~NFT_QUOTA
~NFT_REDIR
Expand Down Expand Up @@ -153,6 +152,11 @@ pkg_setup() {
CONFIG_CHECK+=" ~NFT_COUNTER"
fi

# bug #926685
if kernel_is -le 6 1 ; then
CONFIG_CHECK+=" ~NFT_OBJREF"
fi

linux-info_pkg_setup
}

Expand Down

0 comments on commit 1149e8e

Please sign in to comment.