commit: 06c1f41cceda5bdbbd54c8718b4525f3747cad69 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri May 10 08:28:02 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri May 10 08:28:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c1f41c
net-firewall/ipkungfu: EAPI=8, fix install path Closes: https://bugs.gentoo.org/821607 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../{ipkungfu-0.6.1-r1.ebuild => ipkungfu-0.6.1-r2.ebuild} | 14 +++++++------- 1 file 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 similarity index 86% rename from net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild rename to 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 }
