From 79310914e3301354214d809e53c3ede780c6425f Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Mon, 1 Nov 2010 03:44:51 +0000 Subject: revbump (Portage version: 2.1.8.3/cvs/Linux x86_64) --- net-misc/ndisc6/ChangeLog | 9 ++++++++- net-misc/ndisc6/files/rdnssd.rc-1 | 25 +++++++++++++++++++++++++ net-misc/ndisc6/files/resolvconf-1 | 7 +++++++ net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild | 25 +++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 net-misc/ndisc6/files/rdnssd.rc-1 create mode 100644 net-misc/ndisc6/files/resolvconf-1 create mode 100644 net-misc/ndisc6/ndisc6-0.9.9-r1.ebuild (limited to 'net-misc') 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 +ndisc6-0.9.9-r1.ebuild, + +files/rdnssd.rc-1, +files/resolvconf-1: + Revbump to fix wrong file contents. Thanks to Maxime de Roucy + on bug #343431 for the report. 07 Oct 2010; Pawel Hajdan jr 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