[net-firewall/iptables] sync with tree

This commit is contained in:
Robert Förster 2020-02-14 04:30:12 +01:00
parent f2dfbe188b
commit 8b5cab806a

View File

@ -24,7 +24,7 @@ COMMON_DEPEND="
netlink? ( net-libs/libnfnetlink )
nftables? (
>=net-libs/libmnl-1.0:0=
>=net-libs/libnftnl-1.1.3:0=
>=net-libs/libnftnl-1.1.5:0=
)
pcap? ( net-libs/libpcap )
"
@ -47,6 +47,7 @@ src_prepare() {
# use the saner headers from the kernel
rm include/linux/{kernel,types}.h || die
eapply_user
eautoreconf
}
@ -77,8 +78,6 @@ src_configure() {
}
src_compile() {
# Deal with parallel build errors.
use nftables && emake -C iptables xtables-config-parser.h
emake V=1
}
@ -124,7 +123,7 @@ src_install() {
fi
# Move important libs to /lib #332175
gen_usr_ldscript -a ip{4,6}tc iptc xtables
gen_usr_ldscript -a ip{4,6}tc xtables
find "${ED}" -type f -name "*.la" -delete || die
}