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/nftables/
Date: Mon, 11 Jun 2018 11:42:58
Message-Id: 1528717320.3638fc1afcc2307a900fd63b1f2f16bf57337a37.polynomial-c@gentoo
1 commit: 3638fc1afcc2307a900fd63b1f2f16bf57337a37
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 11 11:42:00 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 11 11:42:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3638fc1a
7
8 net-firewall/nftables: Removed old.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-firewall/nftables/Manifest | 2 -
13 net-firewall/nftables/nftables-0.8.3.ebuild | 84 -----------------------------
14 net-firewall/nftables/nftables-0.8.4.ebuild | 83 ----------------------------
15 3 files changed, 169 deletions(-)
16
17 diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
18 index 1bef36d3477..528cd04345e 100644
19 --- a/net-firewall/nftables/Manifest
20 +++ b/net-firewall/nftables/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
23 -DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
24 DIST nftables-0.8.5.tar.gz 355403 BLAKE2B 124bc5c35f050cc591f57b39cddcd595f97d14f83aed464b42efed272a03150623667dd0ca2862833c6b86d825d264c79dd1a211b9a6913b5734c0eaa4029b13 SHA512 311ec77646e2bc7da1b46ef2aba7492a5c0fdf23d33633649a6304771c5ce5ad839353b0702e942a82508c01d1c35705b602d91e54913944e03e176dc3f855f8
25 DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
26 DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
27
28 diff --git a/net-firewall/nftables/nftables-0.8.3.ebuild b/net-firewall/nftables/nftables-0.8.3.ebuild
29 deleted file mode 100644
30 index a38042ed9a6..00000000000
31 --- a/net-firewall/nftables/nftables-0.8.3.ebuild
32 +++ /dev/null
33 @@ -1,84 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit autotools linux-info systemd
40 -
41 -DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
42 -HOMEPAGE="https://netfilter.org/projects/nftables/"
43 -SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~arm ~ia64 ~x86"
48 -IUSE="debug doc +gmp +readline"
49 -
50 -RDEPEND=">=net-libs/libmnl-1.0.3:0=
51 - gmp? ( dev-libs/gmp:0= )
52 - readline? ( sys-libs/readline:0= )
53 - >=net-libs/libnftnl-1.0.9:0="
54 -
55 -DEPEND="${RDEPEND}
56 - >=app-text/docbook2X-0.8.8-r4
57 - doc? ( >=app-text/dblatex-0.3.7 )
58 - sys-devel/bison
59 - sys-devel/flex
60 - virtual/pkgconfig"
61 -
62 -S="${WORKDIR}/v${PV}"
63 -
64 -pkg_setup() {
65 - if kernel_is ge 3 13; then
66 - CONFIG_CHECK="~NF_TABLES"
67 - linux-info_pkg_setup
68 - else
69 - eerror "This package requires kernel version 3.13 or newer to work properly."
70 - fi
71 -}
72 -
73 -src_prepare() {
74 - default
75 - eautoreconf
76 -}
77 -
78 -src_configure() {
79 - local myeconfargs=(
80 - --sbindir="${EPREFIX}"/sbin
81 - $(use_enable doc pdf-doc)
82 - $(use_enable debug)
83 - $(use_with readline cli)
84 - $(use_with !gmp mini_gmp)
85 - )
86 - econf "${myeconfargs[@]}"
87 -}
88 -
89 -src_install() {
90 - default
91 -
92 - dodir /usr/libexec/${PN}
93 - exeinto /usr/libexec/${PN}
94 - doexe "${FILESDIR}"/libexec/${PN}.sh
95 -
96 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
97 - newinitd "${FILESDIR}"/${PN}.init ${PN}
98 - keepdir /var/lib/nftables
99 -
100 - systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
101 - systemd_enable_service basic.target ${PN}-restore.service
102 -}
103 -
104 -pkg_postinst() {
105 - local save_file
106 - save_file="${EROOT%/}/var/lib/nftables/rules-save"
107 -
108 - # In order for the nftables-restore systemd service to start
109 - # the save_file must exist.
110 - if [[ ! -f ${save_file} ]]; then
111 - touch ${save_file}
112 - fi
113 -
114 - elog "If you are creating firewall rules before the next system restart "
115 - elog "the nftables-restore service must be manually started in order to "
116 - elog "save those rules on shutdown."
117 -}
118
119 diff --git a/net-firewall/nftables/nftables-0.8.4.ebuild b/net-firewall/nftables/nftables-0.8.4.ebuild
120 deleted file mode 100644
121 index cc5cb45fc15..00000000000
122 --- a/net-firewall/nftables/nftables-0.8.4.ebuild
123 +++ /dev/null
124 @@ -1,83 +0,0 @@
125 -# Copyright 1999-2018 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=6
129 -
130 -inherit autotools linux-info systemd
131 -
132 -DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
133 -HOMEPAGE="https://netfilter.org/projects/nftables/"
134 -SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
135 -
136 -LICENSE="GPL-2"
137 -SLOT="0"
138 -KEYWORDS="~amd64 ~arm ~ia64 ~x86"
139 -IUSE="debug doc +gmp +readline"
140 -
141 -RDEPEND=">=net-libs/libmnl-1.0.3:0=
142 - gmp? ( dev-libs/gmp:0= )
143 - readline? ( sys-libs/readline:0= )
144 - >=net-libs/libnftnl-1.1.0:0="
145 -
146 -DEPEND="${RDEPEND}
147 - >=app-text/docbook2X-0.8.8-r4
148 - doc? ( >=app-text/dblatex-0.3.7 )
149 - sys-devel/bison
150 - sys-devel/flex
151 - virtual/pkgconfig"
152 -
153 -S="${WORKDIR}/v${PV}"
154 -
155 -pkg_setup() {
156 - if kernel_is ge 3 13; then
157 - CONFIG_CHECK="~NF_TABLES"
158 - linux-info_pkg_setup
159 - else
160 - eerror "This package requires kernel version 3.13 or newer to work properly."
161 - fi
162 -}
163 -
164 -src_prepare() {
165 - default
166 - eautoreconf
167 -}
168 -
169 -src_configure() {
170 - local myeconfargs=(
171 - --sbindir="${EPREFIX}"/sbin
172 - $(use_enable doc pdf-doc)
173 - $(use_enable debug)
174 - $(use_with readline cli)
175 - $(use_with !gmp mini_gmp)
176 - )
177 - econf "${myeconfargs[@]}"
178 -}
179 -
180 -src_install() {
181 - default
182 -
183 - exeinto /usr/libexec/${PN}
184 - doexe "${FILESDIR}"/libexec/${PN}.sh
185 -
186 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
187 - newinitd "${FILESDIR}"/${PN}.init ${PN}
188 - keepdir /var/lib/nftables
189 -
190 - systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
191 - systemd_enable_service basic.target ${PN}-restore.service
192 -}
193 -
194 -pkg_postinst() {
195 - local save_file
196 - save_file="${EROOT%/}/var/lib/nftables/rules-save"
197 -
198 - # In order for the nftables-restore systemd service to start
199 - # the save_file must exist.
200 - if [[ ! -f ${save_file} ]]; then
201 - touch ${save_file}
202 - fi
203 -
204 - elog "If you are creating firewall rules before the next system restart "
205 - elog "the nftables-restore service must be manually started in order to "
206 - elog "save those rules on shutdown."
207 -}