Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/radvd/, net-misc/radvd/files/
Date: Sat, 15 May 2021 18:26:11
Message-Id: 1621103136.e0781b9663a80448f0aa5fefe5c14d6f0ad195e6.asturm@gentoo
1 commit: e0781b9663a80448f0aa5fefe5c14d6f0ad195e6
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 21:17:15 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 18:25:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0781b96
7
8 net-misc/radvd: Drop 2.17 and 2.18, EAPI6--
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-misc/radvd/Manifest | 2 -
14 net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch | 48 ----------------
15 net-misc/radvd/radvd-2.17-r1.ebuild | 66 ---------------------
16 net-misc/radvd/radvd-2.17-r2.ebuild | 70 -----------------------
17 net-misc/radvd/radvd-2.18-r1.ebuild | 73 ------------------------
18 net-misc/radvd/radvd-2.18.ebuild | 69 ----------------------
19 6 files changed, 328 deletions(-)
20
21 diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
22 index 20f1a9e7a00..acedd8af8fa 100644
23 --- a/net-misc/radvd/Manifest
24 +++ b/net-misc/radvd/Manifest
25 @@ -1,3 +1 @@
26 -DIST radvd-2.17.tar.gz 214937 BLAKE2B 1eec22e09607c0396f9539aef203b76d5beca18d1fdf5aa0ff202dcb2ff0e36ed8af74fc7900eb7b16012bfb0672f9660f17c88c222ac0269947d3cf4a270db3 SHA512 117a42c2c007d730b956cf999ac281f50a1a9b57c9428fe0f860cb211ac234ec62f59fead244a80191aaa15ef4ce96fb7dba9bd1a3cb6c3b29f1b6897d7a6132
27 -DIST radvd-2.18.tar.gz 224183 BLAKE2B 4bacf9e17b78286a032ca5e6b6424aa8742d2e42b3a00a67e5d8beeda139a70a574e69c0d8fde2c2754b6e9c9e92a97dfb6a2a67b4b3ce91740aa8edee994c5e SHA512 b66068ec40d4f228f679946039d7c696bf611eb55b88cb37bbea5e748cf7cdda796dc0b12e0f1e54b26a6af21750c8714ea18a152ef932741c0f0a6a7a9de59a
28 DIST radvd-2.19.tar.gz 222794 BLAKE2B 1c877d5a9eda6bda41b5c20ac9c1e28a26defc192fe14fc2d65888280bc96fc1ff6f4212ccaeac5f7e899087b2805772ed4c0cbbda163b2a87c79a2c178eda2b SHA512 caa621fd77e34ff6858d60a41b0ee02aff967ac14f2b84c402359744f4bece5c1563419860431c328adc0385e9893ed1f2421d652247a3aa0dfc0aaad1e01233
29
30 diff --git a/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch b/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch
31 deleted file mode 100644
32 index 09fb29f9e31..00000000000
33 --- a/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch
34 +++ /dev/null
35 @@ -1,48 +0,0 @@
36 -nd_opt_6co: fix serialization
37 -
38 -Bug: https://github.com/reubenhwk/radvd/issues/77
39 -Bug: https://bugs.gentoo.org/637958
40 ---- a/radvd.h
41 -+++ b/radvd.h
42 -@@ -261,5 +261,3 @@ struct nd_opt_6co {
43 - uint8_t nd_opt_6co_context_len;
44 -- uint8_t nd_opt_6co_res : 3;
45 -- uint8_t nd_opt_6co_c : 1;
46 -- uint8_t nd_opt_6co_cid : 4;
47 -+ uint8_t nd_opt_6co_res_c_cid; /* [ res=3-bits | c=1-bit | cid=4-bits ] */
48 - uint16_t nd_opt_6co_reserved;
49 ---- a/send.c
50 -+++ b/send.c
51 -@@ -621,5 +621,5 @@ static void add_ra_option_lowpanco(struct safe_buffer *sb, struct AdvLowpanCo co
52 - co.nd_opt_6co_context_len = lowpanco->ContextLength;
53 -- co.nd_opt_6co_c = lowpanco->ContextCompressionFlag;
54 -- co.nd_opt_6co_cid = lowpanco->AdvContextID;
55 -- co.nd_opt_6co_valid_lifetime = lowpanco->AdvLifeTime;
56 -+ co.nd_opt_6co_res_c_cid = ((lowpanco->ContextCompressionFlag ? 1 : 0) << 4)
57 -+ | (lowpanco->AdvContextID & 0x0F);
58 -+ co.nd_opt_6co_valid_lifetime = htons(lowpanco->AdvLifeTime);
59 - co.nd_opt_6co_con_prefix = lowpanco->AdvContextPrefix;
60 -@@ -637,5 +637,5 @@ static void add_ra_option_abro(struct safe_buffer *sb, struct AdvAbro const *abr
61 - abro.nd_opt_abro_len = 3;
62 -- abro.nd_opt_abro_ver_low = abroo->Version[1];
63 -- abro.nd_opt_abro_ver_high = abroo->Version[0];
64 -- abro.nd_opt_abro_valid_lifetime = abroo->ValidLifeTime;
65 -+ abro.nd_opt_abro_ver_low = htons(abroo->Version[1]);
66 -+ abro.nd_opt_abro_ver_high = htons(abroo->Version[0]);
67 -+ abro.nd_opt_abro_valid_lifetime = htons(abroo->ValidLifeTime);
68 - abro.nd_opt_abro_6lbr_address = abroo->LBRaddress;
69 ---- a/test/send.c
70 -+++ b/test/send.c
71 -@@ -311,6 +311,5 @@ START_TEST(test_add_ra_option_lowpanco)
72 - unsigned char expected[] = {
73 -- 0x22, 0x03, 0x32, 0x48, 0x00, 0x00, 0xe8, 0x03, 0x00, 0x00, 0x00, 0x00,
74 -+ 0x22, 0x03, 0x32, 0x14, 0x00, 0x00, 0x03, 0xe8, 0x00, 0x00, 0x00, 0x00,
75 - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
76 - };
77 --
78 - ck_assert_int_eq(sb.used, sizeof(expected));
79 -@@ -336,3 +335,3 @@ START_TEST(test_add_ra_option_abro)
80 - unsigned char expected[] = {
81 -- 0x23, 0x03, 0x0a, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x80, 0x00, 0x00,
82 -+ 0x23, 0x03, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x02, 0xfe, 0x80, 0x00, 0x00,
83 - 0x00, 0x00, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
84
85 diff --git a/net-misc/radvd/radvd-2.17-r1.ebuild b/net-misc/radvd/radvd-2.17-r1.ebuild
86 deleted file mode 100644
87 index 7bed2c874d9..00000000000
88 --- a/net-misc/radvd/radvd-2.17-r1.ebuild
89 +++ /dev/null
90 @@ -1,66 +0,0 @@
91 -# Copyright 1999-2021 Gentoo Authors
92 -# Distributed under the terms of the GNU General Public License v2
93 -
94 -EAPI=6
95 -
96 -inherit systemd user readme.gentoo-r1
97 -
98 -DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
99 -HOMEPAGE="http://v6web.litech.org/radvd/"
100 -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
101 -
102 -LICENSE="BSD"
103 -SLOT="0"
104 -KEYWORDS="amd64 arm ~arm64 ~hppa ppc sparc x86"
105 -IUSE="kernel_FreeBSD selinux test"
106 -RESTRICT="!test? ( test )"
107 -
108 -CDEPEND="dev-libs/libdaemon"
109 -DEPEND="${CDEPEND}
110 - sys-devel/bison
111 - sys-devel/flex
112 - virtual/pkgconfig
113 - test? ( dev-libs/check )"
114 -RDEPEND="${CDEPEND}
115 - selinux? ( sec-policy/selinux-radvd )
116 -"
117 -DOCS=( CHANGES README TODO radvd.conf.example )
118 -
119 -pkg_setup() {
120 - enewgroup radvd
121 - enewuser radvd -1 -1 /dev/null radvd
122 -}
123 -
124 -src_configure() {
125 - econf --with-pidfile=/run/radvd/radvd.pid \
126 - --with-systemdsystemunitdir=no \
127 - $(use_with test check)
128 -}
129 -
130 -src_install() {
131 - default
132 -
133 - insinto /usr/share/doc/${PF}/html
134 - doins INTRO.html
135 -
136 - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
137 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
138 -
139 - systemd_dounit "${FILESDIR}"/${PN}.service
140 -
141 - if use kernel_FreeBSD ; then
142 - sed -i -e \
143 - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
144 - "${D}"/etc/init.d/${PN} || die
145 - fi
146 -
147 - readme.gentoo_create_doc
148 -}
149 -
150 -DISABLE_AUTOFORMATTING=1
151 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf.
152 -See ${ROOT}usr/share/doc/${PF} for an example.
153 -
154 -grsecurity users should allow a specific group to read /proc
155 -and add the radvd user to that group, otherwise radvd may
156 -segfault on startup."
157
158 diff --git a/net-misc/radvd/radvd-2.17-r2.ebuild b/net-misc/radvd/radvd-2.17-r2.ebuild
159 deleted file mode 100644
160 index f323029a594..00000000000
161 --- a/net-misc/radvd/radvd-2.17-r2.ebuild
162 +++ /dev/null
163 @@ -1,70 +0,0 @@
164 -# Copyright 1999-2021 Gentoo Authors
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI=6
168 -
169 -inherit systemd user readme.gentoo-r1
170 -
171 -DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
172 -HOMEPAGE="http://v6web.litech.org/radvd/"
173 -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
174 -
175 -LICENSE="BSD"
176 -SLOT="0"
177 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~sparc ~x86"
178 -IUSE="kernel_FreeBSD selinux test"
179 -RESTRICT="!test? ( test )"
180 -
181 -CDEPEND="dev-libs/libdaemon"
182 -DEPEND="${CDEPEND}
183 - sys-devel/bison
184 - sys-devel/flex
185 - virtual/pkgconfig
186 - test? ( dev-libs/check )"
187 -RDEPEND="${CDEPEND}
188 - selinux? ( sec-policy/selinux-radvd )
189 -"
190 -DOCS=( CHANGES README TODO radvd.conf.example )
191 -
192 -PATCHES=(
193 - "${FILESDIR}"/${P}-nd_opt_6co.patch
194 -)
195 -
196 -pkg_setup() {
197 - enewgroup radvd
198 - enewuser radvd -1 -1 /dev/null radvd
199 -}
200 -
201 -src_configure() {
202 - econf --with-pidfile=/run/radvd/radvd.pid \
203 - --with-systemdsystemunitdir=no \
204 - $(use_with test check)
205 -}
206 -
207 -src_install() {
208 - default
209 -
210 - insinto /usr/share/doc/${PF}/html
211 - doins INTRO.html
212 -
213 - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
214 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
215 -
216 - systemd_dounit "${FILESDIR}"/${PN}.service
217 -
218 - if use kernel_FreeBSD ; then
219 - sed -i -e \
220 - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
221 - "${D}"/etc/init.d/${PN} || die
222 - fi
223 -
224 - readme.gentoo_create_doc
225 -}
226 -
227 -DISABLE_AUTOFORMATTING=1
228 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf.
229 -See ${ROOT}usr/share/doc/${PF} for an example.
230 -
231 -grsecurity users should allow a specific group to read /proc
232 -and add the radvd user to that group, otherwise radvd may
233 -segfault on startup."
234
235 diff --git a/net-misc/radvd/radvd-2.18-r1.ebuild b/net-misc/radvd/radvd-2.18-r1.ebuild
236 deleted file mode 100644
237 index e64526ed134..00000000000
238 --- a/net-misc/radvd/radvd-2.18-r1.ebuild
239 +++ /dev/null
240 @@ -1,73 +0,0 @@
241 -# Copyright 1999-2021 Gentoo Authors
242 -# Distributed under the terms of the GNU General Public License v2
243 -
244 -EAPI=6
245 -
246 -inherit systemd user readme.gentoo-r1 toolchain-funcs
247 -
248 -DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
249 -HOMEPAGE="http://v6web.litech.org/radvd/"
250 -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
251 -
252 -LICENSE="BSD"
253 -SLOT="0"
254 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
255 -IUSE="kernel_FreeBSD selinux test"
256 -RESTRICT="!test? ( test )"
257 -
258 -CDEPEND="dev-libs/libdaemon"
259 -DEPEND="${CDEPEND}
260 - sys-devel/bison
261 - sys-devel/flex
262 - virtual/pkgconfig
263 - test? ( dev-libs/check )"
264 -RDEPEND="${CDEPEND}
265 - selinux? ( sec-policy/selinux-radvd )
266 -"
267 -DOCS=( CHANGES README TODO radvd.conf.example )
268 -
269 -PATCHES=(
270 -)
271 -
272 -pkg_setup() {
273 - enewgroup radvd
274 - enewuser radvd -1 -1 /dev/null radvd
275 -}
276 -
277 -src_configure() {
278 - econf --with-pidfile=/run/radvd/radvd.pid \
279 - --with-systemdsystemunitdir=no \
280 - $(use_with test check)
281 -}
282 -
283 -src_compile() {
284 - emake AR="$(tc-getAR)"
285 -}
286 -
287 -src_install() {
288 - default
289 -
290 - insinto /usr/share/doc/${PF}/html
291 - doins INTRO.html
292 -
293 - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
294 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
295 -
296 - systemd_dounit "${FILESDIR}"/${PN}.service
297 -
298 - if use kernel_FreeBSD ; then
299 - sed -i -e \
300 - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
301 - "${D}"/etc/init.d/${PN} || die
302 - fi
303 -
304 - readme.gentoo_create_doc
305 -}
306 -
307 -DISABLE_AUTOFORMATTING=1
308 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf.
309 -See ${ROOT}usr/share/doc/${PF} for an example.
310 -
311 -grsecurity users should allow a specific group to read /proc
312 -and add the radvd user to that group, otherwise radvd may
313 -segfault on startup."
314
315 diff --git a/net-misc/radvd/radvd-2.18.ebuild b/net-misc/radvd/radvd-2.18.ebuild
316 deleted file mode 100644
317 index a39b4d0db4e..00000000000
318 --- a/net-misc/radvd/radvd-2.18.ebuild
319 +++ /dev/null
320 @@ -1,69 +0,0 @@
321 -# Copyright 1999-2021 Gentoo Authors
322 -# Distributed under the terms of the GNU General Public License v2
323 -
324 -EAPI=6
325 -
326 -inherit systemd user readme.gentoo-r1
327 -
328 -DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
329 -HOMEPAGE="http://v6web.litech.org/radvd/"
330 -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
331 -
332 -LICENSE="BSD"
333 -SLOT="0"
334 -KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 sparc x86"
335 -IUSE="kernel_FreeBSD selinux test"
336 -RESTRICT="!test? ( test )"
337 -
338 -CDEPEND="dev-libs/libdaemon"
339 -DEPEND="${CDEPEND}
340 - sys-devel/bison
341 - sys-devel/flex
342 - virtual/pkgconfig
343 - test? ( dev-libs/check )"
344 -RDEPEND="${CDEPEND}
345 - selinux? ( sec-policy/selinux-radvd )
346 -"
347 -DOCS=( CHANGES README TODO radvd.conf.example )
348 -
349 -PATCHES=(
350 -)
351 -
352 -pkg_setup() {
353 - enewgroup radvd
354 - enewuser radvd -1 -1 /dev/null radvd
355 -}
356 -
357 -src_configure() {
358 - econf --with-pidfile=/run/radvd/radvd.pid \
359 - --with-systemdsystemunitdir=no \
360 - $(use_with test check)
361 -}
362 -
363 -src_install() {
364 - default
365 -
366 - insinto /usr/share/doc/${PF}/html
367 - doins INTRO.html
368 -
369 - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
370 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
371 -
372 - systemd_dounit "${FILESDIR}"/${PN}.service
373 -
374 - if use kernel_FreeBSD ; then
375 - sed -i -e \
376 - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
377 - "${D}"/etc/init.d/${PN} || die
378 - fi
379 -
380 - readme.gentoo_create_doc
381 -}
382 -
383 -DISABLE_AUTOFORMATTING=1
384 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf.
385 -See ${ROOT}usr/share/doc/${PF} for an example.
386 -
387 -grsecurity users should allow a specific group to read /proc
388 -and add the radvd user to that group, otherwise radvd may
389 -segfault on startup."