summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-05-10 11:28:02 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-05-10 11:28:20 +0300
commit06c1f41cceda5bdbbd54c8718b4525f3747cad69 (patch)
treeaebf720484afb984163e78adffe581ed73ab48e0 /net-firewall
parentnet-analyzer/munin-plugins-zfs: EAPI 6 -> 8 (diff)
downloadgentoo-06c1f41cceda5bdbbd54c8718b4525f3747cad69.tar.gz
gentoo-06c1f41cceda5bdbbd54c8718b4525f3747cad69.tar.bz2
gentoo-06c1f41cceda5bdbbd54c8718b4525f3747cad69.zip
net-firewall/ipkungfu: EAPI=8, fix install path
Closes: https://bugs.gentoo.org/821607 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/ipkungfu/ipkungfu-0.6.1-r2.ebuild (renamed from net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild)14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.6.1-r2.ebuild
index ded3ce2360a2..f117debef619 100644
--- a/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild
+++ b/net-firewall/ipkungfu/ipkungfu-0.6.1-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="A nice iptables firewall script"
HOMEPAGE="http://www.linuxkungfu.org/"
@@ -10,16 +10,14 @@ SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
DEPEND="net-firewall/iptables"
RDEPEND="${DEPEND}
virtual/logger"
-src_prepare() {
- eapply "${FILESDIR}/ipkungfu_noiseless.patch"
- eapply_user
-}
+PATCHES=(
+ "${FILESDIR}/${PN}_noiseless.patch"
+)
src_install() {
default
@@ -27,6 +25,8 @@ src_install() {
# Install configuration files
emake DESTDIR="${D}" install-config
+ mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF} || die
+
# Install Gentoo init script
newinitd "${FILESDIR}"/ipkungfu.init ipkungfu
}