diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ndisc6/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/ndisc6/files/rdnssd.rc-1 | 25 | ||||
-rw-r--r-- | net-misc/ndisc6/files/resolvconf-1 | 7 | ||||
-rw-r--r-- | net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild | 25 |
4 files changed, 65 insertions, 1 deletions
diff --git a/net-misc/ndisc6/ChangeLog b/net-misc/ndisc6/ChangeLog index dc2f8872c85b..4e5d84119658 100644 --- a/net-misc/ndisc6/ChangeLog +++ b/net-misc/ndisc6/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/ndisc6 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ndisc6/ChangeLog,v 1.3 2010/10/07 09:53:52 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ndisc6/ChangeLog,v 1.4 2010/11/01 03:44:51 xmw Exp $ + +*ndisc6-0.9.9-r1 (01 Nov 2010) + + 01 Nov 2010; Michael Weber <xmw@gentoo.org> +ndisc6-0.9.9-r1.ebuild, + +files/rdnssd.rc-1, +files/resolvconf-1: + Revbump to fix wrong file contents. Thanks to Maxime de Roucy + <maxime.deroucy@gmail.com> on bug #343431 for the report. 07 Oct 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> ndisc6-0.9.9.ebuild: x86 stable wrt bug #339337 diff --git a/net-misc/ndisc6/files/rdnssd.rc-1 b/net-misc/ndisc6/files/rdnssd.rc-1 new file mode 100644 index 000000000000..69e1f9754364 --- /dev/null +++ b/net-misc/ndisc6/files/rdnssd.rc-1 @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ndisc6/files/rdnssd.rc-1,v 1.1 2010/11/01 03:44:51 xmw Exp $ + +depend() { + need localmount + before net + use logger +} + +start() { + ebegin "Starting rdnssd" + start-stop-daemon --start --quiet --exec /usr/sbin/rdnssd -- ${RDNSSD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping rdnssd" + start-stop-daemon --stop --quiet --pidfile /var/lib/run/rdnssd.pid + if [ -x /sbin/resolvconf ]; then + /sbin/resolvconf -f -d rdnssd || true + fi + eend $? +} diff --git a/net-misc/ndisc6/files/resolvconf-1 b/net-misc/ndisc6/files/resolvconf-1 new file mode 100644 index 000000000000..c08aa6a3df19 --- /dev/null +++ b/net-misc/ndisc6/files/resolvconf-1 @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -x /sbin/resolvconf ]; then + exec /sbin/resolvconf -a rdnssd </var/lib/run/rdnssd/resolv.conf +else + exec "`dirname "$0"`"/merge-hook +fi diff --git a/net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild b/net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild new file mode 100644 index 000000000000..1ad776e8b709 --- /dev/null +++ b/net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild,v 1.1 2010/11/01 03:44:51 xmw Exp $ + +DESCRIPTION="Recursive DNS Servers discovery Daemon (rdnssd) for IPv6" +HOMEPAGE="http://www.remlab.net/ndisc6/" +SRC_URI="http://www.remlab.net/files/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-lang/perl + sys-devel/gettext" +RDEPEND="" + +src_install() { + emake DESTDIR="${D}" install || die + newinitd "${FILESDIR}"/rdnssd.rc-1 rdnssd || die + newconfd "${FILESDIR}"/rdnssd.conf rdnssd || die + exeinto /etc/rdnssd + doexe "${FILESDIR}"/resolvconf-1 || die + dodoc AUTHORS ChangeLog NEWS README || die +} |