summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-19 18:37:05 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-12-20 19:25:51 +0100
commit607e9fda035483fe37972010b13e662d69579946 (patch)
tree44494fa70fe1eb64821742763b48ab9b5264ee98 /net-misc/radvd
parentdev-python/pysaml2: remove unused patch(es) (diff)
downloadgentoo-607e9fda035483fe37972010b13e662d69579946.tar.gz
gentoo-607e9fda035483fe37972010b13e662d69579946.tar.bz2
gentoo-607e9fda035483fe37972010b13e662d69579946.zip
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@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18725 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/files/radvd-1.9.1.init70
-rw-r--r--net-misc/radvd/files/radvd-2.14-headers.patch26
-rw-r--r--net-misc/radvd/files/radvd.tmpfilesd1
3 files changed, 0 insertions, 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 cea880730008..000000000000
--- 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 36f6c3b7de4e..000000000000
--- 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 26f203d1aaa7..000000000000
--- a/net-misc/radvd/files/radvd.tmpfilesd
+++ /dev/null
@@ -1 +0,0 @@
-d /run/radvd 0755 radvd radvd