summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-03-07 13:08:53 -0500
committerMike Gilbert <floppym@gentoo.org>2018-03-07 14:26:35 -0500
commit6fd85eaae9e4af4c6f4da0bcc14051616abadcd4 (patch)
tree5c6fcafc8793ca185d77cc198fa8a284ef83285f /net-firewall/iptables/iptables-1.6.1-r3.ebuild
parentnet-firewall/ebtables: drop /etc/ethertypes (diff)
downloadgentoo-6fd85eaae9e4af4c6f4da0bcc14051616abadcd4.tar.gz
gentoo-6fd85eaae9e4af4c6f4da0bcc14051616abadcd4.tar.bz2
gentoo-6fd85eaae9e4af4c6f4da0bcc14051616abadcd4.zip
net-firewall/iptables: drop /etc/ethertypes
Bug: https://bugs.gentoo.org/647458 Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99
Diffstat (limited to 'net-firewall/iptables/iptables-1.6.1-r3.ebuild')
-rw-r--r--net-firewall/iptables/iptables-1.6.1-r3.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/net-firewall/iptables/iptables-1.6.1-r3.ebuild b/net-firewall/iptables/iptables-1.6.1-r3.ebuild
index 67f06ce7ac09..f76df06504ed 100644
--- a/net-firewall/iptables/iptables-1.6.1-r3.ebuild
+++ b/net-firewall/iptables/iptables-1.6.1-r3.ebuild
@@ -19,7 +19,7 @@ SLOT="0/12"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86"
IUSE="conntrack ipv6 netlink nftables pcap static-libs"
-RDEPEND="
+COMMON_DEPEND="
conntrack? ( >=net-libs/libnetfilter_conntrack-1.0.6 )
netlink? ( net-libs/libnfnetlink )
nftables? (
@@ -28,7 +28,7 @@ RDEPEND="
)
pcap? ( net-libs/libpcap )
"
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
virtual/os-headers
virtual/pkgconfig
nftables? (
@@ -36,6 +36,12 @@ DEPEND="${RDEPEND}
virtual/yacc
)
"
+RDEPEND="${COMMON_DEPEND}
+ nftables? (
+ !<net-firewall/ebtables-2.0.10.4-r2
+ !net-misc/ethertypes
+ )
+"
src_prepare() {
# use the saner headers from the kernel