summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-30 09:16:26 +0000
committerSam James <sam@gentoo.org>2024-01-30 09:18:00 +0000
commit19afa78e9acb241201c7beb58587c1b5fa4919b3 (patch)
tree4cc5fcc1c2ed19b3dcbab65336a1e27422d48953 /net-firewall
parentdev-java/bcmail: depend on jakarta-activation:1 (diff)
downloadgentoo-19afa78e9acb241201c7beb58587c1b5fa4919b3.tar.gz
gentoo-19afa78e9acb241201c7beb58587c1b5fa4919b3.tar.bz2
gentoo-19afa78e9acb241201c7beb58587c1b5fa4919b3.zip
net-firewall/iptables: tests need nftables
Bug: https://bugs.gentoo.org/890628 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/iptables/iptables-1.8.10.ebuild5
-rw-r--r--net-firewall/iptables/iptables-1.8.9-r1.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-firewall/iptables/iptables-1.8.10.ebuild b/net-firewall/iptables/iptables-1.8.10.ebuild
index 1a6b39f5f98a..2413f6f65e43 100644
--- a/net-firewall/iptables/iptables-1.8.10.ebuild
+++ b/net-firewall/iptables/iptables-1.8.10.ebuild
@@ -14,7 +14,10 @@ LICENSE="GPL-2"
# the last time.
SLOT="0/1.8.3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="conntrack netlink nftables pcap static-libs"
+IUSE="conntrack netlink nftables pcap static-libs test"
+RESTRICT="!test? ( test )"
+# TODO: skip tests needing nftables if no xtables-nft-multi (bug #890628)
+REQUIRED_USE="test? ( nftables )"
COMMON_DEPEND="
conntrack? ( >=net-libs/libnetfilter_conntrack-1.0.6 )
diff --git a/net-firewall/iptables/iptables-1.8.9-r1.ebuild b/net-firewall/iptables/iptables-1.8.9-r1.ebuild
index a69af11c227a..0631c0ae7762 100644
--- a/net-firewall/iptables/iptables-1.8.9-r1.ebuild
+++ b/net-firewall/iptables/iptables-1.8.9-r1.ebuild
@@ -14,7 +14,10 @@ LICENSE="GPL-2"
# the last time.
SLOT="0/1.8.3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="conntrack netlink nftables pcap static-libs"
+IUSE="conntrack netlink nftables pcap static-libs test"
+RESTRICT="!test? ( test )"
+# TODO: skip tests needing nftables if no xtables-nft-multi (bug #890628)
+REQUIRED_USE="test? ( nftables )"
COMMON_DEPEND="
conntrack? ( >=net-libs/libnetfilter_conntrack-1.0.6 )