Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/files/, net-firewall/arno-iptables-firewall/
Date: Wed, 07 Oct 2015 06:54:48
Message-Id: 1444200867.bb22e9883c77f170e6eab38d8fdc0972b461d15d.idella4@gentoo
1 commit: bb22e9883c77f170e6eab38d8fdc0972b461d15d
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 06:54:02 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 06:54:27 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb22e988
7
8 net-firewall/arno-iptables-firewall: remove -2.0.1d-r2 and its patches
9
10 request by maintainer in
11
12 Gentoo Bug: #559858
13
14 Package-Manager: portage-2.2.20.1
15
16 net-firewall/arno-iptables-firewall/Manifest | 1 -
17 .../arno-iptables-firewall-2.0.1d-r2.ebuild | 90 ----------------------
18 .../files/arno-iptables-firewall.service | 14 ----
19 .../files/rc.firewall_replace_opts.patch | 11 ---
20 4 files changed, 116 deletions(-)
21
22 diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest
23 index fe6daf6..098487d 100644
24 --- a/net-firewall/arno-iptables-firewall/Manifest
25 +++ b/net-firewall/arno-iptables-firewall/Manifest
26 @@ -1,3 +1,2 @@
27 -DIST arno-iptables-firewall_2.0.1d.tar.gz 125329 SHA256 177343362063125985e8b0008fe69bc6ca8d3ba252cfa35a316e708f52fef9c6 SHA512 a99f4fcf4f84a47cc1bda26b39e4f3dc7e10b74f3aeaea8a2519bf18f43ff08ec0bfbd0f078ac36ce12da31d3ac0eabc51231b4559cadca13cd4d75e0940bf9d WHIRLPOOL 2dd56678015cf49ed9442c63c5455c70e72a6f252d9278a56ae1eaabda34d597c44f7fdb97695656882754776385778a5e67d83e7e35e4554e5765e3a0e68b13
28 DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 SHA256 fa7b865e5d9b8e077cba73b2f28695a2fd691092a0a7f9e1c16ee369fc27fe43 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 WHIRLPOOL f6c1b5ade8b4acdcc4c8e90e19a84335c3932d2a58bbba2221a91b7cbd228c4d6072af6e21836314d86ef005780b47c5ce85198219b345116af529178e2133c1
29 DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 SHA256 84f3e96bb85dbcad2916922d537aa0f188df59ece7ea9d9c0f669468938713e0 SHA512 cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620 WHIRLPOOL 969e09b206cf1e132e93151461297fdb3b40ba849b4b4c9ff9e2ef8095526e4e8340b348e2bc97cfe9838b7de3f42cb1acae7c21d6261dcab5392e26ba81afc4
30
31 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild
32 deleted file mode 100644
33 index b611732..0000000
34 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild
35 +++ /dev/null
36 @@ -1,90 +0,0 @@
37 -# Copyright 1999-2014 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -# $Id$
40 -
41 -EAPI=5
42 -inherit readme.gentoo systemd
43 -
44 -DESCRIPTION="Arno's iptables firewall script"
45 -HOMEPAGE="http://rocky.eld.leidenuniv.nl"
46 -SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${PV}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 x86"
51 -IUSE="+plugins"
52 -
53 -# sys-apps/coreutils dependency wrt
54 -# https://bugs.gentoo.org/show_bug.cgi?id=448716
55 -
56 -DEPEND=""
57 -RDEPEND="net-firewall/iptables
58 - || ( <sys-apps/coreutils-8.20 >sys-apps/coreutils-8.20-r1 )
59 - sys-apps/iproute2
60 - plugins? ( net-dns/bind-tools )"
61 -
62 -S="${WORKDIR}/${PN}_${PV}"
63 -
64 -DISABLE_AUTOFORMATTING="yes"
65 -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf
66 -before using this package. To start the script, run:
67 -
68 -/etc/init.d/${PN} start (for openRC)
69 -systemctl start ${PN} (for Systemd)
70 -
71 -If you want to start this script at boot, run:
72 -
73 -rc-update add ${PN} default (for openRC)
74 -systemctl enable ${PN} (for Systemd)"
75 -
76 -src_prepare() {
77 - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \
78 - etc/"${PN}"/firewall.conf || die "Sed failed!"
79 -}
80 -
81 -src_install() {
82 -
83 - insinto /etc/"${PN}"
84 - doins etc/"${PN}"/firewall.conf
85 - doins etc/"${PN}"/custom-rules
86 -
87 - doinitd "${FILESDIR}/${PN}"
88 - systemd_dounit "${FILESDIR}/${PN}.service"
89 -
90 - dobin bin/arno-fwfilter
91 - dosbin bin/"${PN}"
92 -
93 - insinto /usr/libexec/"${PN}"
94 - doins share/"${PN}"/environment
95 -
96 - dodoc CHANGELOG README
97 - readme.gentoo_create_doc
98 -
99 - if use plugins
100 - then
101 - insinto /etc/"${PN}"/plugins
102 - doins etc/"${PN}"/plugins/*
103 -
104 - insinto /usr/libexec/"${PN}"/plugins
105 - doins share/"${PN}"/plugins/*.plugin
106 -
107 - exeinto /usr/libexec/"${PN}"/plugins
108 - doexe share/"${PN}"/plugins/dyndns-host-open-helper
109 - doexe share/"${PN}"/plugins/traffic-accounting-helper
110 - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate
111 - doexe share/"${PN}"/plugins/traffic-accounting-show
112 -
113 - docinto plugins
114 - dodoc share/"${PN}"/plugins/*.CHANGELOG
115 - fi
116 -
117 - doman share/man/man1/arno-fwfilter.1 \
118 - share/man/man8/"${PN}".8
119 -}
120 -
121 -pkg_postinst () {
122 - ewarn "When you stop this script, all firewall rules are flushed!"
123 - ewarn "Make sure to not use multiple firewall scripts simultaneously"
124 - ewarn "unless you know what you are doing!"
125 - readme.gentoo_print_elog
126 -}
127
128 diff --git a/net-firewall/arno-iptables-firewall/files/arno-iptables-firewall.service b/net-firewall/arno-iptables-firewall/files/arno-iptables-firewall.service
129 deleted file mode 100644
130 index e663f08..0000000
131 --- a/net-firewall/arno-iptables-firewall/files/arno-iptables-firewall.service
132 +++ /dev/null
133 @@ -1,14 +0,0 @@
134 -[Unit]
135 -Description=A secure stateful firewall for both single and multi-homed machine
136 -Before=network.target
137 -Wants=network.target
138 -
139 -[Service]
140 -Type=oneshot
141 -ExecStart=/usr/sbin/arno-iptables-firewall start
142 -ExecStop=/usr/sbin/arno-iptables-firewall stop
143 -ExecReload=/usr/sbin/arno-iptables-firewall force-reload
144 -RemainAfterExit=yes
145 -
146 -[Install]
147 -WantedBy=multi-user.target
148
149 diff --git a/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch b/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch
150 deleted file mode 100644
151 index 6c271d5..0000000
152 --- a/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch
153 +++ /dev/null
154 @@ -1,11 +0,0 @@
155 ---- contrib/Gentoo/rc.firewall 2012-11-29 08:44:13.000000000 +0100
156 -+++ contrib/Gentoo/rc.firewall.new 2012-12-15 18:38:12.179072084 +0100
157 -@@ -1,6 +1,7 @@
158 - #!/sbin/runscript
159 -
160 --opts="${opts} stats help reload"
161 -+extra_commands="stats help"
162 -+extra_started_commands="reload"
163 -
164 - depend() {
165 - before net