summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/ndisc6
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/ndisc6')
-rw-r--r--net-misc/ndisc6/Manifest2
-rw-r--r--net-misc/ndisc6/files/rdnssd.conf2
-rw-r--r--net-misc/ndisc6/files/rdnssd.rc25
-rw-r--r--net-misc/ndisc6/files/rdnssd.rc-125
-rw-r--r--net-misc/ndisc6/files/resolvconf7
-rw-r--r--net-misc/ndisc6/files/resolvconf-17
-rw-r--r--net-misc/ndisc6/metadata.xml9
-rw-r--r--net-misc/ndisc6/ndisc6-0.9.9-r2.ebuild25
-rw-r--r--net-misc/ndisc6/ndisc6-0.9.9.ebuild25
-rw-r--r--net-misc/ndisc6/ndisc6-1.0.2.ebuild25
10 files changed, 152 insertions, 0 deletions
diff --git a/net-misc/ndisc6/Manifest b/net-misc/ndisc6/Manifest
new file mode 100644
index 000000000000..e6c8acd29b50
--- /dev/null
+++ b/net-misc/ndisc6/Manifest
@@ -0,0 +1,2 @@
+DIST ndisc6-0.9.9.tar.bz2 233493 RMD160 19f9f9dbd5f072a57ccffe8acad2f3fb8a06eb87 SHA1 9abca715b07b5aab6aa95335aad1bffa4edc6916 SHA256 fbc5909f9509082bf235c040071b3c2ff9f58af48b4e39c4c6bf706690c9cc44
+DIST ndisc6-1.0.2.tar.bz2 239249 RMD160 b88675ad9e0fd4a497d36be356f968799721d529 SHA1 4cb64703cb5056d5457dc96854e6f3d1d4402512 SHA256 6acec8a0cb9efa3ac98456f46c3016aeec0598b0c7557c95242b5228ad62ca7a
diff --git a/net-misc/ndisc6/files/rdnssd.conf b/net-misc/ndisc6/files/rdnssd.conf
new file mode 100644
index 000000000000..c5bad72b0d96
--- /dev/null
+++ b/net-misc/ndisc6/files/rdnssd.conf
@@ -0,0 +1,2 @@
+# Options to pass to the rdnssd process
+RDNSSD_OPTS="-H /etc/rdnssd/resolvconf"
diff --git a/net-misc/ndisc6/files/rdnssd.rc b/net-misc/ndisc6/files/rdnssd.rc
new file mode 100644
index 000000000000..5c5c1154dd0a
--- /dev/null
+++ b/net-misc/ndisc6/files/rdnssd.rc
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/run/rdnssd.pid
+ if [ -x /sbin/resolvconf ]; then
+ /sbin/resolvconf -f -d rdnssd || true
+ fi
+ eend $?
+}
diff --git a/net-misc/ndisc6/files/rdnssd.rc-1 b/net-misc/ndisc6/files/rdnssd.rc-1
new file mode 100644
index 000000000000..4d79f6a578e9
--- /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
+# $Id$
+
+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 b/net-misc/ndisc6/files/resolvconf
new file mode 100644
index 000000000000..335c6c2707df
--- /dev/null
+++ b/net-misc/ndisc6/files/resolvconf
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x /sbin/resolvconf ]; then
+ exec /sbin/resolvconf -a rdnssd </var/run/rdnssd/resolv.conf
+else
+ exec "`dirname "$0"`"/merge-hook
+fi
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/metadata.xml b/net-misc/ndisc6/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/net-misc/ndisc6/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/net-misc/ndisc6/ndisc6-0.9.9-r2.ebuild b/net-misc/ndisc6/ndisc6-0.9.9-r2.ebuild
new file mode 100644
index 000000000000..75a195475bef
--- /dev/null
+++ b/net-misc/ndisc6/ndisc6-0.9.9-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm ~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
+ newexe "${FILESDIR}"/resolvconf-1 resolvconf || die
+ dodoc AUTHORS ChangeLog NEWS README || die
+}
diff --git a/net-misc/ndisc6/ndisc6-0.9.9.ebuild b/net-misc/ndisc6/ndisc6-0.9.9.ebuild
new file mode 100644
index 000000000000..cb3a67f00eed
--- /dev/null
+++ b/net-misc/ndisc6/ndisc6-0.9.9.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ sys-devel/gettext"
+RDEPEND=""
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ newinitd "${FILESDIR}"/rdnssd.rc rdnssd || die
+ newconfd "${FILESDIR}"/rdnssd.conf rdnssd || die
+ exeinto /etc/rdnssd
+ doexe "${FILESDIR}"/resolvconf || die
+ dodoc AUTHORS ChangeLog NEWS README || die
+}
diff --git a/net-misc/ndisc6/ndisc6-1.0.2.ebuild b/net-misc/ndisc6/ndisc6-1.0.2.ebuild
new file mode 100644
index 000000000000..4c3afaea98f4
--- /dev/null
+++ b/net-misc/ndisc6/ndisc6-1.0.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm ~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
+ newexe "${FILESDIR}"/resolvconf-1 resolvconf || die
+ dodoc AUTHORS ChangeLog NEWS README || die
+}