[net-firewall/iptables] sync

This commit is contained in:
2023-05-02 17:50:48 +02:00
parent 4961859465
commit 871bc19cf0
2 changed files with 8 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,7 +34,7 @@ BDEPEND="
virtual/pkgconfig
nftables? (
sys-devel/flex
virtual/yacc
app-alternatives/yacc
)
"
RDEPEND="
@@ -46,8 +46,7 @@ RDEPEND="
IDEPEND=">=app-eselect/eselect-iptables-20220320"
PATCHES=(
"${FILESDIR}/iptables-1.8.4-no-symlinks.patch"
"${FILESDIR}/iptables-1.8.2-link.patch"
"${FILESDIR}"/${PN}-1.8.4-no-symlinks.patch
)
src_prepare() {
@@ -93,7 +92,11 @@ src_compile() {
src_install() {
default
dodoc INCOMPATIBILITIES iptables/iptables.xslt
# Managed by eselect-iptables
# https://bugs.gentoo.org/881295
rm "${ED}/usr/bin/iptables-xml" || die
dodoc iptables/iptables.xslt
# All the iptables binaries are in /sbin, so might as well
# put these small files in with them