1 |
commit: c89ca3f2027933f4b5dc49b50b71bdc7c3a2af8d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 28 14:23:56 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 28 14:24:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89ca3f2 |
7 |
|
8 |
net-firewall/iptables: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-firewall/iptables/Manifest | 1 - |
13 |
.../iptables/files/iptables-1.4.17-libip6tc.patch | 32 ------- |
14 |
net-firewall/iptables/iptables-1.4.17.ebuild | 87 ----------------- |
15 |
net-firewall/iptables/iptables-1.4.21-r2.ebuild | 103 -------------------- |
16 |
net-firewall/iptables/iptables-1.4.21-r3.ebuild | 104 --------------------- |
17 |
5 files changed, 327 deletions(-) |
18 |
|
19 |
diff --git a/net-firewall/iptables/Manifest b/net-firewall/iptables/Manifest |
20 |
index 9da9756..da65235 100644 |
21 |
--- a/net-firewall/iptables/Manifest |
22 |
+++ b/net-firewall/iptables/Manifest |
23 |
@@ -1,4 +1,3 @@ |
24 |
-DIST iptables-1.4.17.tar.bz2 541137 SHA256 51e7a769469383b6ad308a6a19cdd2bd813cf4593e21a156a543a1cd70554925 SHA512 022f89cbf56408842bdeb1adbe05076addaad007599fdb662f32a1c134d743dade28c26842acc7545d2474903164be5fe3ec7fd1e276cd2c37bd3b33b8a30de1 WHIRLPOOL f2cb85d5f4080fce2c6673a58737ace3d55130f74c66207bc515d0c7b4ecd75bd7ac8540a862e8af133e740d34eee40833d72c9c3236c7ef4dc75cd43816ec41 |
25 |
DIST iptables-1.4.21.tar.bz2 547439 SHA256 52004c68021da9a599feed27f65defcfb22128f7da2c0531c0f75de0f479d3e0 SHA512 dd4baccdb080284d8620e6ed59beafc2677813f3e099051764b07f8e394f6d94ca11861b181f3cce7c55c66de64c1e2add13dc1a0b64e24050cd9fb7aea0689b WHIRLPOOL 475541d1b2b7fe4ee8fa3b537274ef082aab8bfd262201ee14cd53577dfac6f591445cc6d64ed93b226a4b71d54ae1b9ab4cbb378b5440861a585f770f0db200 |
26 |
DIST iptables-1.6.0.tar.bz2 608288 SHA256 4bb72a0a0b18b5a9e79e87631ddc4084528e5df236bc7624472dcaa8480f1c60 SHA512 60360910db76e3265fb7b6456a55b91708263bde9c4e5b9cadf3832d2e2a9db3e6cb60c82e278ea0672618bd5c9566c374e00d19d35a2e8f330116c3ab6aaf51 WHIRLPOOL e5ab2398b0650883d31ea144777a6b00904a4e02434f0420037aa54cfc5e47359b95604e945ae3a1abbf3037c37aea2143d3a5457a500e12f1c1139b11655015 |
27 |
DIST iptables-1.6.1.tar.bz2 620890 SHA256 0fc2d7bd5d7be11311726466789d4c65fb4c8e096c9182b56ce97440864f0cf5 SHA512 12280db6e6ef8e68da2537e9da59fc601790fd02b1ba38a37c90dbb56272018329dccb8be995f96ecd5d94fafa6043204f3e8f8ee96531685d9e3c55359d2ee8 WHIRLPOOL e34fffbad8a5aea278cdfd11f042e2318862f8e6045a94a2eff35e6cb233ec62d030d83838613338ca2d928f6982cebf9665d039ba61218399139745c9cb08f9 |
28 |
|
29 |
diff --git a/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch b/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch |
30 |
deleted file mode 100644 |
31 |
index 5212dd2..00000000 |
32 |
--- a/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch |
33 |
+++ /dev/null |
34 |
@@ -1,32 +0,0 @@ |
35 |
-From d42bc7c100de69396a527e90736198f8e4e3000b Mon Sep 17 00:00:00 2001 |
36 |
-From: Mike Frysinger <vapier@g.o> |
37 |
-Date: Sun, 30 Dec 2012 18:06:15 -0500 |
38 |
-Subject: [PATCH] extensions: fix linking against -lip6tc |
39 |
- |
40 |
-The current build forgets to specify a path to find libip6tc which means |
41 |
-it either fails (if there is no libip6tc in the system), or links against |
42 |
-an old version (if there is one in the system). |
43 |
- |
44 |
-References: https://bugs.gentoo.org/449262 |
45 |
-Reported-by: Mike Gilbert <floppym@g.o> |
46 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
47 |
---- |
48 |
- extensions/GNUmakefile.in | 2 +- |
49 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
50 |
- |
51 |
-diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in |
52 |
-index e71e3ff..a605474 100644 |
53 |
---- a/extensions/GNUmakefile.in |
54 |
-+++ b/extensions/GNUmakefile.in |
55 |
-@@ -101,7 +101,7 @@ libxt_state.so: libxt_conntrack.so |
56 |
- ln -fs $< $@ |
57 |
- |
58 |
- # Need the LIBADDs in iptables/Makefile.am too for libxtables_la_LIBADD |
59 |
--ip6t_NETMAP_LIBADD = -lip6tc |
60 |
-+ip6t_NETMAP_LIBADD = -L../libiptc/.libs -lip6tc |
61 |
- xt_RATEEST_LIBADD = -lm |
62 |
- xt_statistic_LIBADD = -lm |
63 |
- |
64 |
--- |
65 |
-1.8.0 |
66 |
- |
67 |
|
68 |
diff --git a/net-firewall/iptables/iptables-1.4.17.ebuild b/net-firewall/iptables/iptables-1.4.17.ebuild |
69 |
deleted file mode 100644 |
70 |
index 0bbfa2b..00000000 |
71 |
--- a/net-firewall/iptables/iptables-1.4.17.ebuild |
72 |
+++ /dev/null |
73 |
@@ -1,87 +0,0 @@ |
74 |
-# Copyright 1999-2013 Gentoo Foundation |
75 |
-# Distributed under the terms of the GNU General Public License v2 |
76 |
-# $Id$ |
77 |
- |
78 |
-EAPI="4" |
79 |
- |
80 |
-# Force users doing their own patches to install their own tools |
81 |
-AUTOTOOLS_AUTO_DEPEND=no |
82 |
- |
83 |
-inherit eutils multilib toolchain-funcs autotools |
84 |
- |
85 |
-DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
86 |
-HOMEPAGE="http://www.iptables.org/" |
87 |
-SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2" |
88 |
- |
89 |
-LICENSE="GPL-2" |
90 |
-SLOT="0" |
91 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
92 |
-IUSE="ipv6 netlink static-libs" |
93 |
- |
94 |
-RDEPEND=" |
95 |
- netlink? ( net-libs/libnfnetlink ) |
96 |
-" |
97 |
-DEPEND="${RDEPEND} |
98 |
- virtual/os-headers |
99 |
- virtual/pkgconfig |
100 |
-" |
101 |
- |
102 |
-src_prepare() { |
103 |
- # use the saner headers from the kernel |
104 |
- rm -f include/linux/{kernel,types}.h |
105 |
- epatch "${FILESDIR}"/${P}-libip6tc.patch #449262 |
106 |
- |
107 |
- # Only run autotools if user patched something |
108 |
- epatch_user && eautoreconf || elibtoolize |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- # Some libs use $(AR) rather than libtool to build #444282 |
113 |
- tc-export AR |
114 |
- |
115 |
- sed -i \ |
116 |
- -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \ |
117 |
- configure || die |
118 |
- |
119 |
- econf \ |
120 |
- --sbindir="${EPREFIX}/sbin" \ |
121 |
- --libexecdir="${EPREFIX}/$(get_libdir)" \ |
122 |
- --enable-devel \ |
123 |
- --enable-shared \ |
124 |
- $(use_enable static-libs static) \ |
125 |
- $(use_enable ipv6) |
126 |
-} |
127 |
- |
128 |
-src_compile() { |
129 |
- emake V=1 |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- default |
134 |
- dodoc INCOMPATIBILITIES iptables/iptables.xslt |
135 |
- |
136 |
- # all the iptables binaries are in /sbin, so might as well |
137 |
- # put these small files in with them |
138 |
- into / |
139 |
- dosbin iptables/iptables-apply |
140 |
- dosym iptables-apply /sbin/ip6tables-apply |
141 |
- doman iptables/iptables-apply.8 |
142 |
- |
143 |
- insinto /usr/include |
144 |
- doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) |
145 |
- insinto /usr/include/iptables |
146 |
- doins include/iptables/internal.h |
147 |
- |
148 |
- keepdir /var/lib/iptables |
149 |
- newinitd "${FILESDIR}"/${PN}-1.4.13-r1.init iptables |
150 |
- newconfd "${FILESDIR}"/${PN}-1.4.13.confd iptables |
151 |
- if use ipv6 ; then |
152 |
- keepdir /var/lib/ip6tables |
153 |
- newinitd "${FILESDIR}"/iptables-1.4.13-r1.init ip6tables |
154 |
- newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables |
155 |
- fi |
156 |
- |
157 |
- # Move important libs to /lib |
158 |
- gen_usr_ldscript -a ip{4,6}tc iptc xtables |
159 |
- find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
160 |
-} |
161 |
|
162 |
diff --git a/net-firewall/iptables/iptables-1.4.21-r2.ebuild b/net-firewall/iptables/iptables-1.4.21-r2.ebuild |
163 |
deleted file mode 100644 |
164 |
index e87e4ed..00000000 |
165 |
--- a/net-firewall/iptables/iptables-1.4.21-r2.ebuild |
166 |
+++ /dev/null |
167 |
@@ -1,103 +0,0 @@ |
168 |
-# Copyright 1999-2014 Gentoo Foundation |
169 |
-# Distributed under the terms of the GNU General Public License v2 |
170 |
-# $Id$ |
171 |
- |
172 |
-EAPI="5" |
173 |
- |
174 |
-# Force users doing their own patches to install their own tools |
175 |
-AUTOTOOLS_AUTO_DEPEND=no |
176 |
- |
177 |
-inherit eutils multilib systemd toolchain-funcs autotools flag-o-matic |
178 |
- |
179 |
-DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
180 |
-HOMEPAGE="http://www.netfilter.org/projects/iptables/" |
181 |
-SRC_URI="http://www.netfilter.org/projects/iptables/files/${P}.tar.bz2" |
182 |
- |
183 |
-LICENSE="GPL-2" |
184 |
-# Subslot tracks libxtables as that's the one other packages generally link |
185 |
-# against and iptables changes. Will have to revisit if other sonames change. |
186 |
-SLOT="0/10" |
187 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
188 |
-IUSE="conntrack ipv6 netlink pcap static-libs" |
189 |
- |
190 |
-RDEPEND=" |
191 |
- conntrack? ( net-libs/libnetfilter_conntrack ) |
192 |
- netlink? ( net-libs/libnfnetlink ) |
193 |
- pcap? ( net-libs/libpcap ) |
194 |
-" |
195 |
-DEPEND="${RDEPEND} |
196 |
- virtual/os-headers |
197 |
- virtual/pkgconfig |
198 |
-" |
199 |
- |
200 |
-src_prepare() { |
201 |
- # use the saner headers from the kernel |
202 |
- rm -f include/linux/{kernel,types}.h |
203 |
- |
204 |
- epatch "${FILESDIR}"/${P}-configure.patch #557586 |
205 |
- |
206 |
- # Only run autotools if user patched something |
207 |
- epatch_user && eautoreconf || elibtoolize |
208 |
-} |
209 |
- |
210 |
-src_configure() { |
211 |
- # Some libs use $(AR) rather than libtool to build #444282 |
212 |
- tc-export AR |
213 |
- |
214 |
- # Hack around struct mismatches between userland & kernel for some ABIs. #472388 |
215 |
- use amd64 && [[ ${ABI} == "x32" ]] && append-flags -fpack-struct |
216 |
- |
217 |
- sed -i \ |
218 |
- -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \ |
219 |
- -e "/nfconntrack=[01]/s:=[01]:=$(usex conntrack 1 0):" \ |
220 |
- configure || die |
221 |
- |
222 |
- econf \ |
223 |
- --sbindir="${EPREFIX}/sbin" \ |
224 |
- --libexecdir="${EPREFIX}/$(get_libdir)" \ |
225 |
- --enable-devel \ |
226 |
- --enable-shared \ |
227 |
- $(use_enable pcap bpf-compiler) \ |
228 |
- $(use_enable static-libs static) \ |
229 |
- $(use_enable ipv6) |
230 |
-} |
231 |
- |
232 |
-src_compile() { |
233 |
- emake V=1 |
234 |
-} |
235 |
- |
236 |
-src_install() { |
237 |
- default |
238 |
- dodoc INCOMPATIBILITIES iptables/iptables.xslt |
239 |
- |
240 |
- # all the iptables binaries are in /sbin, so might as well |
241 |
- # put these small files in with them |
242 |
- into / |
243 |
- dosbin iptables/iptables-apply |
244 |
- dosym iptables-apply /sbin/ip6tables-apply |
245 |
- doman iptables/iptables-apply.8 |
246 |
- |
247 |
- insinto /usr/include |
248 |
- doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) |
249 |
- insinto /usr/include/iptables |
250 |
- doins include/iptables/internal.h |
251 |
- |
252 |
- keepdir /var/lib/iptables |
253 |
- newinitd "${FILESDIR}"/${PN}.init iptables |
254 |
- newconfd "${FILESDIR}"/${PN}-1.4.13.confd iptables |
255 |
- if use ipv6 ; then |
256 |
- keepdir /var/lib/ip6tables |
257 |
- newinitd "${FILESDIR}"/iptables.init ip6tables |
258 |
- newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables |
259 |
- fi |
260 |
- |
261 |
- systemd_dounit "${FILESDIR}"/systemd/iptables{,-{re,}store}.service |
262 |
- if use ipv6 ; then |
263 |
- systemd_dounit "${FILESDIR}"/systemd/ip6tables{,-{re,}store}.service |
264 |
- fi |
265 |
- |
266 |
- # Move important libs to /lib #332175 |
267 |
- gen_usr_ldscript -a ip{4,6}tc iptc xtables |
268 |
- |
269 |
- prune_libtool_files |
270 |
-} |
271 |
|
272 |
diff --git a/net-firewall/iptables/iptables-1.4.21-r3.ebuild b/net-firewall/iptables/iptables-1.4.21-r3.ebuild |
273 |
deleted file mode 100644 |
274 |
index ef4eb78..00000000 |
275 |
--- a/net-firewall/iptables/iptables-1.4.21-r3.ebuild |
276 |
+++ /dev/null |
277 |
@@ -1,104 +0,0 @@ |
278 |
-# Copyright 1999-2014 Gentoo Foundation |
279 |
-# Distributed under the terms of the GNU General Public License v2 |
280 |
-# $Id$ |
281 |
- |
282 |
-EAPI="5" |
283 |
- |
284 |
-# Force users doing their own patches to install their own tools |
285 |
-AUTOTOOLS_AUTO_DEPEND=no |
286 |
- |
287 |
-inherit eutils multilib systemd toolchain-funcs autotools flag-o-matic |
288 |
- |
289 |
-DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
290 |
-HOMEPAGE="http://www.netfilter.org/projects/iptables/" |
291 |
-SRC_URI="http://www.netfilter.org/projects/iptables/files/${P}.tar.bz2" |
292 |
- |
293 |
-LICENSE="GPL-2" |
294 |
-# Subslot tracks libxtables as that's the one other packages generally link |
295 |
-# against and iptables changes. Will have to revisit if other sonames change. |
296 |
-SLOT="0/10" |
297 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
298 |
-IUSE="conntrack ipv6 netlink pcap static-libs" |
299 |
- |
300 |
-RDEPEND=" |
301 |
- conntrack? ( net-libs/libnetfilter_conntrack ) |
302 |
- netlink? ( net-libs/libnfnetlink ) |
303 |
- pcap? ( net-libs/libpcap ) |
304 |
-" |
305 |
-DEPEND="${RDEPEND} |
306 |
- virtual/os-headers |
307 |
- virtual/pkgconfig |
308 |
-" |
309 |
- |
310 |
-src_prepare() { |
311 |
- # use the saner headers from the kernel |
312 |
- rm -f include/linux/{kernel,types}.h |
313 |
- |
314 |
- epatch "${FILESDIR}"/${P}-configure.patch #557586 |
315 |
- epatch "${FILESDIR}"/${P}-static-connlabel-config.patch #558234 |
316 |
- |
317 |
- # Only run autotools if user patched something |
318 |
- epatch_user && eautoreconf || elibtoolize |
319 |
-} |
320 |
- |
321 |
-src_configure() { |
322 |
- # Some libs use $(AR) rather than libtool to build #444282 |
323 |
- tc-export AR |
324 |
- |
325 |
- # Hack around struct mismatches between userland & kernel for some ABIs. #472388 |
326 |
- use amd64 && [[ ${ABI} == "x32" ]] && append-flags -fpack-struct |
327 |
- |
328 |
- sed -i \ |
329 |
- -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \ |
330 |
- -e "/nfconntrack=[01]/s:=[01]:=$(usex conntrack 1 0):" \ |
331 |
- configure || die |
332 |
- |
333 |
- econf \ |
334 |
- --sbindir="${EPREFIX}/sbin" \ |
335 |
- --libexecdir="${EPREFIX}/$(get_libdir)" \ |
336 |
- --enable-devel \ |
337 |
- --enable-shared \ |
338 |
- $(use_enable pcap bpf-compiler) \ |
339 |
- $(use_enable static-libs static) \ |
340 |
- $(use_enable ipv6) |
341 |
-} |
342 |
- |
343 |
-src_compile() { |
344 |
- emake V=1 |
345 |
-} |
346 |
- |
347 |
-src_install() { |
348 |
- default |
349 |
- dodoc INCOMPATIBILITIES iptables/iptables.xslt |
350 |
- |
351 |
- # all the iptables binaries are in /sbin, so might as well |
352 |
- # put these small files in with them |
353 |
- into / |
354 |
- dosbin iptables/iptables-apply |
355 |
- dosym iptables-apply /sbin/ip6tables-apply |
356 |
- doman iptables/iptables-apply.8 |
357 |
- |
358 |
- insinto /usr/include |
359 |
- doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) |
360 |
- insinto /usr/include/iptables |
361 |
- doins include/iptables/internal.h |
362 |
- |
363 |
- keepdir /var/lib/iptables |
364 |
- newinitd "${FILESDIR}"/${PN}.init iptables |
365 |
- newconfd "${FILESDIR}"/${PN}-1.4.13.confd iptables |
366 |
- if use ipv6 ; then |
367 |
- keepdir /var/lib/ip6tables |
368 |
- newinitd "${FILESDIR}"/iptables.init ip6tables |
369 |
- newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables |
370 |
- fi |
371 |
- |
372 |
- systemd_dounit "${FILESDIR}"/systemd/iptables{,-{re,}store}.service |
373 |
- if use ipv6 ; then |
374 |
- systemd_dounit "${FILESDIR}"/systemd/ip6tables{,-{re,}store}.service |
375 |
- fi |
376 |
- |
377 |
- # Move important libs to /lib #332175 |
378 |
- gen_usr_ldscript -a ip{4,6}tc iptc xtables |
379 |
- |
380 |
- prune_libtool_files |
381 |
-} |