From eb958559addba894ee4add27b594416ad33834c9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 1 Nov 2006 17:29:29 +0000 Subject: [PATCH] New version Package-Manager: portage-2.1.2_rc1-r1 --- net-misc/radvd/ChangeLog | 5 ++- net-misc/radvd/Manifest | 16 +++++-- net-misc/radvd/files/digest-radvd-1.0 | 3 ++ net-misc/radvd/radvd-1.0.ebuild | 62 +++++++++++++++++++++++++++ 4 files changed, 81 insertions(+), 5 deletions(-) create mode 100644 net-misc/radvd/files/digest-radvd-1.0 create mode 100644 net-misc/radvd/radvd-1.0.ebuild 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 ChangeLog: + New version. 19 Jul 2006; Roy Marples +files/radvd.conf, +files/radvd.init, metadata.xml, radvd-0.9.1.ebuild: diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index fd72d037df0e..49cb1bf2048d 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -16,6 +16,7 @@ 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 +DIST radvd-1.0.tar.gz 110170 RMD160 a6d5aa3fe25b7751e5b0188add1d68633b20174e SHA1 142bb9d126a67215597d115ed551955e79889fad SHA256 fbc44fac8356426c115914eb5dce6fc84afea923ad6aba1670a3402c06bda7ab 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 @@ -24,10 +25,14 @@ EBUILD radvd-0.9.ebuild 1485 RMD160 de15b8751ee5ca117706e1418c7fa9c2b627bea8 SHA MD5 fcfa14bf2bf353b672dead1b14385526 radvd-0.9.ebuild 1485 RMD160 de15b8751ee5ca117706e1418c7fa9c2b627bea8 radvd-0.9.ebuild 1485 SHA256 2382ad99f38cbc827cf57982ac915e9771f9690bfdc106dd71cfad2920c5f764 radvd-0.9.ebuild 1485 -MISC ChangeLog 3849 RMD160 980fee78e241f6c8c3cb7a332312485c3c9636e9 SHA1 0931b1720139de19a03e90525039dd35da749009 SHA256 fda930b916ce23fa3cab4f3e3fbc4134c6ff07f7096f5bd2c00af942580c0d9d -MD5 f9b90016446400ddc7d25a55a9a16fa9 ChangeLog 3849 -RMD160 980fee78e241f6c8c3cb7a332312485c3c9636e9 ChangeLog 3849 -SHA256 fda930b916ce23fa3cab4f3e3fbc4134c6ff07f7096f5bd2c00af942580c0d9d ChangeLog 3849 +EBUILD radvd-1.0.ebuild 1662 RMD160 f5abbf05bb78738e13b9bcb1b0ff6e15f757e29c SHA1 9874e204e30d9b65ce8f0a287f585ecaa8a0964f SHA256 f4a24ffb523d7b4fed5f5784feba16eb9acb45d764485444cc1c55dad181dcd6 +MD5 0fd6dde4fa79b6925995eef3d33b06a6 radvd-1.0.ebuild 1662 +RMD160 f5abbf05bb78738e13b9bcb1b0ff6e15f757e29c radvd-1.0.ebuild 1662 +SHA256 f4a24ffb523d7b4fed5f5784feba16eb9acb45d764485444cc1c55dad181dcd6 radvd-1.0.ebuild 1662 +MISC ChangeLog 3925 RMD160 27a8afca564a6f26ffa9d7bdc5259ae9a385b53e SHA1 39e372f1b95d18973008679167181f0691393e9e SHA256 b6756a70de4c255951911c075c3dc0b268cd4e2d11d72692909afb290060953c +MD5 f3760e6759dd1125b0d7c2e5503365bd ChangeLog 3925 +RMD160 27a8afca564a6f26ffa9d7bdc5259ae9a385b53e ChangeLog 3925 +SHA256 b6756a70de4c255951911c075c3dc0b268cd4e2d11d72692909afb290060953c ChangeLog 3925 MISC metadata.xml 311 RMD160 33fa67b9b29dbd5af68e04df56782bb6e6d0be3d SHA1 cf334dec5ae521d269d3f9f9cb6a47fc182694f6 SHA256 35b12a709a707a893841c32667b3053d585d6a47323e6533ab92615005e8a634 MD5 ec67e60a80389a5d8ebc59f1efb49137 metadata.xml 311 RMD160 33fa67b9b29dbd5af68e04df56782bb6e6d0be3d metadata.xml 311 @@ -38,3 +43,6 @@ SHA256 8faeb70c2475349c4aeda04597e33e9a46907257b62de29fb5fe501af64eea76 files/di MD5 90666f7c665f3c97759d511d8a72b361 files/digest-radvd-0.9.1 235 RMD160 07db28756cf4ae511408afe6fb28cdc3c25dd2b1 files/digest-radvd-0.9.1 235 SHA256 461d508d0393f083711d32e8b04dc25509d9eacbfb56103a5aba0091bf592157 files/digest-radvd-0.9.1 235 +MD5 010c5fe9076e50040b947c586909ad1e files/digest-radvd-1.0 229 +RMD160 f352c156d4f867f1479b481979ae7782caa91681 files/digest-radvd-1.0 229 +SHA256 e1c99b111a96c5abbded55b2b509edf9901478a96e0146e8255bb80f9be5cbcc files/digest-radvd-1.0 229 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" +} -- 2.26.2