Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
Date: Sat, 28 Dec 2019 00:59:03
Message-Id: 1577494732.3574cb8ec419a63aba69a42a35a8cd76618e7b33.bman@gentoo
1 commit: 3574cb8ec419a63aba69a42a35a8cd76618e7b33
2 Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 27 22:34:51 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 00:58:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3574cb8e
7
8 net-firewall/arno-iptables-firewall: remove old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/14144
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14
15 net-firewall/arno-iptables-firewall/Manifest | 2 -
16 .../arno-iptables-firewall-2.0.1e.ebuild | 87 --------------------
17 .../arno-iptables-firewall-2.0.2a.ebuild | 95 ----------------------
18 3 files changed, 184 deletions(-)
19
20 diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest
21 index d4d0807f901..fd2783249c7 100644
22 --- a/net-firewall/arno-iptables-firewall/Manifest
23 +++ b/net-firewall/arno-iptables-firewall/Manifest
24 @@ -1,3 +1 @@
25 -DIST arno-iptables-firewall-2.0.2a.tar.gz 138141 BLAKE2B 1dad35b86ff5d93991b01ed0b3f4cd61eeab0d896b7c270d809600de972cae13828f192e8962199563b7ebf55f961a4cd96af9b15234e504df23615827aec638 SHA512 56ba669101375cccd29183e7069198f27d0656021310a90a82cb03ce417d4dec241084f3332f57d52f889b125836a6a08bb116453aaa9a4c3860204e109322e5
26 DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929
27 -DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 BLAKE2B 0c8263004d2294f6eedd7f40e6c339da3a57db803ce1d064ac0bf4a3d2191b26fcd0b59185e51240bd0378365f9ca115c80c5edc256aa68359728c960ab8e6e3 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70
28
29 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild
30 deleted file mode 100644
31 index 9659d70d0b5..00000000000
32 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild
33 +++ /dev/null
34 @@ -1,87 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -inherit readme.gentoo systemd
40 -
41 -DESCRIPTION="Arno's iptables firewall script"
42 -HOMEPAGE="http://rocky.eld.leidenuniv.nl"
43 -SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${PV}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE="+plugins"
49 -
50 -DEPEND=""
51 -RDEPEND="net-firewall/iptables
52 - >sys-apps/coreutils-8.20-r1
53 - sys-apps/iproute2
54 - plugins? ( net-dns/bind-tools )"
55 -
56 -S="${WORKDIR}/${PN}_${PV}"
57 -
58 -DISABLE_AUTOFORMATTING="yes"
59 -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf
60 -before using this package. To start the script, run:
61 -
62 -/etc/init.d/${PN} start (for OpenRC)
63 -systemctl start ${PN} (for systemd)
64 -
65 -If you want to start this script at boot, run:
66 -
67 -rc-update add ${PN} default (for OpenRC)
68 -systemctl enable ${PN} (for systemd)"
69 -
70 -src_prepare() {
71 - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \
72 - etc/"${PN}"/firewall.conf || die "Sed failed!"
73 - sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \
74 - lib/systemd/system/"${PN}.service" || die "Sed failed!"
75 -}
76 -
77 -src_install() {
78 - insinto /etc/"${PN}"
79 - doins etc/"${PN}"/firewall.conf
80 - doins etc/"${PN}"/custom-rules
81 -
82 - doinitd "${FILESDIR}/${PN}"
83 - systemd_dounit lib/systemd/system/"${PN}.service"
84 -
85 - dobin bin/arno-fwfilter
86 - dosbin bin/"${PN}"
87 -
88 - insinto /usr/libexec/"${PN}"
89 - doins share/"${PN}"/environment
90 -
91 - dodoc CHANGELOG README
92 - readme.gentoo_create_doc
93 -
94 - if use plugins
95 - then
96 - insinto /etc/"${PN}"/plugins
97 - doins etc/"${PN}"/plugins/*
98 -
99 - insinto /usr/libexec/"${PN}"/plugins
100 - doins share/"${PN}"/plugins/*.plugin
101 -
102 - exeinto /usr/libexec/"${PN}"/plugins
103 - doexe share/"${PN}"/plugins/dyndns-host-open-helper
104 - doexe share/"${PN}"/plugins/traffic-accounting-helper
105 - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate
106 - doexe share/"${PN}"/plugins/traffic-accounting-show
107 -
108 - docinto plugins
109 - dodoc share/"${PN}"/plugins/*.CHANGELOG
110 - fi
111 -
112 - doman share/man/man1/arno-fwfilter.1 \
113 - share/man/man8/"${PN}".8
114 -}
115 -
116 -pkg_postinst () {
117 - ewarn "When you stop this script, all firewall rules are flushed!"
118 - ewarn "Make sure to not use multiple firewall scripts simultaneously"
119 - ewarn "unless you know what you are doing!"
120 - readme.gentoo_print_elog
121 -}
122
123 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild
124 deleted file mode 100644
125 index b7750479cd0..00000000000
126 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild
127 +++ /dev/null
128 @@ -1,95 +0,0 @@
129 -# Copyright 1999-2017 Gentoo Foundation
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=6
133 -inherit readme.gentoo-r1 systemd versionator
134 -
135 -DESCRIPTION="Arno's iptables firewall script"
136 -HOMEPAGE="http://rocky.eld.leidenuniv.nl"
137 -
138 -MY_PV=$(replace_version_separator 3 -)
139 -MY_PV=${MY_PV/rc/RC}
140 -SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
141 -
142 -LICENSE="GPL-2"
143 -SLOT="0"
144 -KEYWORDS="~amd64 ~x86"
145 -IUSE="+plugins"
146 -
147 -# sys-apps/coreutils dependency wrt
148 -# https://bugs.gentoo.org/show_bug.cgi?id=448716
149 -
150 -DEPEND=""
151 -RDEPEND="net-firewall/ipset
152 - net-firewall/iptables
153 - >=sys-apps/coreutils-8.21
154 - sys-apps/iproute2
155 - plugins? ( net-dns/bind-tools )"
156 -
157 -S="${WORKDIR}/aif-${MY_PV}"
158 -
159 -DISABLE_AUTOFORMATTING="yes"
160 -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf
161 -before using this package. To start the script, run:
162 -
163 -/etc/init.d/${PN} start (for OpenRC)
164 -systemctl start ${PN} (for systemd)
165 -
166 -If you want to start this script at boot, run:
167 -
168 -rc-update add ${PN} default (for OpenRC)
169 -systemctl enable ${PN} (for systemd)"
170 -
171 -src_prepare() {
172 - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \
173 - etc/"${PN}"/firewall.conf || die "Sed failed!"
174 - sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \
175 - lib/systemd/system/"${PN}.service" || die "Sed failed!"
176 - eapply_user
177 -}
178 -
179 -src_install() {
180 - insinto /etc/"${PN}"
181 - doins etc/"${PN}"/firewall.conf
182 - doins etc/"${PN}"/custom-rules
183 -
184 - doinitd "${FILESDIR}/${PN}"
185 - systemd_dounit lib/systemd/system/"${PN}.service"
186 -
187 - dobin bin/arno-fwfilter
188 - dosbin bin/"${PN}"
189 -
190 - insinto /usr/libexec/"${PN}"
191 - doins share/"${PN}"/environment
192 -
193 - dodoc CHANGELOG README
194 - readme.gentoo_create_doc
195 -
196 - if use plugins
197 - then
198 - insinto /etc/"${PN}"/plugins
199 - doins etc/"${PN}"/plugins/*
200 -
201 - insinto /usr/libexec/"${PN}"/plugins
202 - doins share/"${PN}"/plugins/*.plugin
203 -
204 - exeinto /usr/libexec/"${PN}"/plugins
205 - doexe share/"${PN}"/plugins/dyndns-host-open-helper
206 - doexe share/"${PN}"/plugins/traffic-accounting-helper
207 - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate
208 - doexe share/"${PN}"/plugins/traffic-accounting-show
209 -
210 - docinto plugins
211 - dodoc share/"${PN}"/plugins/*.CHANGELOG
212 - fi
213 -
214 - doman share/man/man1/arno-fwfilter.1 \
215 - share/man/man8/"${PN}".8
216 -}
217 -
218 -pkg_postinst () {
219 - ewarn "When you stop this script, all firewall rules are flushed!"
220 - ewarn "Make sure to not use multiple firewall scripts simultaneously"
221 - ewarn "unless you know what you are doing!"
222 - readme.gentoo_print_elog
223 -}