diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-05-24 03:21:35 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-05-24 03:21:35 +0000 |
commit | 1a6ea911365cd8d886670372d4de6cebea98b9ec (patch) | |
tree | 4592cb9857ef26669bc94eb0290c53de9cf6433b /net-misc/netkit-routed | |
parent | add init scripts and add alpha to KEYWORDS (diff) | |
download | gentoo-2-1a6ea911365cd8d886670372d4de6cebea98b9ec.tar.gz gentoo-2-1a6ea911365cd8d886670372d4de6cebea98b9ec.tar.bz2 gentoo-2-1a6ea911365cd8d886670372d4de6cebea98b9ec.zip |
add init scripts and add alpha to KEYWORDS
Diffstat (limited to 'net-misc/netkit-routed')
-rw-r--r-- | net-misc/netkit-routed/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/netkit-routed/Manifest | 9 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/digest-netkit-routed-0.17-r2 | 1 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/routed.confd | 13 | ||||
-rw-r--r-- | net-misc/netkit-routed/files/routed.initd | 21 | ||||
-rw-r--r-- | net-misc/netkit-routed/netkit-routed-0.17-r2.ebuild | 40 |
6 files changed, 87 insertions, 5 deletions
diff --git a/net-misc/netkit-routed/ChangeLog b/net-misc/netkit-routed/ChangeLog index ca0b8e160044..e46d851fa231 100644 --- a/net-misc/netkit-routed/ChangeLog +++ b/net-misc/netkit-routed/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/netkit-routed # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/ChangeLog,v 1.7 2003/02/24 19:42:04 dragon Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/ChangeLog,v 1.8 2003/05/24 03:21:28 agriffis Exp $ + +*netkit-routed-0.17-r2 (23 May 2003) + + 23 May 2003; Aron Griffis <agriffis@gentoo.org> + netkit-routed-0.17-r2.ebuild, files/routed.confd, files/routed.initd: + Fix bug 21124 by adding alpha to KEYWORDS and providing an init script 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords 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 +} |