1 |
commit: abf05588ca18ca9bda553657cd84a03e8e2bd84c |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 23:38:00 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 23:38:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf05588 |
7 |
|
8 |
net-firewall/ipkungfu: remove old ebuilds |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild | 58 -------------------------- |
13 |
net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild | 48 --------------------- |
14 |
2 files changed, 106 deletions(-) |
15 |
|
16 |
diff --git a/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3b08454..0000000 |
19 |
--- a/net-firewall/ipkungfu/ipkungfu-0.5.2-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,58 +0,0 @@ |
22 |
-# Copyright 1999-2009 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-inherit eutils |
27 |
- |
28 |
-DESCRIPTION="A nice iptables firewall script" |
29 |
-HOMEPAGE="http://www.linuxkungfu.org/" |
30 |
-SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tgz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~ppc ~sparc x86" |
35 |
-IUSE="" |
36 |
- |
37 |
-DEPEND="net-firewall/iptables" |
38 |
-RDEPEND="${DEPEND} |
39 |
- virtual/logger" |
40 |
- |
41 |
-src_unpack() { |
42 |
- unpack ${A} |
43 |
- |
44 |
- # Patch ipkungfu to load the right module for ip_nat_ftp |
45 |
- # Fixes bug #42443. Thanks to George L. Emigh <george@××××××××××××.com> |
46 |
- cd "${WORKDIR}"/${P} && epatch "${FILESDIR}"/nat_ftp.patch |
47 |
- |
48 |
- # man page comes bzip2'd, so bunzip2 it. |
49 |
- cd "${WORKDIR}"/${P}/files |
50 |
- bunzip2 ipkungfu.8.bz2 |
51 |
-} |
52 |
- |
53 |
-src_install() { |
54 |
- |
55 |
- # Package comes with a hard coded shell script, so here we |
56 |
- # replicate what they did, but so it's compatible with portage. |
57 |
- |
58 |
- # Install shell script executable |
59 |
- dosbin ipkungfu |
60 |
- |
61 |
- # Install Gentoo init script |
62 |
- newinitd "${FILESDIR}"/ipkungfu.init ipkungfu |
63 |
- |
64 |
- # Install config files into /etc |
65 |
- dodir /etc/ipkungfu |
66 |
- insinto /etc/ipkungfu |
67 |
- doins files/*.conf |
68 |
- |
69 |
- # Install man page |
70 |
- doman files/ipkungfu.8 |
71 |
- |
72 |
- # Install documentation |
73 |
- dodoc COPYRIGHT Changelog FAQ INSTALL README gpl.txt |
74 |
-} |
75 |
- |
76 |
-pkg_postinst() { |
77 |
- einfo "Be sure to edit the config files" |
78 |
- einfo "in /etc/ipkungfu before running" |
79 |
-} |
80 |
|
81 |
diff --git a/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild b/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild |
82 |
deleted file mode 100644 |
83 |
index 360fec9..0000000 |
84 |
--- a/net-firewall/ipkungfu/ipkungfu-0.6.1.ebuild |
85 |
+++ /dev/null |
86 |
@@ -1,48 +0,0 @@ |
87 |
-# Copyright 1999-2009 Gentoo Foundation |
88 |
-# Distributed under the terms of the GNU General Public License v2 |
89 |
-# $Id$ |
90 |
- |
91 |
-inherit eutils |
92 |
- |
93 |
-DESCRIPTION="A nice iptables firewall script" |
94 |
-HOMEPAGE="http://www.linuxkungfu.org/" |
95 |
-SRC_URI="http://www.linuxkungfu.org/ipkungfu/${P}.tar.bz2" |
96 |
- |
97 |
-LICENSE="GPL-2" |
98 |
-SLOT="0" |
99 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
100 |
-IUSE="" |
101 |
- |
102 |
-DEPEND="net-firewall/iptables" |
103 |
-RDEPEND="${DEPEND} |
104 |
- virtual/logger" |
105 |
- |
106 |
-src_compile() { |
107 |
- epatch "${FILESDIR}/ipkungfu_noiseless.patch" || die "Could not apply ipkungfu_noiseless.patch patch" |
108 |
- econf || die "Could not run econf" |
109 |
- emake || die "Couldn't run make" |
110 |
-} |
111 |
- |
112 |
-src_install() { |
113 |
- make DESTDIR="${D}" install || die |
114 |
- |
115 |
- # Install configuration files |
116 |
- make DESTDIR="${D}" install-config || die |
117 |
- |
118 |
- # Install Gentoo init script |
119 |
- newinitd "${FILESDIR}"/ipkungfu.init ipkungfu |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- # Remove the cache dir so ipkungfu won't fail when running for |
124 |
- # the first time, case 0.6.0 was installed before. |
125 |
- rm -rf /etc/ipkungfu/cache |
126 |
- |
127 |
- einfo "Be sure to, before running ipkungfu, edit the config files in:" |
128 |
- einfo "/etc/ipkungfu/" |
129 |
- echo |
130 |
- einfo "Also, be sure to run ipkungfu prior to rebooting," |
131 |
- einfo "especially if you you're updating from <0.6.0 to >=0.6.0." |
132 |
- einfo "There are some significant configuration changes on this" |
133 |
- einfo "release covered by the ipkungfu script." |
134 |
-} |