Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/ipkungfu/files/, net-firewall/ipkungfu/
Date: Sat, 16 Feb 2019 18:28:00
Message-Id: 1550341667.bec7f7cfc97a7daa51638f3c7cf286c5ca750291.zlogene@gentoo
1 commit: bec7f7cfc97a7daa51638f3c7cf286c5ca750291
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 16 18:27:29 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 16 18:27:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec7f7cf
7
8 net-firewall/ipkungfu: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 net-firewall/ipkungfu/Manifest | 1 -
14 net-firewall/ipkungfu/files/nat_ftp.patch | 11 -----
15 net-firewall/ipkungfu/ipkungfu-0.5.2-r2.ebuild | 59 --------------------------
16 3 files changed, 71 deletions(-)
17
18 diff --git a/net-firewall/ipkungfu/Manifest b/net-firewall/ipkungfu/Manifest
19 index 1c689fd6b12..6fc13f1229f 100644
20 --- a/net-firewall/ipkungfu/Manifest
21 +++ b/net-firewall/ipkungfu/Manifest
22 @@ -1,2 +1 @@
23 -DIST ipkungfu-0.5.2.tgz 35985 BLAKE2B de3bda12956ad97068f1ba00c98ca6d2f3fee5a3fb3f7ee914e5628e6f695fcb02c93141826b703ff46060d18bc1d42d865c3f54bda2a6629e18b28fd6cdbaf7 SHA512 9aaef341b85a0788d65dd6d341a94319cb8083a57f06645c5ad938dabccd53abbb590e8eddd3a9172f9b226780cc9e6e1f906da668f6a80c3a6fb0a9be081046
24 DIST ipkungfu-0.6.1.tar.bz2 104516 BLAKE2B 94ff9942deb072a7dc372c89e4238fcfdbd29d69e3afe26b05b9d70cfd0058da731cfe8910b89a04ee4d765f24277b670fc8b932373b66b512b5237cc68582f1 SHA512 bc1df9894d36d40f5394cbaef6f7cc9f95a8eaaf45a03d1c3a809bc5a7a5ae685c8cf6a27363ab83f6f817a0d44277b28de8bd40230d29c5700dda1d52e231b7
25
26 diff --git a/net-firewall/ipkungfu/files/nat_ftp.patch b/net-firewall/ipkungfu/files/nat_ftp.patch
27 deleted file mode 100644
28 index db919c5565e..00000000000
29 --- a/net-firewall/ipkungfu/files/nat_ftp.patch
30 +++ /dev/null
31 @@ -1,11 +0,0 @@
32 ---- ipkungfu 2003-10-03 13:05:59.000000000 -0400
33 -+++ ipkungfu 2004-02-09 16:34:37.000000000 -0500
34 -@@ -138,7 +138,7 @@
35 - if [ $INIT != 1 ] ; then
36 - echo "Loading FTP NAT module..."
37 - fi
38 -- $MODPROBE ip_nat_irc
39 -+ $MODPROBE ip_nat_ftp
40 - fi
41 - fi
42 - }
43
44 diff --git a/net-firewall/ipkungfu/ipkungfu-0.5.2-r2.ebuild b/net-firewall/ipkungfu/ipkungfu-0.5.2-r2.ebuild
45 deleted file mode 100644
46 index 1febf0b58fe..00000000000
47 --- a/net-firewall/ipkungfu/ipkungfu-0.5.2-r2.ebuild
48 +++ /dev/null
49 @@ -1,59 +0,0 @@
50 -# Copyright 1999-2018 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=0
54 -
55 -inherit eutils
56 -
57 -DESCRIPTION="A nice iptables firewall script"
58 -HOMEPAGE="http://www.linuxkungfu.org/"
59 -SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tgz"
60 -
61 -LICENSE="GPL-2"
62 -SLOT="0"
63 -KEYWORDS="~amd64 ~ppc ~sparc x86"
64 -IUSE=""
65 -
66 -DEPEND="net-firewall/iptables"
67 -RDEPEND="${DEPEND}
68 - virtual/logger"
69 -
70 -src_unpack() {
71 - unpack ${A}
72 -
73 - # Patch ipkungfu to load the right module for ip_nat_ftp
74 - # Fixes bug #42443. Thanks to George L. Emigh <george@××××××××××××.com>
75 - cd "${WORKDIR}"/${P} && epatch "${FILESDIR}"/nat_ftp.patch
76 -
77 - # man page comes bzip2'd, so bunzip2 it.
78 - cd "${WORKDIR}"/${P}/files
79 - bunzip2 ipkungfu.8.bz2
80 -}
81 -
82 -src_install() {
83 -
84 - # Package comes with a hard coded shell script, so here we
85 - # replicate what they did, but so it's compatible with portage.
86 -
87 - # Install shell script executable
88 - dosbin ipkungfu
89 -
90 - # Install Gentoo init script
91 - newinitd "${FILESDIR}"/ipkungfu.init ipkungfu
92 -
93 - # Install config files into /etc
94 - dodir /etc/ipkungfu
95 - insinto /etc/ipkungfu
96 - doins files/*.conf
97 -
98 - # Install man page
99 - doman files/ipkungfu.8
100 -
101 - # Install documentation
102 - dodoc COPYRIGHT Changelog FAQ INSTALL README gpl.txt
103 -}
104 -
105 -pkg_postinst() {
106 - einfo "Be sure to edit the config files"
107 - einfo "in /etc/ipkungfu before running"
108 -}