summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-05-24 03:21:35 +0000
committerAron Griffis <agriffis@gentoo.org>2003-05-24 03:21:35 +0000
commit07e1513eba8e0468ddad18228a8ac6abc6769da5 (patch)
tree02d10d5e8555fb05ad9442194d016f5b35e6af31 /net-misc/netkit-routed
parentadd init scripts and add alpha to KEYWORDS (diff)
downloadhistorical-07e1513eba8e0468ddad18228a8ac6abc6769da5.tar.gz
historical-07e1513eba8e0468ddad18228a8ac6abc6769da5.tar.bz2
historical-07e1513eba8e0468ddad18228a8ac6abc6769da5.zip
add init scripts and add alpha to KEYWORDS
Diffstat (limited to 'net-misc/netkit-routed')
-rw-r--r--net-misc/netkit-routed/Manifest9
-rw-r--r--net-misc/netkit-routed/files/digest-netkit-routed-0.17-r21
-rw-r--r--net-misc/netkit-routed/files/routed.confd13
-rw-r--r--net-misc/netkit-routed/files/routed.initd21
-rw-r--r--net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild40
5 files changed, 80 insertions, 4 deletions
diff --git a/net-misc/netkit-routed/Manifest b/net-misc/netkit-routed/Manifest
index a6f015ca83dc..80a2a5031182 100644
--- a/net-misc/netkit-routed/Manifest
+++ b/net-misc/netkit-routed/Manifest
@@ -1,6 +1,7 @@
-MD5 32a8b07e14cacf6194a458d283d2f6b6 netkit-routed-0.17-r2.ebuild 1003
-MD5 56e2ab40195e216fa899d2859d35b9c4 ChangeLog 1122
-MD5 fbf0c63aedb19c64ede14b9dd56fc036 files/routed.confd 474
-MD5 70255e99c0d3f7754b010c583e71ce28 files/routed.initd 419
+MD5 80f324a24d44c11a495d8c0c59fd0e9f netkit-routed-0.17-r2.ebuild 1003
+MD5 98decb70c774606425b10e4a60317d13 netkit-routed-0.17-r1.ebuild 821
+MD5 ce44e1d4cca202b99860163bb908e1f9 ChangeLog 1358
+MD5 5c1c27182b761767d9b3315d3670c7eb files/routed.confd 582
+MD5 7dfb897bf6f7995f9c2045f2264513d8 files/routed.initd 527
MD5 d2b37fe233957364eb10712cef981573 files/digest-netkit-routed-0.17-r1 74
MD5 d2b37fe233957364eb10712cef981573 files/digest-netkit-routed-0.17-r2 74
diff --git a/net-misc/netkit-routed/files/digest-netkit-routed-0.17-r2 b/net-misc/netkit-routed/files/digest-netkit-routed-0.17-r2
new file mode 100644
index 000000000000..5ac45fad5be7
--- /dev/null
+++ b/net-misc/netkit-routed/files/digest-netkit-routed-0.17-r2
@@ -0,0 +1 @@
+MD5 3a9507876db23109be6d1f41ced5570a netkit-routed_0.17.orig.tar.gz 36435
diff --git a/net-misc/netkit-routed/files/routed.confd b/net-misc/netkit-routed/files/routed.confd
new file mode 100644
index 000000000000..19f5318898e5
--- /dev/null
+++ b/net-misc/netkit-routed/files/routed.confd
@@ -0,0 +1,13 @@
+# Copyright 2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/files/routed.confd,v 1.1 2003/05/24 03:21:28 agriffis Exp $
+
+# Normally routed is simply run as "/usr/sbin/routed". Set this
+# option to run routed with additional paramters, 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.
+ROUTED_OPTS=""
diff --git a/net-misc/netkit-routed/files/routed.initd b/net-misc/netkit-routed/files/routed.initd
new file mode 100644
index 000000000000..9b4d8d9c50f2
--- /dev/null
+++ b/net-misc/netkit-routed/files/routed.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/files/routed.initd,v 1.1 2003/05/24 03:21:28 agriffis Exp $
+
+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 $?
+}
diff --git a/net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild b/net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild
new file mode 100644
index 000000000000..4fdb7ac15e5c
--- /dev/null
+++ b/net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild,v 1.1 2003/05/24 03:21:28 agriffis Exp $
+
+DESCRIPTION="Netkit - routed"
+SRC_URI="http://ftp.debian.org/debian/pool/main/n/netkit-routed/${PN}_${PV}.orig.tar.gz"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+
+KEYWORDS="x86 sparc ppc mips alpha"
+LICENSE="BSD"
+SLOT="0"
+
+src_compile() {
+ ./configure || die
+ make || die
+}
+
+src_install() {
+ into /usr
+
+ # ripquery
+ dosbin ripquery/ripquery
+ doman ripquery/ripquery.8
+
+ # routed
+ dosbin routed/routed
+ dosym routed /usr/sbin/in.routed
+ doman routed/routed.8
+ dosym routed.8.gz /usr/share/man/man8/in.routed.8.gz
+
+ # docs
+ dodoc README ChangeLog
+ newdoc routed/README README.routed
+
+ # init scripts
+ insinto /etc/conf.d
+ newins "${FILESDIR}/routed.confd" routed
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/routed.initd" routed
+}