Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/iptables/
Date: Sat, 03 Feb 2018 11:47:59
Message-Id: 1517658464.5b21cba035e82e01311044fb44b8baadf568c41f.polynomial-c@gentoo
1 commit: 5b21cba035e82e01311044fb44b8baadf568c41f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 3 11:39:51 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 3 11:47:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b21cba0
7
8 net-firewall/iptables: Removed old.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-firewall/iptables/Manifest | 1 -
13 net-firewall/iptables/iptables-1.6.0-r1.ebuild | 112 -------------------------
14 2 files changed, 113 deletions(-)
15
16 diff --git a/net-firewall/iptables/Manifest b/net-firewall/iptables/Manifest
17 index 403c3e2ebae..9797bcf5115 100644
18 --- a/net-firewall/iptables/Manifest
19 +++ b/net-firewall/iptables/Manifest
20 @@ -1,4 +1,3 @@
21 DIST iptables-1.4.21.tar.bz2 547439 BLAKE2B e30f25581a118b91781dcc02761d4c8c420fb19876ec9e8ade3aff22b574931065f9a1c1ec31983a444c406dd928c47673d02698553da85c3db4f31484b1597d SHA512 dd4baccdb080284d8620e6ed59beafc2677813f3e099051764b07f8e394f6d94ca11861b181f3cce7c55c66de64c1e2add13dc1a0b64e24050cd9fb7aea0689b
22 -DIST iptables-1.6.0.tar.bz2 608288 BLAKE2B 4272860f434b4c6951d9ea32219e96c6907e4bcafaf0429d671d109b73b52aead4f17577f0a148a87e51b33708ca8c9b48ab6d11321e2baf138c0e6bdd636c78 SHA512 60360910db76e3265fb7b6456a55b91708263bde9c4e5b9cadf3832d2e2a9db3e6cb60c82e278ea0672618bd5c9566c374e00d19d35a2e8f330116c3ab6aaf51
23 DIST iptables-1.6.1.tar.bz2 620890 BLAKE2B b45ac26e1fb7e8b17a6df0afab3b6c0e2f0a5df9191367548136b3ce9aadc1bcb875b8bc0403e6f12fcf487054e96418f4ef34da827af8989fd4dcf83cd3cd8d SHA512 12280db6e6ef8e68da2537e9da59fc601790fd02b1ba38a37c90dbb56272018329dccb8be995f96ecd5d94fafa6043204f3e8f8ee96531685d9e3c55359d2ee8
24 DIST iptables-1.6.2.tar.bz2 639785 BLAKE2B 3d129756fd33c8c73d56d57e3c5595896db86ded14834a45db21b964d82840b62216ce3cea4ae4960e8c5f0671df3cc6bfb222f68d29cf3a8c99e0eee14bf017 SHA512 04f22e969c794246b9aa28055b202638081cfb0bb4a5625c049a30c48ac84cdd41db12a53c5831398cfe47c8f5691aa02b30b0ae3b5afe0f20ec48cf86a799c0
25
26 diff --git a/net-firewall/iptables/iptables-1.6.0-r1.ebuild b/net-firewall/iptables/iptables-1.6.0-r1.ebuild
27 deleted file mode 100644
28 index 11aff377461..00000000000
29 --- a/net-firewall/iptables/iptables-1.6.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,112 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -# Force users doing their own patches to install their own tools
38 -AUTOTOOLS_AUTO_DEPEND=no
39 -
40 -inherit eutils multilib systemd toolchain-funcs autotools flag-o-matic
41 -
42 -DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools"
43 -HOMEPAGE="http://www.netfilter.org/projects/iptables/"
44 -SRC_URI="http://www.netfilter.org/projects/iptables/files/${P}.tar.bz2"
45 -
46 -LICENSE="GPL-2"
47 -# Subslot tracks libxtables as that's the one other packages generally link
48 -# against and iptables changes. Will have to revisit if other sonames change.
49 -SLOT="0/11"
50 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
51 -IUSE="conntrack ipv6 netlink nftables pcap static-libs"
52 -
53 -RDEPEND="
54 - conntrack? ( net-libs/libnetfilter_conntrack )
55 - netlink? ( net-libs/libnfnetlink )
56 - nftables? (
57 - >=net-libs/libmnl-1.0
58 - >=net-libs/libnftnl-1.0.5
59 - )
60 - pcap? ( net-libs/libpcap )
61 -"
62 -DEPEND="${RDEPEND}
63 - virtual/os-headers
64 - virtual/pkgconfig
65 - nftables? (
66 - sys-devel/flex
67 - virtual/yacc
68 - )
69 -"
70 -
71 -src_prepare() {
72 - # use the saner headers from the kernel
73 - rm -f include/linux/{kernel,types}.h
74 -
75 - # Only run autotools if user patched something
76 - epatch_user && eautoreconf || elibtoolize
77 -}
78 -
79 -src_configure() {
80 - # Some libs use $(AR) rather than libtool to build #444282
81 - tc-export AR
82 -
83 - # Hack around struct mismatches between userland & kernel for some ABIs. #472388
84 - use amd64 && [[ ${ABI} == "x32" ]] && append-flags -fpack-struct
85 -
86 - sed -i \
87 - -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \
88 - -e "/nfconntrack=[01]/s:=[01]:=$(usex conntrack 1 0):" \
89 - configure || die
90 -
91 - econf \
92 - --sbindir="${EPREFIX}/sbin" \
93 - --libexecdir="${EPREFIX}/$(get_libdir)" \
94 - --enable-devel \
95 - --enable-shared \
96 - $(use_enable nftables) \
97 - $(use_enable pcap bpf-compiler) \
98 - $(use_enable pcap nfsynproxy) \
99 - $(use_enable static-libs static) \
100 - $(use_enable ipv6)
101 -}
102 -
103 -src_compile() {
104 - # Deal with parallel build errors.
105 - use nftables && emake -C iptables xtables-config-parser.h
106 - emake V=1
107 -}
108 -
109 -src_install() {
110 - default
111 - dodoc INCOMPATIBILITIES iptables/iptables.xslt
112 -
113 - # all the iptables binaries are in /sbin, so might as well
114 - # put these small files in with them
115 - into /
116 - dosbin iptables/iptables-apply
117 - dosym iptables-apply /sbin/ip6tables-apply
118 - doman iptables/iptables-apply.8
119 -
120 - insinto /usr/include
121 - doins include/iptables.h $(use ipv6 && echo include/ip6tables.h)
122 - insinto /usr/include/iptables
123 - doins include/iptables/internal.h
124 -
125 - keepdir /var/lib/iptables
126 - newinitd "${FILESDIR}"/${PN}.init iptables
127 - newconfd "${FILESDIR}"/${PN}-1.4.13.confd iptables
128 - if use ipv6 ; then
129 - keepdir /var/lib/ip6tables
130 - newinitd "${FILESDIR}"/iptables.init ip6tables
131 - newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables
132 - fi
133 -
134 - systemd_dounit "${FILESDIR}"/systemd/iptables-{re,}store.service
135 - if use ipv6 ; then
136 - systemd_dounit "${FILESDIR}"/systemd/ip6tables-{re,}store.service
137 - fi
138 -
139 - # Move important libs to /lib #332175
140 - gen_usr_ldscript -a ip{4,6}tc iptc xtables
141 -
142 - prune_libtool_files
143 -}