commit: 8ee6b34d5f1220957d8433edc088c60221e04cbd Author: Dave Hughes <davidhughes205 <AT> gmail <DOT> com> AuthorDate: Sat Mar 13 17:49:21 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 13 21:26:11 2021 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=8ee6b34d
net-misc/radvd: remove from overlay Package-Manager: Portage-3.0.17, Repoman-3.0.2 RepoMan-Options: --force Manifest-Sign-Key: 0xA1919C830E9498E0 Signed-off-by: Dave Hughes <davidhughes205 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/radvd/Manifest | 2 - net-misc/radvd/files/radvd-1.9.1.init | 70 --------------------------- net-misc/radvd/files/radvd-2.15.init | 70 --------------------------- net-misc/radvd/files/radvd-2.17-r1-musl.patch | 36 -------------- net-misc/radvd/files/radvd.conf | 10 ---- net-misc/radvd/files/radvd.service | 23 --------- net-misc/radvd/files/radvd.tmpfilesd | 1 - net-misc/radvd/metadata.xml | 12 ----- net-misc/radvd/radvd-2.17-r1.ebuild | 64 ------------------------ net-misc/radvd/radvd-2.18.ebuild | 70 --------------------------- 10 files changed, 358 deletions(-) diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest deleted file mode 100644 index 8658b7a..0000000 --- a/net-misc/radvd/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST radvd-2.17.tar.gz 214937 BLAKE2B 1eec22e09607c0396f9539aef203b76d5beca18d1fdf5aa0ff202dcb2ff0e36ed8af74fc7900eb7b16012bfb0672f9660f17c88c222ac0269947d3cf4a270db3 SHA512 117a42c2c007d730b956cf999ac281f50a1a9b57c9428fe0f860cb211ac234ec62f59fead244a80191aaa15ef4ce96fb7dba9bd1a3cb6c3b29f1b6897d7a6132 -DIST radvd-2.18.tar.gz 224183 BLAKE2B 4bacf9e17b78286a032ca5e6b6424aa8742d2e42b3a00a67e5d8beeda139a70a574e69c0d8fde2c2754b6e9c9e92a97dfb6a2a67b4b3ce91740aa8edee994c5e SHA512 b66068ec40d4f228f679946039d7c696bf611eb55b88cb37bbea5e748cf7cdda796dc0b12e0f1e54b26a6af21750c8714ea18a152ef932741c0f0a6a7a9de59a diff --git a/net-misc/radvd/files/radvd-1.9.1.init b/net-misc/radvd/files/radvd-1.9.1.init deleted file mode 100644 index cea8807..0000000 --- a/net-misc/radvd/files/radvd-1.9.1.init +++ /dev/null @@ -1,70 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -CONFIGFILE=/etc/radvd.conf -PIDFILE=/var/run/radvd/radvd.pid -SYSCTL_FORWARD=net.ipv6.conf.all.forwarding - -extra_started_commands="reload" - -depend() { - need net -} - -checkconfig() { - if [ ! -f "${CONFIGFILE}" ]; then - eerror "Configuration file ${CONFIGFILE} not found" - return 1 - fi - - if ! /usr/sbin/radvd -c -C "${CONFIGFILE}" ; then - eerror "Configuration file ${CONFIGFILE} failed test" - return 1 - fi - - checkpath -d -o radvd:radvd ${PIDFILE%/*} -} - -start() { - if [ "${FORWARD}" != "no" ]; then - ebegin "Enabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null - eend $? - fi - - checkconfig || return 1 - - ebegin "Starting IPv6 Router Advertisement Daemon" - start-stop-daemon --start --exec /usr/sbin/radvd \ - --pidfile "${PIDFILE}" \ - -- -C "${CONFIGFILE}" -p "${PIDFILE}" -u radvd ${OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping IPv6 Router Advertisement Daemon" - start-stop-daemon --stop --exec /usr/sbin/radvd --pidfile "${PIDFILE}" - eend $? - - if [ "${FORWARD}" != "no" ]; then - ebegin "Disabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=0" > /dev/null - eend $? - fi -} - -reload() { - if [ "${FORWARD}" != "no" ]; then - ebegin "Enabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null - eend $? - fi - - checkconfig || return 1 - - ebegin "Reloading IPv6 Router Advertisement Daemon" - start-stop-daemon --signal HUP \ - --exec /usr/sbin/radvd --pidfile "${PIDFILE}" - eend $? -} diff --git a/net-misc/radvd/files/radvd-2.15.init b/net-misc/radvd/files/radvd-2.15.init deleted file mode 100644 index 2c96cca..0000000 --- a/net-misc/radvd/files/radvd-2.15.init +++ /dev/null @@ -1,70 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -CONFIGFILE=/etc/radvd.conf -PIDFILE=/run/radvd/radvd.pid -SYSCTL_FORWARD=net.ipv6.conf.all.forwarding - -extra_started_commands="reload" - -depend() { - need net -} - -checkconfig() { - if [ ! -f "${CONFIGFILE}" ]; then - eerror "Configuration file ${CONFIGFILE} not found" - return 1 - fi - - if ! /usr/sbin/radvd -c -C "${CONFIGFILE}" ; then - eerror "Configuration file ${CONFIGFILE} failed test" - return 1 - fi - - checkpath -d -o radvd:radvd ${PIDFILE%/*} -} - -start() { - if [ "${FORWARD}" != "no" ]; then - ebegin "Enabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null - eend $? - fi - - checkconfig || return 1 - - ebegin "Starting IPv6 Router Advertisement Daemon" - start-stop-daemon --start --exec /usr/sbin/radvd \ - --pidfile "${PIDFILE}" \ - -- -C "${CONFIGFILE}" -p "${PIDFILE}" -u radvd ${OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping IPv6 Router Advertisement Daemon" - start-stop-daemon --stop --exec /usr/sbin/radvd --pidfile "${PIDFILE}" - eend $? - - if [ "${FORWARD}" != "no" ]; then - ebegin "Disabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=0" > /dev/null - eend $? - fi -} - -reload() { - if [ "${FORWARD}" != "no" ]; then - ebegin "Enabling IPv6 forwarding" - sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null - eend $? - fi - - checkconfig || return 1 - - ebegin "Reloading IPv6 Router Advertisement Daemon" - start-stop-daemon --signal HUP \ - --exec /usr/sbin/radvd --pidfile "${PIDFILE}" - eend $? -} diff --git a/net-misc/radvd/files/radvd-2.17-r1-musl.patch b/net-misc/radvd/files/radvd-2.17-r1-musl.patch deleted file mode 100644 index 157c0b1..0000000 --- a/net-misc/radvd/files/radvd-2.17-r1-musl.patch +++ /dev/null @@ -1,36 +0,0 @@ -Index: radvd-2.17/includes.h -=================================================================== ---- radvd-2.17.orig/includes.h -+++ radvd-2.17/includes.h -@@ -76,7 +76,12 @@ - #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> -Index: radvd-2.17/netlink.c -=================================================================== ---- radvd-2.17.orig/netlink.c -+++ radvd-2.17/netlink.c -@@ -22,7 +22,14 @@ - #include <errno.h> - #include <linux/netlink.h> - #include <linux/rtnetlink.h> -+ -+#if !defined(__GLIBC__) && defined(linux) -+#include <linux/if.h> -+#define IF_NAMESIZE IFNAMSIZ -+#else - #include <net/if.h> -+#endif -+ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> diff --git a/net-misc/radvd/files/radvd.conf b/net-misc/radvd/files/radvd.conf deleted file mode 100644 index 6ba8f65..0000000 --- a/net-misc/radvd/files/radvd.conf +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Extra options to pass to radvd -OPTIONS="" - -# Set this to "no" to tell the init script NOT to set up IPv6 forwarding -# using /proc/sys/net/ipv6/conf/all/forwarding -# Only change this if you know what you're doing! -FORWARD="yes" diff --git a/net-misc/radvd/files/radvd.service b/net-misc/radvd/files/radvd.service deleted file mode 100644 index b496267..0000000 --- a/net-misc/radvd/files/radvd.service +++ /dev/null @@ -1,23 +0,0 @@ -[Unit] -Description=Router advertisement daemon for IPv6 -Documentation=man:radvd(8) -After=network.target - -[Service] -Type=forking -ExecStartPre=/usr/sbin/radvd --configtest -ExecStart=/usr/sbin/radvd --username radvd --logmethod stderr --debug 0 -ExecReload=/usr/sbin/radvd --configtest ; \ - /bin/kill -HUP $MAINPID -CPUSchedulingPolicy=idle -PIDFile=/run/radvd/radvd.pid -RuntimeDirectory=radvd -CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE CAP_NET_RAW -PrivateTmp=yes -PrivateDevices=yes -ProtectSystem=full -ProtectHome=yes -NoNewPrivileges=yes - -[Install] -WantedBy=multi-user.target diff --git a/net-misc/radvd/files/radvd.tmpfilesd b/net-misc/radvd/files/radvd.tmpfilesd deleted file mode 100644 index 26f203d..0000000 --- a/net-misc/radvd/files/radvd.tmpfilesd +++ /dev/null @@ -1 +0,0 @@ -d /run/radvd 0755 radvd radvd diff --git a/net-misc/radvd/metadata.xml b/net-misc/radvd/metadata.xml deleted file mode 100644 index 8307f5e..0000000 --- a/net-misc/radvd/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>x...@gentoo.org</email> - <name>Michael Weber</name> - </maintainer> - <maintainer type="person"> - <email>prometheanf...@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> -</pkgmetadata> diff --git a/net-misc/radvd/radvd-2.17-r1.ebuild b/net-misc/radvd/radvd-2.17-r1.ebuild deleted file mode 100644 index 152cb04..0000000 --- a/net-misc/radvd/radvd-2.17-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user eutils readme.gentoo-r1 - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ppc x86" -IUSE="selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -PATCHES=( "${FILESDIR}"/"${PN}"-2.17-r1-musl.patch -) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -src_configure() { - econf --with-pidfile=/run/radvd/radvd.pid \ - --disable-silent-rules \ - --with-systemdsystemunitdir=no \ - $(use_with test check) -} - -src_install() { - default - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - readme.gentoo_create_doc -} - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf. -See ${ROOT}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." diff --git a/net-misc/radvd/radvd-2.18.ebuild b/net-misc/radvd/radvd-2.18.ebuild deleted file mode 100644 index df0ffa6..0000000 --- a/net-misc/radvd/radvd-2.18.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user eutils readme.gentoo-r1 - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -PATCHES=( "${FILESDIR}"/"${PN}"-2.17-r1-musl.patch -) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -src_configure() { - econf --with-pidfile=/run/radvd/radvd.pid \ - --disable-silent-rules \ - --with-systemdsystemunitdir=no \ - $(use_with test check) -} - -src_install() { - default - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - if use kernel_FreeBSD ; then - sed -i -e \ - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ - "${D}"/etc/init.d/${PN} || die - fi - - readme.gentoo_create_doc -} - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf. -See ${ROOT}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."