public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/ipkungfu/
@ 2016-04-28 23:44 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-04-28 23:44 UTC (permalink / raw
  To: gentoo-commits

commit:     abf05588ca18ca9bda553657cd84a03e8e2bd84c
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 23:38:00 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 23:38:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf05588

net-firewall/ipkungfu: remove old ebuilds

Package-Manager: portage-2.2.26

 net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild | 58 --------------------------
 net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild    | 48 ---------------------
 2 files changed, 106 deletions(-)

diff --git a/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild
deleted file mode 100644
index 3b08454..0000000
--- a/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-DESCRIPTION="A nice iptables firewall script"
-HOMEPAGE="http://www.linuxkungfu.org/"
-SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
-IUSE=""
-
-DEPEND="net-firewall/iptables"
-RDEPEND="${DEPEND}
-	virtual/logger"
-
-src_unpack() {
-	unpack ${A}
-
-	# Patch ipkungfu to load the right module for ip_nat_ftp
-	# Fixes bug #42443.  Thanks to George L. Emigh <george@georgelemigh.com>
-	cd "${WORKDIR}"/${P} && epatch "${FILESDIR}"/nat_ftp.patch
-
-	# man page comes bzip2'd, so bunzip2 it.
-	cd "${WORKDIR}"/${P}/files
-	bunzip2 ipkungfu.8.bz2
-}
-
-src_install() {
-
-	# Package comes with a hard coded shell script, so here we
-	# replicate what they did, but so it's compatible with portage.
-
-	# Install shell script executable
-	dosbin ipkungfu
-
-	# Install Gentoo init script
-	newinitd "${FILESDIR}"/ipkungfu.init ipkungfu
-
-	# Install config files into /etc
-	dodir /etc/ipkungfu
-	insinto /etc/ipkungfu
-	doins files/*.conf
-
-	# Install man page
-	doman files/ipkungfu.8
-
-	# Install documentation
-	dodoc COPYRIGHT Changelog FAQ INSTALL README gpl.txt
-}
-
-pkg_postinst() {
-	einfo "Be sure to edit the config files"
-	einfo "in /etc/ipkungfu before running"
-}

diff --git a/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild
deleted file mode 100644
index 360fec9..0000000
--- a/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-DESCRIPTION="A nice iptables firewall script"
-HOMEPAGE="http://www.linuxkungfu.org/"
-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_compile() {
-	epatch "${FILESDIR}/ipkungfu_noiseless.patch" || die "Could not apply ipkungfu_noiseless.patch patch"
-	econf || die "Could not run econf"
-	emake || die "Couldn't run make"
-}
-
-src_install() {
-	make DESTDIR="${D}" install || die
-
-	# Install configuration files
-	make DESTDIR="${D}" install-config || die
-
-	# Install Gentoo init script
-	newinitd "${FILESDIR}"/ipkungfu.init ipkungfu
-}
-
-pkg_postinst() {
-	# Remove the cache dir so ipkungfu won't fail when running for
-	# the first time, case 0.6.0 was installed before.
-	rm -rf /etc/ipkungfu/cache
-
-	einfo "Be sure to, before running ipkungfu, edit the config files in:"
-	einfo "/etc/ipkungfu/"
-	echo
-	einfo "Also, be sure to run ipkungfu prior to rebooting,"
-	einfo "especially if you you're updating from <0.6.0 to >=0.6.0."
-	einfo "There are some significant configuration changes on this"
-	einfo "release covered by the ipkungfu script."
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-firewall/ipkungfu/
@ 2019-02-18 21:23 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2019-02-18 21:23 UTC (permalink / raw
  To: gentoo-commits

commit:     421a0e83542d55fb64e3a8056bbb810cff643d1b
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 17 21:30:23 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 21:23:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421a0e83

net-firewall/ipkungfu: amd64 stable, bug #676712

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild
index c23eba995ec..ded3ce2360a 100644
--- a/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild
+++ b/net-firewall/ipkungfu/ipkungfu-0.6.1-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ~ppc ~sparc x86"
 IUSE=""
 
 DEPEND="net-firewall/iptables"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-firewall/ipkungfu/
@ 2024-05-10  8:30 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2024-05-10  8:30 UTC (permalink / raw
  To: gentoo-commits

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
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-10  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-18 21:23 [gentoo-commits] repo/gentoo:master commit in: net-firewall/ipkungfu/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2024-05-10  8:30 Arthur Zamarin
2016-04-28 23:44 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox