summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/radvd/ChangeLog7
-rw-r--r--net-misc/radvd/Manifest32
-rw-r--r--net-misc/radvd/files/radvd.conf11
-rw-r--r--net-misc/radvd/files/radvd.init47
-rw-r--r--net-misc/radvd/metadata.xml4
-rw-r--r--net-misc/radvd/radvd-0.9.1.ebuild9
6 files changed, 92 insertions, 18 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index 0e22bd682a87..87c9e3999f61 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/radvd
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.30 2006/07/06 20:54:07 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.31 2006/07/19 13:02:36 uberlord Exp $
+
+ 19 Jul 2006; Roy Marples <uberlord@gentoo.org> +files/radvd.conf,
+ +files/radvd.init, metadata.xml, radvd-0.9.1.ebuild:
+ Fix some potential quoting issues.
+ Add information to help setup radvd for grsec users.
06 Jul 2006; Henrik Brix Andersen <brix@gentoo.org> radvd-0.9.1.ebuild:
Updated RDEPEND, bug #138203.
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
index c359eb12ed2c..329655757930 100644
--- a/net-misc/radvd/Manifest
+++ b/net-misc/radvd/Manifest
@@ -14,24 +14,32 @@ AUX radvd-0.9.1-init.d 1096 RMD160 18d4a89569b681ef4f55190c9f48d9e7d8bf34e1 SHA1
MD5 ba122dba92f6f0c87d1bd981cfcbb616 files/radvd-0.9.1-init.d 1096
RMD160 18d4a89569b681ef4f55190c9f48d9e7d8bf34e1 files/radvd-0.9.1-init.d 1096
SHA256 7031f2a3f8a9b125eaa3386782891f7caeb791e50b962351ae57d0b8dd65d2f9 files/radvd-0.9.1-init.d 1096
+AUX radvd.conf 445 RMD160 8b9a158617b7a2b11548016d98b037f203f13558 SHA1 9605bce0d235a0f33ecb5cd1dd443da6bd2d29c1 SHA256 a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c
+MD5 7593b61c3198d961cc86dd5b85b9f44a files/radvd.conf 445
+RMD160 8b9a158617b7a2b11548016d98b037f203f13558 files/radvd.conf 445
+SHA256 a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c files/radvd.conf 445
+AUX radvd.init 1127 RMD160 7a913ba075d162d2afdb9014425cae65c8e1c4c4 SHA1 d98dad593df5256ae22814435df1cd0d64f12a65 SHA256 ca1deb129eaf20c5334577f4b4b3b7994f93de9e37d0cb067148397f34c08360
+MD5 b0153a8bb03477d043a34182baeba5ba files/radvd.init 1127
+RMD160 7a913ba075d162d2afdb9014425cae65c8e1c4c4 files/radvd.init 1127
+SHA256 ca1deb129eaf20c5334577f4b4b3b7994f93de9e37d0cb067148397f34c08360 files/radvd.init 1127
DIST radvd-0.9.1.tar.gz 104993 RMD160 844b942384c3258afe52f5645969e02cfa508322 SHA1 4adb8f780ef62acea61e2499d19a5dd78dcb1328 SHA256 d90f95b1af5a853d3cdbc15582ab219bbdd73efc4c7290759bcb895695514e1d
DIST radvd-0.9.tar.gz 104356
-EBUILD radvd-0.9.1.ebuild 1508 RMD160 c51888fdf8a5b9ddfd09ed2285cd0194a2548b22 SHA1 0c7479c1e7acf0af1b1d523f9ac7a8750f64302f SHA256 c538e5aac07e186dfeb0a041413aac080d25a68034905b80d7e57b3851d280ab
-MD5 0888f3b661fbee0dec8fb6da766ecd67 radvd-0.9.1.ebuild 1508
-RMD160 c51888fdf8a5b9ddfd09ed2285cd0194a2548b22 radvd-0.9.1.ebuild 1508
-SHA256 c538e5aac07e186dfeb0a041413aac080d25a68034905b80d7e57b3851d280ab radvd-0.9.1.ebuild 1508
+EBUILD radvd-0.9.1.ebuild 1675 RMD160 e3972e69153b786b1c72a29cea5baeb8bb187b49 SHA1 ceef9274f47f6e5da2a30963f26562b30d2fdce3 SHA256 b9336932eff338b43361c9679ffdefb9f192c9577e2f3b26fbd88f0c1f8cc96b
+MD5 f9786467b1e6f5363aeecabfb0b48b70 radvd-0.9.1.ebuild 1675
+RMD160 e3972e69153b786b1c72a29cea5baeb8bb187b49 radvd-0.9.1.ebuild 1675
+SHA256 b9336932eff338b43361c9679ffdefb9f192c9577e2f3b26fbd88f0c1f8cc96b radvd-0.9.1.ebuild 1675
EBUILD radvd-0.9.ebuild 1485 RMD160 de15b8751ee5ca117706e1418c7fa9c2b627bea8 SHA1 9eb8b57a2ab07f81867e9bc8b992b08520079d41 SHA256 2382ad99f38cbc827cf57982ac915e9771f9690bfdc106dd71cfad2920c5f764
MD5 fcfa14bf2bf353b672dead1b14385526 radvd-0.9.ebuild 1485
RMD160 de15b8751ee5ca117706e1418c7fa9c2b627bea8 radvd-0.9.ebuild 1485
SHA256 2382ad99f38cbc827cf57982ac915e9771f9690bfdc106dd71cfad2920c5f764 radvd-0.9.ebuild 1485
-MISC ChangeLog 3629 RMD160 b26dbe0170aefe4837158d51011dadef73c9b931 SHA1 b8f41c623989ef0a75a5b58bd3318039bdc30ae0 SHA256 4f860f7bcf1d2853163da91364e562a7ee3215c1d368c99c28950abe728173f2
-MD5 7a402e463edca694b45d952d4072051d ChangeLog 3629
-RMD160 b26dbe0170aefe4837158d51011dadef73c9b931 ChangeLog 3629
-SHA256 4f860f7bcf1d2853163da91364e562a7ee3215c1d368c99c28950abe728173f2 ChangeLog 3629
-MISC metadata.xml 316 RMD160 9c59dda808286700446fdd8871d37ba79af3f2f5 SHA1 233f3727ce72805091ecb0906d541552564ed531 SHA256 9e17af907d1df8a1caffc0de4b6b034e372a7c0b56382d824edbcd7ccb94e51a
-MD5 e41411344bcec2e0a59605acf1d821e9 metadata.xml 316
-RMD160 9c59dda808286700446fdd8871d37ba79af3f2f5 metadata.xml 316
-SHA256 9e17af907d1df8a1caffc0de4b6b034e372a7c0b56382d824edbcd7ccb94e51a metadata.xml 316
+MISC ChangeLog 3849 RMD160 980fee78e241f6c8c3cb7a332312485c3c9636e9 SHA1 0931b1720139de19a03e90525039dd35da749009 SHA256 fda930b916ce23fa3cab4f3e3fbc4134c6ff07f7096f5bd2c00af942580c0d9d
+MD5 f9b90016446400ddc7d25a55a9a16fa9 ChangeLog 3849
+RMD160 980fee78e241f6c8c3cb7a332312485c3c9636e9 ChangeLog 3849
+SHA256 fda930b916ce23fa3cab4f3e3fbc4134c6ff07f7096f5bd2c00af942580c0d9d ChangeLog 3849
+MISC metadata.xml 311 RMD160 33fa67b9b29dbd5af68e04df56782bb6e6d0be3d SHA1 cf334dec5ae521d269d3f9f9cb6a47fc182694f6 SHA256 35b12a709a707a893841c32667b3053d585d6a47323e6533ab92615005e8a634
+MD5 ec67e60a80389a5d8ebc59f1efb49137 metadata.xml 311
+RMD160 33fa67b9b29dbd5af68e04df56782bb6e6d0be3d metadata.xml 311
+SHA256 35b12a709a707a893841c32667b3053d585d6a47323e6533ab92615005e8a634 metadata.xml 311
MD5 707572a18aaddef9ed366e5f950f4460 files/digest-radvd-0.9 61
RMD160 7f093ecbbbfc965dce61ef8fec3c9c2e17c1f14e files/digest-radvd-0.9 61
SHA256 8faeb70c2475349c4aeda04597e33e9a46907257b62de29fb5fe501af64eea76 files/digest-radvd-0.9 61
diff --git a/net-misc/radvd/files/radvd.conf b/net-misc/radvd/files/radvd.conf
new file mode 100644
index 000000000000..e025c6862f67
--- /dev/null
+++ b/net-misc/radvd/files/radvd.conf
@@ -0,0 +1,11 @@
+# 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.conf,v 1.1 2006/07/19 13:02:36 uberlord 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.init b/net-misc/radvd/files/radvd.init
new file mode 100644
index 000000000000..af2659926cb2
--- /dev/null
+++ b/net-misc/radvd/files/radvd.init
@@ -0,0 +1,47 @@
+#!/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.init,v 1.1 2006/07/19 13:02:36 uberlord Exp $
+
+CONFIGFILE=/etc/radvd.conf
+PIDFILE=/var/run/radvd/radvd.pid
+SYSCTL_FORWARD=net.ipv6.conf.all.forwarding
+
+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"
+ sysctl "${SYSCTL_FORWARD}=1" >/dev/null
+ eend $?
+ fi
+
+ ebegin "Starting IPv6 Router Advertisement Daemon"
+ start-stop-daemon --start --exec /usr/sbin/radvd \
+ --pidfile "${PIDFILE}" \
+ -- -C "${CONFIGFILE}" -p "${PIDFILE}" -u radvd ${OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping IPv6 Router Advertisement Daemon"
+ start-stop-daemon --stop --exec /usr/sbin/radvd --pidfile "${PIDFILE}"
+ eend $?
+
+ if [[ ${FORWARD} != "no" ]]; then
+ ebegin "Disabling IPv6 forwarding"
+ sysctl "${SYSCTL_FORWARD}=0" > /dev/null
+ eend $?
+ fi
+}
diff --git a/net-misc/radvd/metadata.xml b/net-misc/radvd/metadata.xml
index 2cb6e0657f99..68a9b0db8ed6 100644
--- a/net-misc/radvd/metadata.xml
+++ b/net-misc/radvd/metadata.xml
@@ -6,7 +6,7 @@
<email>ipv6@gentoo.org</email>
</maintainer>
<maintainer>
- <email>brix@gentoo.org</email>
- <name>Henrik Brix Andersen</name>
+ <email>uberlord@gentoo.org</email>
+ <name>Roy Marples</name>
</maintainer>
</pkgmetadata>
diff --git a/net-misc/radvd/radvd-0.9.1.ebuild b/net-misc/radvd/radvd-0.9.1.ebuild
index 0f5addf1bf5e..d710936fde66 100644
--- a/net-misc/radvd/radvd-0.9.1.ebuild
+++ b/net-misc/radvd/radvd-0.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-0.9.1.ebuild,v 1.5 2006/07/06 20:54:07 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-0.9.1.ebuild,v 1.6 2006/07/19 13:02:36 uberlord Exp $
inherit eutils
@@ -40,8 +40,8 @@ src_install() {
dodoc CHANGES README TODO radvd.conf.example
dohtml INTRO.html
- newinitd "${FILESDIR}"/${P}-init.d ${PN}
- newconfd "${FILESDIR}"/${P}-conf.d ${PN}
+ newinitd "${FILESDIR}/${PN}".init "${PN}"
+ newconfd "${FILESDIR}/${PN}".conf "${PN}"
# location of radvd.pid needs to be writeable by the radvd user
keepdir /var/run/radvd
@@ -57,4 +57,7 @@ pkg_postinst() {
einfo "An example configuration file has been installed as"
einfo "/usr/share/doc/${PF}/radvd.conf.example.gz"
einfo
+ einfo "grsec users should allow a specific group to read /proc"
+ einfo "and add the radvd user to that group, otherwise radvd may"
+ einfo "segfault on startup"
}