summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-07-28 16:00:00 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-07-28 16:00:00 +0000
commit3e379431ea5f377dcf5161f6fe9d7d87b4caccac (patch)
tree07cde2601154672615c9804d9277ebea670ce7fe /net-misc/radvd
parentalpha/ia64/x86 stable wrt #212244 (diff)
downloadgentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.tar.gz
gentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.tar.bz2
gentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.zip
fix metadata.xml, fix paths shown in pkg_postinst(), removed old versions
(Portage version: 2.1.5.6)
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/ChangeLog12
-rw-r--r--net-misc/radvd/files/radvd-0.9-conf.d11
-rw-r--r--net-misc/radvd/files/radvd-0.9-init.d46
-rw-r--r--net-misc/radvd/metadata.xml2
-rw-r--r--net-misc/radvd/radvd-0.9.1.ebuild63
-rw-r--r--net-misc/radvd/radvd-0.9.ebuild60
-rw-r--r--net-misc/radvd/radvd-1.0.ebuild62
-rw-r--r--net-misc/radvd/radvd-1.1.ebuild12
8 files changed, 18 insertions, 250 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index 6a82a982fa7a..23c434c9803d 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-misc/radvd
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.41 2008/07/25 17:14:29 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.42 2008/07/28 16:00:00 wschlich Exp $
+
+ 28 Jul 2008; Wolfram Schlich <wschlich@gentoo.org>
+ -files/radvd-0.9-conf.d, -files/radvd-0.9-init.d, metadata.xml,
+ -radvd-0.9.ebuild, -radvd-0.9.1.ebuild, -radvd-1.0.ebuild,
+ radvd-1.1.ebuild:
+ removed old versions
+
+ 28 Jul 2008; Wolfram Schlich <wschlich@gentoo.org> metadata.xml,
+ radvd-1.1.ebuild:
+ fix metadata.xml, fix paths shown in pkg_postinst()
25 Jul 2008; Friedrich Oslage <bluebird@gentoo.org> radvd-1.0-r1.ebuild:
Stable on sparc
diff --git a/net-misc/radvd/files/radvd-0.9-conf.d b/net-misc/radvd/files/radvd-0.9-conf.d
deleted file mode 100644
index e4bab83ccabf..000000000000
--- a/net-misc/radvd/files/radvd-0.9-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.9-conf.d,v 1.1 2005/10/20 12:55:05 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.9-init.d b/net-misc/radvd/files/radvd-0.9-init.d
deleted file mode 100644
index 80fbb019d50a..000000000000
--- a/net-misc/radvd/files/radvd-0.9-init.d
+++ /dev/null
@@ -1,46 +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.9-init.d,v 1.1 2005/10/20 12:55:05 brix 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 --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"
- sysctl ${SYSCTL_FORWARD}=0 > /dev/null
- eend ${?}
- fi
-}
diff --git a/net-misc/radvd/metadata.xml b/net-misc/radvd/metadata.xml
index d8aeb2136a44..a0ff9c5560ac 100644
--- a/net-misc/radvd/metadata.xml
+++ b/net-misc/radvd/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>latexter@gentoo.org</email>
+ <email>latexer@gentoo.org</email>
<name>Peter Johanson</name>
</maintainer>
<maintainer>
diff --git a/net-misc/radvd/radvd-0.9.1.ebuild b/net-misc/radvd/radvd-0.9.1.ebuild
deleted file mode 100644
index d710936fde66..000000000000
--- a/net-misc/radvd/radvd-0.9.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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.6 2006/07/19 13:02:36 uberlord 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="sys-devel/bison
- sys-devel/flex
- sys-apps/sed"
-RDEPEND=">=sys-process/procps-3.2"
-
-pkg_setup() {
- enewgroup radvd
- enewuser radvd -1 -1 /dev/null radvd
-
- # force ownership of radvd user and group (bug #19647)
- [[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/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 "make install failed"
-
- dodoc CHANGES README TODO radvd.conf.example
- dohtml INTRO.html
-
- 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
- chown -R radvd:radvd "${D}"/var/run/radvd
- fperms 755 /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 "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"
-}
diff --git a/net-misc/radvd/radvd-0.9.ebuild b/net-misc/radvd/radvd-0.9.ebuild
deleted file mode 100644
index 9ca83eb07361..000000000000
--- a/net-misc/radvd/radvd-0.9.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.9.ebuild,v 1.5 2005/12/24 16:03:44 killerfox 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="sys-devel/bison
- sys-devel/flex
- sys-apps/sed"
-RDEPEND="sys-process/procps"
-
-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
-}
diff --git a/net-misc/radvd/radvd-1.0.ebuild b/net-misc/radvd/radvd-1.0.ebuild
deleted file mode 100644
index e1b5e20e16e2..000000000000
--- a/net-misc/radvd/radvd-1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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-1.0.ebuild,v 1.1 2006/11/01 17:29:29 uberlord 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="sys-devel/bison
- sys-devel/flex"
-RDEPEND=">=sys-process/procps-3.2"
-
-pkg_setup() {
- enewgroup radvd
- enewuser radvd -1 -1 /dev/null radvd
-
- # force ownership of radvd user and group (bug #19647)
- [[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/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 "make install failed"
-
- dodoc CHANGES README TODO radvd.conf.example
- dohtml INTRO.html
-
- 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
- chown -R radvd:radvd "${D}"/var/run/radvd
- fperms 755 /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 "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"
-}
diff --git a/net-misc/radvd/radvd-1.1.ebuild b/net-misc/radvd/radvd-1.1.ebuild
index 078de6e0cdaa..6cf26ece9a9b 100644
--- a/net-misc/radvd/radvd-1.1.ebuild
+++ b/net-misc/radvd/radvd-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.1.ebuild,v 1.1 2008/06/15 11:19:23 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.1.ebuild,v 1.2 2008/07/28 16:00:00 wschlich Exp $
inherit eutils
@@ -63,12 +63,12 @@ src_install() {
pkg_postinst() {
einfo
einfo "To use ${PN} you must create the configuration file"
- einfo "/etc/radvd.conf"
+ einfo "${ROOT}/etc/radvd.conf"
einfo
- einfo "An example configuration file has been installed as"
- einfo "/usr/share/doc/${PF}/radvd.conf.example.gz"
+ einfo "An example configuration file has been installed under"
+ einfo "${ROOT}/usr/share/doc/${PF}"
einfo
- einfo "grsec users should allow a specific group to read /proc"
+ einfo "grsecurity 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"
+ einfo "segfault on startup."
}