diff options
author | Jason Wever <weeve@gentoo.org> | 2004-02-23 01:00:44 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2004-02-23 01:00:44 +0000 |
commit | 2d8f12a541dc570f42faa8e4e117e70c26a579b0 (patch) | |
tree | f6131c648e0224e1d3615d4f486fc3b4c789b56c /net-firewall | |
parent | *foomatic-3.0.0.20031018 (22 Feb 2004) (diff) | |
download | gentoo-2-2d8f12a541dc570f42faa8e4e117e70c26a579b0.tar.gz gentoo-2-2d8f12a541dc570f42faa8e4e117e70c26a579b0.tar.bz2 gentoo-2-2d8f12a541dc570f42faa8e4e117e70c26a579b0.zip |
Revision bump, fixes bug #42443.
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/ipkungfu/ChangeLog | 9 | ||||
-rw-r--r-- | net-firewall/ipkungfu/Manifest | 7 | ||||
-rw-r--r-- | net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2-r1 | 1 | ||||
-rw-r--r-- | net-firewall/ipkungfu/files/nat_ftp.patch | 11 | ||||
-rw-r--r-- | net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild | 61 |
5 files changed, 85 insertions, 4 deletions
diff --git a/net-firewall/ipkungfu/ChangeLog b/net-firewall/ipkungfu/ChangeLog index 733298eda3c6..9db86d0fe359 100644 --- a/net-firewall/ipkungfu/ChangeLog +++ b/net-firewall/ipkungfu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-firewall/ipkungfu -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipkungfu/ChangeLog,v 1.2 2003/10/04 00:13:02 weeve Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipkungfu/ChangeLog,v 1.3 2004/02/23 01:00:44 weeve Exp $ + +*ipkungfu-0.5.2-r1 (22 Feb 2004) + + 22 Feb 2004; Jason Wever <weeve@gentoo.org> ipkungfu-0.5.2-r1.ebuild: + Revision bump, fixes bug #42443. *ipkungfu-0.5.2 (03 Oct 2003) diff --git a/net-firewall/ipkungfu/Manifest b/net-firewall/ipkungfu/Manifest index c0015eeb9da3..3ffe5c60781c 100644 --- a/net-firewall/ipkungfu/Manifest +++ b/net-firewall/ipkungfu/Manifest @@ -1,7 +1,10 @@ MD5 bb1da520412eb181f62a013ed325c26b ChangeLog 523 MD5 0be12ad68d7dca4335e47f57188a494b ipkungfu-0.5.0.ebuild 1244 -MD5 090c8bf1c488922d2608e28ebdc2b6d1 metadata.xml 330 MD5 f548d0e3c4c7ec830b13580ec7ecb2c0 ipkungfu-0.5.2.ebuild 1241 +MD5 090c8bf1c488922d2608e28ebdc2b6d1 metadata.xml 330 +MD5 88709b082040e5a47fb206e0ba082218 ipkungfu-0.5.2-r1.ebuild 1430 +MD5 10d5fd73c86de3d53c242d70f00e1b98 files/nat_ftp.patch 262 MD5 bf86133a04973ce6906c064a84144ff6 files/digest-ipkungfu-0.5.0 62 -MD5 ca05ec0ec7018a07b5c7a028e40e7f23 files/ipkungfu.init 500 MD5 74da2b4eff58484c9beaf346d9bdd6ba files/digest-ipkungfu-0.5.2 62 +MD5 ca05ec0ec7018a07b5c7a028e40e7f23 files/ipkungfu.init 500 +MD5 74da2b4eff58484c9beaf346d9bdd6ba files/digest-ipkungfu-0.5.2-r1 62 diff --git a/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2-r1 b/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2-r1 new file mode 100644 index 000000000000..9b132d1d46c6 --- /dev/null +++ b/net-firewall/ipkungfu/files/digest-ipkungfu-0.5.2-r1 @@ -0,0 +1 @@ +MD5 080566f8c494b389cdb2813268d30819 ipkungfu-0.5.2.tgz 35985 diff --git a/net-firewall/ipkungfu/files/nat_ftp.patch b/net-firewall/ipkungfu/files/nat_ftp.patch new file mode 100644 index 000000000000..db919c5565e1 --- /dev/null +++ b/net-firewall/ipkungfu/files/nat_ftp.patch @@ -0,0 +1,11 @@ +--- ipkungfu 2003-10-03 13:05:59.000000000 -0400 ++++ ipkungfu 2004-02-09 16:34:37.000000000 -0500 +@@ -138,7 +138,7 @@ + if [ $INIT != 1 ] ; then + echo "Loading FTP NAT module..." + fi +- $MODPROBE ip_nat_irc ++ $MODPROBE ip_nat_ftp + fi + fi + } diff --git a/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild new file mode 100644 index 000000000000..712244b08690 --- /dev/null +++ b/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2004 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-r1.ebuild,v 1.1 2004/02/23 01:00:44 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} + + # 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 + 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" +} + |