diff options
-rw-r--r-- | net-firewall/iptables/iptables-1.6.2-r2.ebuild (renamed from net-firewall/iptables/iptables-1.6.1-r2.ebuild) | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/net-firewall/iptables/iptables-1.6.1-r2.ebuild b/net-firewall/iptables/iptables-1.6.2-r2.ebuild index 26ccfd3..32151ad 100644 --- a/net-firewall/iptables/iptables-1.6.1-r2.ebuild +++ b/net-firewall/iptables/iptables-1.6.2-r2.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=6 # Force users doing their own patches to install their own tools AUTOTOOLS_AUTO_DEPEND=no -inherit eutils multilib systemd toolchain-funcs autotools flag-o-matic +inherit ltprune multilib systemd toolchain-funcs autotools flag-o-matic DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" HOMEPAGE="http://www.netfilter.org/projects/iptables/" @@ -44,7 +44,7 @@ src_prepare() { use imq && patch -p1 < "${FILESDIR}"/iptables-1.6.0-imq.diff # Only run autotools if user patched something - epatch_user && eautoreconf || elibtoolize + eapply_user && eautoreconf || elibtoolize } src_configure() { @@ -59,16 +59,18 @@ src_configure() { -e "/nfconntrack=[01]/s:=[01]:=$(usex conntrack 1 0):" \ configure || die - econf \ - --sbindir="${EPREFIX}/sbin" \ - --libexecdir="${EPREFIX}/$(get_libdir)" \ - --enable-devel \ - --enable-shared \ - $(use_enable nftables) \ - $(use_enable pcap bpf-compiler) \ - $(use_enable pcap nfsynproxy) \ - $(use_enable static-libs static) \ + local myeconfargs=( + --sbindir="${EPREFIX}/sbin" + --libexecdir="${EPREFIX}/$(get_libdir)" + --enable-devel + --enable-shared + $(use_enable nftables) + $(use_enable pcap bpf-compiler) + $(use_enable pcap nfsynproxy) + $(use_enable static-libs static) $(use_enable ipv6) + ) + econf "${myeconfargs[@]}" } src_compile() { |