diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-03 13:56:18 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-03 13:56:18 +0000 |
commit | c695c9b3c52ae9f4388bd2f4e49f5f14ad67ead9 (patch) | |
tree | 13abf1dc965dd44f835ce0c2bd9780ad8aea7c38 /net-misc/radvd | |
parent | minor dep changes (diff) | |
download | gentoo-2-c695c9b3c52ae9f4388bd2f4e49f5f14ad67ead9.tar.gz gentoo-2-c695c9b3c52ae9f4388bd2f4e49f5f14ad67ead9.tar.bz2 gentoo-2-c695c9b3c52ae9f4388bd2f4e49f5f14ad67ead9.zip |
Pruned old ebuild.
(Portage version: 2.0.53)
Diffstat (limited to 'net-misc/radvd')
-rw-r--r-- | net-misc/radvd/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/radvd/files/digest-radvd-0.8-r1 | 1 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd | 22 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd-0.8-conf.d | 11 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd-0.8-init.d | 45 | ||||
-rw-r--r-- | net-misc/radvd/radvd-0.8-r1.ebuild | 60 |
6 files changed, 7 insertions, 141 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index d6d58fe15e2f..c06593dba597 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/radvd -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.25 2005/12/24 16:03:44 killerfox Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.26 2006/01/03 13:56:18 brix Exp $ + + 03 Jan 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/radvd-0.8-conf.d, -files/radvd-0.8-init.d, -files/radvd, + -radvd-0.8-r1.ebuild: + Pruned old ebuild. 24 Dec 2005; Rene Nussbaumer <killerfox@gentoo.org> radvd-0.9.ebuild: Stable on hppa. diff --git a/net-misc/radvd/files/digest-radvd-0.8-r1 b/net-misc/radvd/files/digest-radvd-0.8-r1 deleted file mode 100644 index 734bed4ec89f..000000000000 --- a/net-misc/radvd/files/digest-radvd-0.8-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 374c18e6aa456b02951b42b661cf855a radvd-0.8.tar.gz 103682 diff --git a/net-misc/radvd/files/radvd b/net-misc/radvd/files/radvd deleted file mode 100644 index 485a7709ff1f..000000000000 --- a/net-misc/radvd/files/radvd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd,v 1.4 2004/07/15 00:10:29 agriffis Exp $ - -depend () { - need net -} - -start () { - ebegin "Starting radvd" - echo 1 > /proc/sys/net/ipv6/conf/all/forwarding - start-stop-daemon --start --quiet --exec /usr/sbin/radvd -- -u radvd -p /var/run/radvd/radvd.pid - eend -} - -stop() { - ebegin "Stopping radvd" - echo 0 > /proc/sys/net/ipv6/conf/all/forwarding - start-stop-daemon --stop --quiet --pidfile /var/run/radvd/radvd.pid - eend -} diff --git a/net-misc/radvd/files/radvd-0.8-conf.d b/net-misc/radvd/files/radvd-0.8-conf.d deleted file mode 100644 index dd507293e627..000000000000 --- a/net-misc/radvd/files/radvd-0.8-conf.d +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-0.8-conf.d,v 1.1 2005/08/31 13:28:08 brix Exp $ - -# Extra options to pass to radvd -OPTIONS="" - -# Set this to "no" to tell the init script NOT to set up IPv6 forwarding -# using /proc/sys/net/ipv6/conf/all/forwarding -# Only change this if you know what you're doing! -FORWARD="yes" diff --git a/net-misc/radvd/files/radvd-0.8-init.d b/net-misc/radvd/files/radvd-0.8-init.d deleted file mode 100644 index 6994874459ca..000000000000 --- a/net-misc/radvd/files/radvd-0.8-init.d +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-0.8-init.d,v 1.1 2005/08/31 13:28:08 brix Exp $ - -CONFIGFILE=/etc/radvd.conf -PIDFILE=/var/run/radvd/radvd.pid - -depend () { - need net -} - -checkconfig() { - if [ ! -f ${CONFIGFILE} ]; then - eerror "Configuration file ${CONFIGFILE} not found" - return 1 - fi -} - -start () { - checkconfig || return 1 - - if [[ ${FORWARD} != "no" ]]; then - ebegin "Enabling IPv6 forwarding" - echo 1 > /proc/sys/net/ipv6/conf/all/forwarding - eend ${?} - fi - - ebegin "Starting IPv6 Router Advertisement Daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/radvd -- \ - -C ${CONFIGFILE} -p ${PIDFILE} -u radvd ${OPTIONS} - eend ${?} -} - -stop() { - ebegin "Stopping IPv6 Router Advertisement Daemon" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - eend ${?} - - if [[ ${FORWARD} != "no" ]]; then - ebegin "Disabling IPv6 forwarding" - echo 0 > /proc/sys/net/ipv6/conf/all/forwarding - eend ${?} - fi -} diff --git a/net-misc/radvd/radvd-0.8-r1.ebuild b/net-misc/radvd/radvd-0.8-r1.ebuild deleted file mode 100644 index 7efaf52f98d6..000000000000 --- a/net-misc/radvd/radvd-0.8-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-0.8-r1.ebuild,v 1.4 2005/11/11 23:10:16 hansmi Exp $ - -inherit eutils - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 arm hppa ppc ~sparc x86" - -IUSE="" -DEPEND="virtual/libc" - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd - - # Force ownership of radvd user and group, bug #19647 - [ -d "/var/run/radvd" ] && chown radvd:radvd /var/run/radvd -} - -src_compile() { - econf \ - --with-pidfile=/var/run/radvd/radvd.pid \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - make DESTDIR=${D} install || die "emake install failed" - - dodoc CHANGES README TODO radvd.conf.example - dohtml INTRO.html - - newinitd ${FILESDIR}/${P}-init.d ${PN} - newconfd ${FILESDIR}/${P}-conf.d ${PN} - - # Location of radvd.pid needs to be writeable by the radvd user - keepdir /var/run/radvd - chown -R radvd:radvd ${D}/var/run/radvd - chmod 755 ${D}/var/run/radvd -} - -pkg_postinst() { - einfo - einfo "To use ${PN} you must create the configuration file" - einfo "/etc/radvd.conf" - einfo - einfo "An example configuration file has been installed as" - einfo "/usr/share/doc/${PF}/radvd.conf.example.gz" - einfo - einfo "Please note that the radvd.conf file has been" - einfo "moved from /etc/radvd/radvd.conf to /etc/radvd.conf" - einfo -} |