diff options
Diffstat (limited to 'net-misc/netkit-routed/files')
-rw-r--r-- | net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch | 20 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/netkit-routed-0.17-time.patch | 20 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/routed.confd | 16 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/routed.initd | 20 |
4 files changed, 0 insertions, 76 deletions
diff --git a/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch b/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch deleted file mode 100644 index 16607a22b9b1..000000000000 --- a/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch +++ /dev/null @@ -1,20 +0,0 @@ -echo -n isn't supported by all shells, use printf instead, which is portable. - -Patch by Andrew Miller. - -https://bugs.gentoo.org/529992 - ---- a/configure -+++ b/configure -@@ -235,10 +235,7 @@ - - echo 'Generating MCONFIG...' - ( -- echo -n '# Generated by configure (confgen version 2) on ' -- date -- echo '#' -- echo -+ printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n" - - echo "SBINDIR=$SBINDIR" - echo "MANDIR=$MANDIR" diff --git a/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch b/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch deleted file mode 100644 index 9aa866d48367..000000000000 --- a/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/routed/main.c 2000-01-06 00:16:12.000000000 +0100 -+++ b/routed/main.c 2010-08-26 23:04:56.000000000 +0200 -@@ -57,6 +57,7 @@ - #include <syslog.h> - #include <assert.h> - #include <sys/utsname.h> -+#include <time.h> - - #define BUFSPACE (127*1024) /* max. input buffer size to request */ - ---- a/routed/trace.c 2000-07-23 01:25:11.000000000 +0200 -+++ b/routed/trace.c 2010-08-26 23:05:17.000000000 +0200 -@@ -50,6 +50,7 @@ - #include <syslog.h> - #include <errno.h> - #include "pathnames.h" -+#include <time.h> - - #define NRECORDS 50 /* size of circular trace buffer */ - diff --git a/net-misc/netkit-routed/files/routed.confd b/net-misc/netkit-routed/files/routed.confd deleted file mode 100644 index 1b27653ec59d..000000000000 --- a/net-misc/netkit-routed/files/routed.confd +++ /dev/null @@ -1,16 +0,0 @@ -# /etc/conf.d/routed - -# Normally routed is simply run as "/usr/sbin/routed". Set this -# option to run routed with additional parameters, for example: -# -# -d Enable additional debugging information -# -s Force routed to supply routing information -# -q Opposite of the -s option -# -# Additional options are listed in the routed(8) manual page. -# -# Our default configuration is to run quietly, i.e. don't publish -# routes. This is to keep from catching users unaware since routed -# will publish routes if there's more than one interface configured on -# the machine. -ROUTED_OPTS="-q" diff --git a/net-misc/netkit-routed/files/routed.initd b/net-misc/netkit-routed/files/routed.initd deleted file mode 100644 index 3b022fb54586..000000000000 --- a/net-misc/netkit-routed/files/routed.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting routed" - /sbin/start-stop-daemon --start --quiet \ - --exec /usr/sbin/routed -- ${ROUTED_OPTS} - eend $? -} - -stop() { - ebegin "Stopping routed" - /sbin/start-stop-daemon --stop --quiet --exec /usr/sbin/routed - eend $? -} |