commit:     607e9fda035483fe37972010b13e662d69579946
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Dec 19 17:37:05 2020 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 18:25:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607e9fda

net-misc/radvd: remove unused patch and files

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18725
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-misc/radvd/files/radvd-1.9.1.init         | 70 ---------------------------
 net-misc/radvd/files/radvd-2.14-headers.patch | 26 ----------
 net-misc/radvd/files/radvd.tmpfilesd          |  1 -
 3 files changed, 97 deletions(-)

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 cea88073000..00000000000
--- 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.14-headers.patch 
b/net-misc/radvd/files/radvd-2.14-headers.patch
deleted file mode 100644
index 36f6c3b7de4..00000000000
--- a/net-misc/radvd/files/radvd-2.14-headers.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Fix build failure:
-    recv.c:17: /usr/include/linux/if_arp.h:114:8: error: redefinition of 
'struct
-on modern linux-headers.
-
-Patch by Murilo Morais
-Bug: https://bugs.gentoo.org/625236
---- a/includes.h       2015-11-19 10:58:52.000000000 -0300
-+++ b/includes.h       2017-07-15 09:32:17.024877205 -0300
-@@ -86,7 +86,7 @@
- #include <net/if_types.h>
- #endif
- 
--#if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)
-+#if (defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)) || 
HAVE_LINUX_IF_ARP_H
- #include <net/if_arp.h>
- #endif                                /* defined(HAVE_NET_IF_ARP_H) && 
!defined(ARPHRD_ETHER) */
- 
-@@ -101,8 +101,3 @@
- #ifdef HAVE_IFADDRS_H
- #include <ifaddrs.h>
- #endif
--
--#ifdef HAVE_LINUX_IF_ARP_H
--#include <linux/if_arp.h>
--#endif
--

diff --git a/net-misc/radvd/files/radvd.tmpfilesd 
b/net-misc/radvd/files/radvd.tmpfilesd
deleted file mode 100644
index 26f203d1aaa..00000000000
--- a/net-misc/radvd/files/radvd.tmpfilesd
+++ /dev/null
@@ -1 +0,0 @@
-d      /run/radvd      0755 radvd radvd

Reply via email to