1 |
commit: e8052f47a54c14791f185172061d1e3256358440 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 15:16:47 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 23:19:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8052f47 |
7 |
|
8 |
net-firewall/fwknop: Drop 2.6.9-r1 and 2.6.10-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-firewall/fwknop/Manifest | 1 - |
14 |
net-firewall/fwknop/fwknop-2.6.10-r1.ebuild | 138 -------------------------- |
15 |
net-firewall/fwknop/fwknop-2.6.9-r1.ebuild | 144 ---------------------------- |
16 |
3 files changed, 283 deletions(-) |
17 |
|
18 |
diff --git a/net-firewall/fwknop/Manifest b/net-firewall/fwknop/Manifest |
19 |
index d49b6b5fc1a..53b2c9de54b 100644 |
20 |
--- a/net-firewall/fwknop/Manifest |
21 |
+++ b/net-firewall/fwknop/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST fwknop-2.6.10.tar.gz 1988197 BLAKE2B d4c2010c64ab160f0edc02e2b1530749ee47ff6ed16d6b556d366daef7ce5e22ef38fbbbf6e8cfaa14e0d9706ba2b65937b03c70b54b3429ff1732ae33c1852c SHA512 3b3e35eda574abd1759431c88677eea7078c54cb3252c0ee0e1019b5b8224ed8844d30760da70a952e1cd92b04715a547f6effabda54678f791fff9afa32cd80 |
24 |
-DIST fwknop-2.6.9.tar.gz 3043542 BLAKE2B 11440fa0fe5e990a269587fa9ee1da0242f3dc939d6dc185d6adff9e9c995a8ffe902a6351a057c619cb6ff056519caea38f7b865978fe5ac810a39281bb3fc3 SHA512 4706560d44c911c8604059d88dded9c1b8c333399d90ec7dc366c0fba96c79680bdbf1b8b5e76cc34aaf3a1e58fff80db8f5f20c96d57481bdb476a9b99f4d1b |
25 |
|
26 |
diff --git a/net-firewall/fwknop/fwknop-2.6.10-r1.ebuild b/net-firewall/fwknop/fwknop-2.6.10-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 786366d6895..00000000000 |
29 |
--- a/net-firewall/fwknop/fwknop-2.6.10-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,138 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-# Python extension supports only Python 2. |
38 |
-# See https://github.com/mrash/fwknop/issues/167 |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
-DISTUTILS_SINGLE_IMPL=1 |
41 |
-DISTUTILS_OPTIONAL=1 |
42 |
- |
43 |
-inherit autotools distutils-r1 eutils linux-info readme.gentoo-r1 systemd |
44 |
- |
45 |
-DESCRIPTION="Single Packet Authorization and Port Knocking application" |
46 |
-HOMEPAGE="https://www.cipherdyne.org/fwknop/" |
47 |
-SRC_URI="https://www.cipherdyne.org/fwknop/download/${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="GPL-2+" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~amd64 ~x86" |
52 |
-IUSE="+client extras firewalld gdbm gpg +iptables nfqueue python +server udp-server" |
53 |
- |
54 |
-DEPEND=" |
55 |
- client? ( net-misc/wget[ssl] ) |
56 |
- firewalld? ( net-firewall/firewalld[${PYTHON_SINGLE_USEDEP}] ) |
57 |
- gdbm? ( sys-libs/gdbm ) |
58 |
- gpg? ( |
59 |
- app-crypt/gpgme |
60 |
- dev-libs/libassuan |
61 |
- dev-libs/libgpg-error |
62 |
- ) |
63 |
- iptables? ( net-firewall/iptables ) |
64 |
- nfqueue? ( net-libs/libnetfilter_queue ) |
65 |
- python? ( ${PYTHON_DEPS} ) |
66 |
- server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) |
67 |
-" |
68 |
-RDEPEND="${DEPEND}" |
69 |
- |
70 |
-REQUIRED_USE=" |
71 |
- nfqueue? ( server ) |
72 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
73 |
- server? ( ^^ ( firewalld iptables ) ) |
74 |
- udp-server? ( server ) |
75 |
-" |
76 |
- |
77 |
-PATCHES=( "${FILESDIR}/${PN}-2.6.10_fno-common_fix.patch" ) |
78 |
- |
79 |
-DOCS=( AUTHORS ChangeLog README ) |
80 |
- |
81 |
-DISABLE_AUTOFORMATTING=1 |
82 |
-DOC_CONTENTS=" |
83 |
-Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. |
84 |
-Please edit them to suit your needs and then remove the .example suffix. |
85 |
- |
86 |
-fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. |
87 |
-You can set the desired backend via FIREWALL_EXE option in fwknopd.conf |
88 |
-instead of the default one chosen at compile time. |
89 |
-" |
90 |
- |
91 |
-pkg_setup() { |
92 |
- linux-info_pkg_setup |
93 |
- python-single-r1_pkg_setup |
94 |
-} |
95 |
- |
96 |
-src_prepare() { |
97 |
- default_src_prepare |
98 |
- |
99 |
- # Install example configs with .example suffix. |
100 |
- if use server; then |
101 |
- sed -i -e 's|conf;|conf.example;|g' Makefile.am || die |
102 |
- fi |
103 |
- |
104 |
- eautoreconf |
105 |
-} |
106 |
- |
107 |
-src_configure() { |
108 |
- local myeconfargs=( |
109 |
- --localstatedir="${EPREFIX}/run" |
110 |
- $(use_enable client) |
111 |
- $(use_enable !gdbm file-cache) |
112 |
- $(use_enable nfqueue nfq-capture) |
113 |
- $(use_enable server) |
114 |
- $(use_enable udp-server) |
115 |
- $(use_with gpg gpgme) |
116 |
- ) |
117 |
- use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") |
118 |
- use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") |
119 |
- |
120 |
- econf "${myeconfargs[@]}" |
121 |
-} |
122 |
- |
123 |
-src_install() { |
124 |
- default_src_install |
125 |
- |
126 |
- if use extras; then |
127 |
- dodoc extras/apparmor/usr.sbin.fwknopd |
128 |
- dodoc extras/console-qr/console-qr.sh |
129 |
- dodoc extras/fwknop-launcher/* |
130 |
- fi |
131 |
- |
132 |
- if use server; then |
133 |
- newinitd "${FILESDIR}/fwknopd.init" fwknopd |
134 |
- newconfd "${FILESDIR}/fwknopd.confd" fwknopd |
135 |
- systemd_dounit "${FILESDIR}/fwknopd.service" |
136 |
- systemd_newtmpfilesd "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf |
137 |
- readme.gentoo_create_doc |
138 |
- fi |
139 |
- |
140 |
- if use python; then |
141 |
- # Redefine DOCS, otherwise distutils-r1 eclass interferes. |
142 |
- local DOCS=() |
143 |
- cd python || die |
144 |
- distutils-r1_src_install |
145 |
- fi |
146 |
- |
147 |
- find "${ED}" -type f -name "*.la" -delete || die |
148 |
-} |
149 |
- |
150 |
-pkg_postinst() { |
151 |
- if use server; then |
152 |
- readme.gentoo_print_elog |
153 |
- |
154 |
- if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then |
155 |
- echo |
156 |
- ewarn "fwknopd daemon relies on the 'comment' match in order to expire" |
157 |
- ewarn "created firewall rules, which is an important security feature." |
158 |
- ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." |
159 |
- echo |
160 |
- fi |
161 |
- if use nfqueue && \ |
162 |
- ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then |
163 |
- echo |
164 |
- ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." |
165 |
- ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." |
166 |
- echo |
167 |
- fi |
168 |
- fi |
169 |
-} |
170 |
|
171 |
diff --git a/net-firewall/fwknop/fwknop-2.6.9-r1.ebuild b/net-firewall/fwknop/fwknop-2.6.9-r1.ebuild |
172 |
deleted file mode 100644 |
173 |
index ff9bea4cb40..00000000000 |
174 |
--- a/net-firewall/fwknop/fwknop-2.6.9-r1.ebuild |
175 |
+++ /dev/null |
176 |
@@ -1,144 +0,0 @@ |
177 |
-# Copyright 1999-2020 Gentoo Authors |
178 |
-# Distributed under the terms of the GNU General Public License v2 |
179 |
- |
180 |
-EAPI=6 |
181 |
- |
182 |
-# Python extension supports only Python 2. |
183 |
-# See https://github.com/mrash/fwknop/issues/167 |
184 |
-PYTHON_COMPAT=( python2_7 ) |
185 |
-DISTUTILS_OPTIONAL=1 |
186 |
-DISTUTILS_SINGLE_IMPL=1 |
187 |
- |
188 |
-inherit autotools distutils-r1 eutils linux-info ltprune readme.gentoo-r1 systemd |
189 |
- |
190 |
-DESCRIPTION="Single Packet Authorization and Port Knocking application" |
191 |
-HOMEPAGE="https://www.cipherdyne.org/fwknop/ https://github.com/mrash/fwknop" |
192 |
-SRC_URI="https://github.com/mrash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
193 |
- |
194 |
-LICENSE="GPL-2+" |
195 |
-SLOT="0" |
196 |
-KEYWORDS="~amd64 ~x86" |
197 |
-IUSE="+client extras firewalld gdbm gpg +iptables nfqueue python +server udp-server" |
198 |
- |
199 |
-DEPEND=" |
200 |
- client? ( net-misc/wget[ssl] ) |
201 |
- firewalld? ( net-firewall/firewalld[${PYTHON_SINGLE_USEDEP}] ) |
202 |
- gdbm? ( sys-libs/gdbm ) |
203 |
- gpg? ( |
204 |
- app-crypt/gpgme |
205 |
- dev-libs/libassuan |
206 |
- dev-libs/libgpg-error |
207 |
- ) |
208 |
- iptables? ( net-firewall/iptables ) |
209 |
- nfqueue? ( net-libs/libnetfilter_queue ) |
210 |
- python? ( ${PYTHON_DEPS} ) |
211 |
- server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) |
212 |
-" |
213 |
-RDEPEND="${DEPEND}" |
214 |
- |
215 |
-REQUIRED_USE=" |
216 |
- nfqueue? ( server ) |
217 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
218 |
- server? ( ^^ ( firewalld iptables ) ) |
219 |
- udp-server? ( server ) |
220 |
-" |
221 |
- |
222 |
-DOCS=( AUTHORS ChangeLog README.md ) |
223 |
- |
224 |
-DISABLE_AUTOFORMATTING=1 |
225 |
-DOC_CONTENTS=" |
226 |
-Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. |
227 |
-Please edit them to suit your needs and then remove the .example suffix. |
228 |
- |
229 |
-fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. |
230 |
-You can set the desired backend via FIREWALL_EXE option in fwknopd.conf |
231 |
-instead of the default one chosen at compile time. |
232 |
-" |
233 |
- |
234 |
-pkg_setup() { |
235 |
- linux-info_pkg_setup |
236 |
- python-single-r1_pkg_setup |
237 |
-} |
238 |
- |
239 |
-src_prepare() { |
240 |
- default_src_prepare |
241 |
- |
242 |
- # Install example configs with .example suffix. |
243 |
- if use server; then |
244 |
- sed -i -e 's|conf;|conf.example;|g' Makefile.am || die |
245 |
- fi |
246 |
- |
247 |
- eautoreconf |
248 |
-} |
249 |
- |
250 |
-src_configure() { |
251 |
- local myeconfargs=( |
252 |
- --localstatedir="${EPREFIX}/run" |
253 |
- $(use_enable client) |
254 |
- $(use_enable !gdbm file-cache) |
255 |
- $(use_enable nfqueue nfq-capture) |
256 |
- $(use_enable server) |
257 |
- $(use_enable udp-server) |
258 |
- $(use_with gpg gpgme) |
259 |
- ) |
260 |
- use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") |
261 |
- use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") |
262 |
- |
263 |
- econf "${myeconfargs[@]}" |
264 |
-} |
265 |
- |
266 |
-src_compile() { |
267 |
- default_src_compile |
268 |
- |
269 |
- if use python; then |
270 |
- cd python || die |
271 |
- distutils-r1_src_compile |
272 |
- fi |
273 |
-} |
274 |
- |
275 |
-src_install() { |
276 |
- default_src_install |
277 |
- prune_libtool_files --modules |
278 |
- |
279 |
- if use extras; then |
280 |
- dodoc extras/apparmor/usr.sbin.fwknopd |
281 |
- dodoc extras/console-qr/console-qr.sh |
282 |
- dodoc extras/fwknop-launcher/* |
283 |
- fi |
284 |
- |
285 |
- if use server; then |
286 |
- newinitd "${FILESDIR}/fwknopd.init" fwknopd |
287 |
- newconfd "${FILESDIR}/fwknopd.confd" fwknopd |
288 |
- systemd_dounit extras/systemd/fwknopd.service |
289 |
- systemd_newtmpfilesd extras/systemd/fwknopd.tmpfiles.conf fwknopd.conf |
290 |
- readme.gentoo_create_doc |
291 |
- fi |
292 |
- |
293 |
- if use python; then |
294 |
- # Redefine DOCS, otherwise distutils-r1 eclass interferes. |
295 |
- local DOCS=() |
296 |
- cd python || die |
297 |
- distutils-r1_src_install |
298 |
- fi |
299 |
-} |
300 |
- |
301 |
-pkg_postinst() { |
302 |
- if use server; then |
303 |
- readme.gentoo_print_elog |
304 |
- |
305 |
- if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then |
306 |
- echo |
307 |
- ewarn "fwknopd daemon relies on the 'comment' match in order to expire" |
308 |
- ewarn "created firewall rules, which is an important security feature." |
309 |
- ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." |
310 |
- echo |
311 |
- fi |
312 |
- if use nfqueue && \ |
313 |
- ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then |
314 |
- echo |
315 |
- ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." |
316 |
- ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." |
317 |
- echo |
318 |
- fi |
319 |
- fi |
320 |
-} |