diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-11-01 17:29:29 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-11-01 17:29:29 +0000 |
commit | 9f85833513055d5d6de5484958584a9887556acf (patch) | |
tree | b6f1f15beb4656ba01fab389630150bb942a0337 /net-misc | |
parent | Everything is now owned by the new rox herd (diff) | |
download | gentoo-2-9f85833513055d5d6de5484958584a9887556acf.tar.gz gentoo-2-9f85833513055d5d6de5484958584a9887556acf.tar.bz2 gentoo-2-9f85833513055d5d6de5484958584a9887556acf.zip |
New version
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/radvd/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/radvd/files/digest-radvd-1.0 | 3 | ||||
-rw-r--r-- | net-misc/radvd/radvd-1.0.ebuild | 62 |
3 files changed, 69 insertions, 1 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index 87c9e3999f61..c07007836afa 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,9 @@ # 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.31 2006/07/19 13:02:36 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.32 2006/11/01 17:29:29 uberlord Exp $ + + 01 Nov 2006; Roy Marples <uberlord@gentoo.org> ChangeLog: + New version. 19 Jul 2006; Roy Marples <uberlord@gentoo.org> +files/radvd.conf, +files/radvd.init, metadata.xml, radvd-0.9.1.ebuild: diff --git a/net-misc/radvd/files/digest-radvd-1.0 b/net-misc/radvd/files/digest-radvd-1.0 new file mode 100644 index 000000000000..4ea586cdd5d0 --- /dev/null +++ b/net-misc/radvd/files/digest-radvd-1.0 @@ -0,0 +1,3 @@ +MD5 8bce4a21757cf069f5a69e2f9bee9e5b radvd-1.0.tar.gz 110170 +RMD160 a6d5aa3fe25b7751e5b0188add1d68633b20174e radvd-1.0.tar.gz 110170 +SHA256 fbc44fac8356426c115914eb5dce6fc84afea923ad6aba1670a3402c06bda7ab radvd-1.0.tar.gz 110170 diff --git a/net-misc/radvd/radvd-1.0.ebuild b/net-misc/radvd/radvd-1.0.ebuild new file mode 100644 index 000000000000..e1b5e20e16e2 --- /dev/null +++ b/net-misc/radvd/radvd-1.0.ebuild @@ -0,0 +1,62 @@ +# 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" +} |