summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2003-10-04 00:13:06 +0000
committerJason Wever <weeve@gentoo.org>2003-10-04 00:13:06 +0000
commit78debc749ccd086fa9d4ce0a8a89097acfdcc751 (patch)
tree2cfcba66daa85dc7542f6d546c4d4c0df6e56ded /net-firewall/ipkungfu
parentVersion bump to 0.5.2, fixes bug #30245. (diff)
downloadhistorical-78debc749ccd086fa9d4ce0a8a89097acfdcc751.tar.gz
historical-78debc749ccd086fa9d4ce0a8a89097acfdcc751.tar.bz2
historical-78debc749ccd086fa9d4ce0a8a89097acfdcc751.zip
Version bump to 0.5.2, fixes bug #30245.
Diffstat (limited to 'net-firewall/ipkungfu')
-rw-r--r--net-firewall/ipkungfu/Manifest4
-rw-r--r--net-firewall/ipkungfu/files/digest-ipkungfu-0.5.21
-rw-r--r--net-firewall/ipkungfu/ipkungfu-0.5.2.ebuild57
3 files changed, 60 insertions, 2 deletions
diff --git a/net-firewall/ipkungfu/Manifest b/net-firewall/ipkungfu/Manifest
index 64deab9044ab..c0015eeb9da3 100644
--- a/net-firewall/ipkungfu/Manifest
+++ b/net-firewall/ipkungfu/Manifest
@@ -1,7 +1,7 @@
-MD5 5a8aa9b45e66381925ea8f753a96a48b ChangeLog 379
+MD5 bb1da520412eb181f62a013ed325c26b ChangeLog 523
MD5 0be12ad68d7dca4335e47f57188a494b ipkungfu-0.5.0.ebuild 1244
MD5 090c8bf1c488922d2608e28ebdc2b6d1 metadata.xml 330
-MD5 9fea561b5d396918326295b38c97bb03 ipkungfu-0.5.2.ebuild 1244
+MD5 f548d0e3c4c7ec830b13580ec7ecb2c0 ipkungfu-0.5.2.ebuild 1241
MD5 bf86133a04973ce6906c064a84144ff6 files/digest-ipkungfu-0.5.0 62
MD5 ca05ec0ec7018a07b5c7a028e40e7f23 files/ipkungfu.init 500
MD5 74da2b4eff58484c9beaf346d9bdd6ba files/digest-ipkungfu-0.5.2 62
diff --git a/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2 b/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2
new file mode 100644
index 000000000000..9b132d1d46c6
--- /dev/null
+++ b/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2
@@ -0,0 +1 @@
+MD5 080566f8c494b389cdb2813268d30819 ipkungfu-0.5.2.tgz 35985
diff --git a/net-firewall/ipkungfu/ipkungfu-0.5.2.ebuild b/net-firewall/ipkungfu/ipkungfu-0.5.2.ebuild
new file mode 100644
index 000000000000..c4808cc7f24e
--- /dev/null
+++ b/net-firewall/ipkungfu/ipkungfu-0.5.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipkungfu/ipkungfu-0.5.2.ebuild,v 1.1 2003/10/04 00:13:02 weeve Exp $
+
+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="~x86 ~sparc"
+IUSE=""
+
+DEPEND="virtual/glibc
+ net-firewall/iptables"
+
+
+src_unpack() {
+ unpack ${A}
+
+ # 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
+ exeinto /etc/init.d
+ newexe ${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"
+}
+