commit:     d0668b469bdc2b3c83028e3df8a5e75bcd4edb16
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  8 05:13:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  8 05:21:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0668b46

net-misc/radvd: drop 2.19-r5, 2.19-r6, 2.19-r7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/radvd/Manifest                            |  1 -
 net-misc/radvd/files/radvd-2.19-clang16.patch      | 62 ------------------
 .../radvd/files/radvd-2.19-configure-c99.patch     | 46 -------------
 net-misc/radvd/files/radvd-2.19-musl-include.patch | 28 --------
 net-misc/radvd/radvd-2.19-r5.ebuild                | 75 ---------------------
 net-misc/radvd/radvd-2.19-r6.ebuild                | 76 ----------------------
 net-misc/radvd/radvd-2.19-r7.ebuild                | 76 ----------------------
 7 files changed, 364 deletions(-)

diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
index 6d93dd095ce1..fe95ccac4ff1 100644
--- a/net-misc/radvd/Manifest
+++ b/net-misc/radvd/Manifest
@@ -1,2 +1 @@
-DIST radvd-2.19.tar.xz 168264 BLAKE2B 
e28705837263d2d377721e4eaee56b2f86d636d77cf052f08a7c74d5d7f3871f6821a2681ba4997f283b4debe9b3df28a88b01f6fc16b87ee7c3f8b6bbf431b4
 SHA512 
a1eb40af90fc83ebab2517c16a0f7e85c11338ab276bec400b7c33177748d1e36bc5abd7e373b6742f12f7c690dd7ae6b951bc832c7de9bbb56f7e9bc844ed22
 DIST radvd-2.20.tar.xz 188720 BLAKE2B 
4f7d0388ba0a0f0ba44e0a4afa1dc8c0e81e6c4b9b77257d4b493db058bffe7c570d20a0bc057184257ae8a5223ce88b01b4a219cd206bdd81142350484e32c6
 SHA512 
22d6d8888aae326d65e82359879082f5b7d6977eacb198e3f4af2ae9fba4c1d8723eccebd8857ddc60053ae08f0ca0a5406729883dd76766d3ec61a4b5e5e956

diff --git a/net-misc/radvd/files/radvd-2.19-clang16.patch 
b/net-misc/radvd/files/radvd-2.19-clang16.patch
deleted file mode 100644
index 793126dbcc1b..000000000000
--- a/net-misc/radvd/files/radvd-2.19-clang16.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-https://github.com/radvd-project/radvd/commit/f4baa88bfd77710a6034e3c23b95ef5efb80f83b
-https://bugs.gentoo.org/880823
-
-From ff7ab0cf445236f30e58531175ba912614fed952 Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Thu, 17 Nov 2022 22:03:25 +0000
-Subject: [PATCH 1/2] Makefile.am: drop -Wno-implicit-function-declaration
-
-1. Clang 16 makes -Wimplicit-function-declaration error by default
-   (and it's planned that GCC 14 will do the same) so we need to fix
-   the real problem. This is papering over it.
-
-2. It's not true that there's nothing we can do about it. Fix in a follow-up
-   commit.
-
-Bug: https://bugs.gentoo.org/880823
-Fixes: b5e6b09cf914a960ac3b1676b77d3ea9f91821c7
-Signed-off-by: Sam James <[email protected]>
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -66,9 +66,6 @@ radvd_LDADD = \
- scanner.c: gram.h
- gram.h: gram.c
- 
--libradvd_parser_a_CFLAGS = \
--      -Wno-implicit-function-declaration
--
- libradvd_parser_a_SOURCES = \
-       gram.h \
-       gram.y \
-
-From e0f5bcd9091a5f7abd423fce9f372c8079849a64 Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Thu, 17 Nov 2022 22:03:25 +0000
-Subject: [PATCH 2/2] gram.y: Fix -Wimplicit-function-declaration
-
-Clang 16 makes -Wimplicit-function-declaration an error by default.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki 
[2],
-or the (new) c-std-porting mailing list [3].
-
-[0] https://lwn.net/Articles/913505/
-[1] 
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
-
-Bug: https://bugs.gentoo.org/880823
-Signed-off-by: Sam James <[email protected]>
---- a/gram.y
-+++ b/gram.y
-@@ -20,6 +20,10 @@
- 
- #define YYERROR_VERBOSE 1
- 
-+int yylex (void);
-+void yyset_in (FILE * _in_str);
-+int yylex_destroy (void);
-+
- #if 0 /* no longer necessary? */
- #ifndef HAVE_IN6_ADDR_S6_ADDR
- # ifdef __FreeBSD__
-

diff --git a/net-misc/radvd/files/radvd-2.19-configure-c99.patch 
b/net-misc/radvd/files/radvd-2.19-configure-c99.patch
deleted file mode 100644
index 38a6d070657f..000000000000
--- a/net-misc/radvd/files/radvd-2.19-configure-c99.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://github.com/radvd-project/radvd/commit/5acb1c64766dfaf37c9745632f99feecf11d1403
-
-From 5acb1c64766dfaf37c9745632f99feecf11d1403 Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Fri, 3 Feb 2023 02:33:13 +0000
-Subject: [PATCH] configure.ac: Fix -Wint-conversion warnings
-
-These become fatal with Clang 15 and may lead to incorrect configure
-test results.
-
-```
--ignoreme: warning: incompatible pointer to integer conversion initializing 
'int' with an expression of type 'uint16_t[8]' (aka 'unsigned short[8]') 
[-Wint-conversion]
-+ignoreme: error: incompatible pointer to integer conversion initializing 
'int' with an expression of type 'uint16_t[8]' (aka 'unsigned short[8]') 
[-Wint-conversion]
- int u =  in6_u.s6_addr16;
-     ^    ~~~~~~~~~~~~~~~
-```
-
-Signed-off-by: Sam James <[email protected]>
---- a/configure.ac
-+++ b/configure.ac
-@@ -178,15 +178,19 @@ AC_HEADER_TIME
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_MSG_CHECKING(whether struct sockaddr_in6 has sin6_scope_id)
--AC_TRY_COMPILE([#include <sys/types.h>
--#include <netinet/in.h>], [static struct sockaddr_in6 ac_sin6; int ac_size = 
--sizeof (ac_sin6.sin6_scope_id);], [AC_MSG_RESULT(yes); 
AC_DEFINE([HAVE_SIN6_SCOPE_ID],
-+AC_TRY_COMPILE([#include <stdint.h>
-+#include <sys/types.h>
-+#include <netinet/in.h>], [
-+static struct sockaddr_in6 ac_sin6;
-+uint32_t ac_size = sizeof (ac_sin6.sin6_scope_id);
-+], [AC_MSG_RESULT(yes); AC_DEFINE([HAVE_SIN6_SCOPE_ID],
- 1, [whether struct sockaddr_in6 has sin6_scope_id])],
- AC_MSG_RESULT(no))
- 
- AC_MSG_CHECKING(whether struct in6_addr has u6_addrXX and defines s6_addrXX)
--AC_TRY_COMPILE([#include <netinet/in.h>], [static struct in6_addr in6_u; 
--int u =  in6_u.s6_addr16;], [AC_MSG_RESULT(yes); 
AC_DEFINE([HAVE_IN6_ADDR_S6_ADDR],
-+AC_TRY_COMPILE([#include <stdint.h>
-+#include <netinet/in.h>], [static struct in6_addr in6_u;
-+uint16_t u =  in6_u.s6_addr16[0];], [AC_MSG_RESULT(yes); 
AC_DEFINE([HAVE_IN6_ADDR_S6_ADDR],
- 1, [whether struct in6_addr has u6_addrXX and defines s6_addrXX])],
- AC_MSG_RESULT(no))
- 
-

diff --git a/net-misc/radvd/files/radvd-2.19-musl-include.patch 
b/net-misc/radvd/files/radvd-2.19-musl-include.patch
deleted file mode 100644
index cba7666f8129..000000000000
--- a/net-misc/radvd/files/radvd-2.19-musl-include.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f
-https://github.com/radvd-project/radvd/pull/161
-https://github.com/radvd-project/radvd/issues/158
-
-From: Jonathan Davies <[email protected]>
-Date: Thu, 25 Nov 2021 15:29:18 +0000
-Subject: [PATCH] Reverts the include.h change in
- 46883f8a1a02fe42040dd8e48aec0ed871545d4d
-
-Closes: #158
-
-Signed-off-by: Jonathan Davies <[email protected]>
---- a/includes.h
-+++ b/includes.h
-@@ -76,12 +76,7 @@
- #include <sys/sysctl.h>
- #endif
- 
--#if !defined(__GLIBC__) && defined(linux)
--#include <linux/if.h>
--#define IF_NAMESIZE IFNAMSIZ
--#else
- #include <net/if.h>
--#endif
- 
- #ifdef HAVE_NET_IF_DL_H
- #include <net/if_dl.h>
-

diff --git a/net-misc/radvd/radvd-2.19-r5.ebuild 
b/net-misc/radvd/radvd-2.19-r5.ebuild
deleted file mode 100644
index 3e2a9c55892e..000000000000
--- a/net-misc/radvd/radvd-2.19-r5.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools readme.gentoo-r1 systemd toolchain-funcs
-
-DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
-HOMEPAGE="https://radvd.litech.org/";
-SRC_URI="https://v6web.litech.org/radvd/dist/${P}.tar.xz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
-IUSE="selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       sys-devel/bison
-       sys-devel/flex
-       virtual/pkgconfig"
-DEPEND="test? ( dev-libs/check )"
-RDEPEND="
-       acct-group/radvd
-       acct-user/radvd
-       selinux? ( sec-policy/selinux-radvd )"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-musl-include.patch
-       "${FILESDIR}"/${P}-clang16.patch
-)
-
-src_prepare() {
-       default
-
-       # Drop once clang16 patch is in a release
-       eautoreconf
-}
-
-src_configure() {
-       # Needs reentrant functions (yyset_in), bug #884375
-       export LEX=flex
-
-       econf --with-pidfile=/run/radvd/radvd.pid \
-               --with-systemdsystemunitdir=no \
-               $(use_with test check)
-}
-
-src_compile() {
-       emake AR="$(tc-getAR)"
-}
-
-src_install() {
-       HTML_DOCS=( INTRO.html )
-       default
-       dodoc radvd.conf.example
-
-       newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
-       newconfd "${FILESDIR}"/${PN}.conf ${PN}
-
-       systemd_dounit "${FILESDIR}"/${PN}.service
-
-       DISABLE_AUTOFORMATTING=1
-       local DOC_CONTENTS="Please create a configuration file 
${EPREFIX}/etc/radvd.conf.
-See ${EPREFIX}/usr/share/doc/${PF} for an example.
-
-grsecurity users should allow a specific group to read /proc
-and add the radvd user to that group, otherwise radvd may
-segfault on startup."
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

diff --git a/net-misc/radvd/radvd-2.19-r6.ebuild 
b/net-misc/radvd/radvd-2.19-r6.ebuild
deleted file mode 100644
index 1d81dd69fda5..000000000000
--- a/net-misc/radvd/radvd-2.19-r6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools readme.gentoo-r1 systemd toolchain-funcs
-
-DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
-HOMEPAGE="https://radvd.litech.org/";
-SRC_URI="https://v6web.litech.org/radvd/dist/${P}.tar.xz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       sys-devel/bison
-       sys-devel/flex
-       virtual/pkgconfig"
-DEPEND="test? ( dev-libs/check )"
-RDEPEND="
-       acct-group/radvd
-       acct-user/radvd
-       selinux? ( sec-policy/selinux-radvd )"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-musl-include.patch
-       "${FILESDIR}"/${P}-clang16.patch
-       "${FILESDIR}"/${P}-configure-c99.patch
-)
-
-src_prepare() {
-       default
-
-       # Drop once clang16 patch is in a release
-       eautoreconf
-}
-
-src_configure() {
-       # Needs reentrant functions (yyset_in), bug #884375
-       export LEX=flex
-
-       econf --with-pidfile=/run/radvd/radvd.pid \
-               --with-systemdsystemunitdir=no \
-               $(use_with test check)
-}
-
-src_compile() {
-       emake AR="$(tc-getAR)"
-}
-
-src_install() {
-       HTML_DOCS=( INTRO.html )
-       default
-       dodoc radvd.conf.example
-
-       newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
-       newconfd "${FILESDIR}"/${PN}.conf ${PN}
-
-       systemd_dounit "${FILESDIR}"/${PN}.service
-
-       DISABLE_AUTOFORMATTING=1
-       local DOC_CONTENTS="Please create a configuration file 
${EPREFIX}/etc/radvd.conf.
-See ${EPREFIX}/usr/share/doc/${PF} for an example.
-
-grsecurity users should allow a specific group to read /proc
-and add the radvd user to that group, otherwise radvd may
-segfault on startup."
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

diff --git a/net-misc/radvd/radvd-2.19-r7.ebuild 
b/net-misc/radvd/radvd-2.19-r7.ebuild
deleted file mode 100644
index 098813b8cd13..000000000000
--- a/net-misc/radvd/radvd-2.19-r7.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools readme.gentoo-r1 systemd toolchain-funcs
-
-DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
-HOMEPAGE="https://radvd.litech.org/";
-SRC_URI="https://v6web.litech.org/radvd/dist/${P}.tar.xz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
-IUSE="selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       sys-devel/bison
-       sys-devel/flex
-       virtual/pkgconfig"
-DEPEND="test? ( dev-libs/check )"
-RDEPEND="
-       acct-group/radvd
-       acct-user/radvd
-       selinux? ( sec-policy/selinux-radvd )"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-musl-include.patch
-       "${FILESDIR}"/${P}-clang16.patch
-       "${FILESDIR}"/${P}-configure-c99.patch
-)
-
-src_prepare() {
-       default
-
-       # Drop once clang16 patch is in a release
-       eautoreconf
-}
-
-src_configure() {
-       # Needs reentrant functions (yyset_in), bug #884375
-       export LEX=flex
-
-       econf --with-pidfile=/run/radvd/radvd.pid \
-               --with-systemdsystemunitdir=no \
-               $(use_with test check)
-}
-
-src_compile() {
-       emake AR="$(tc-getAR)"
-}
-
-src_install() {
-       HTML_DOCS=( INTRO.html )
-       default
-       dodoc radvd.conf.example
-
-       newinitd "${FILESDIR}"/${PN}-2.19.init ${PN}
-       newconfd "${FILESDIR}"/${PN}.conf ${PN}
-
-       systemd_dounit "${FILESDIR}"/${PN}.service
-
-       DISABLE_AUTOFORMATTING=1
-       local DOC_CONTENTS="Please create a configuration file 
${EPREFIX}/etc/radvd.conf.
-See ${EPREFIX}/usr/share/doc/${PF} for an example.
-
-grsecurity users should allow a specific group to read /proc
-and add the radvd user to that group, otherwise radvd may
-segfault on startup."
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

Reply via email to