diff options
author | Michael Weber <xmw@gentoo.org> | 2011-11-14 02:23:28 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2011-11-14 02:23:28 +0000 |
commit | 2dd82dabcde8e27fbc8f6d8e661634009f6be6bc (patch) | |
tree | 7de71730dd02a7067739a7b6a7c65610838b616d /net-misc | |
parent | Update useflags to expose new features (diff) | |
download | historical-2dd82dabcde8e27fbc8f6d8e661634009f6be6bc.tar.gz historical-2dd82dabcde8e27fbc8f6d8e661634009f6be6bc.tar.bz2 historical-2dd82dabcde8e27fbc8f6d8e661634009f6be6bc.zip |
Version bump. EAPI-4 (thanks Agostino Sarubbo, bug 385967). openrc-0.9 fix (thanks Bjarke Istrup Pedersen, bug 386113)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/radvd/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/radvd/Manifest | 12 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd.init | 4 | ||||
-rw-r--r-- | net-misc/radvd/radvd-1.8.3.ebuild | 67 |
4 files changed, 84 insertions, 8 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index 02dcfefec7a0..84fdb3e2da57 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/radvd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.74 2011/11/10 08:25:54 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.75 2011/11/14 02:23:26 xmw Exp $ + +*radvd-1.8.3 (14 Nov 2011) + + 14 Nov 2011; Michael Weber <xmw@gentoo.org> +radvd-1.8.3.ebuild, + files/radvd.init: + Version bump. EAPI-4 (thanks Agostino Sarubbo, bug 385967). openrc-0.9 fix + (thanks Bjarke Istrup Pedersen, bug 386113) 10 Nov 2011; Michael Weber <xmw@gentoo.org> -radvd-1.6.ebuild, -radvd-1.7.ebuild, -radvd-1.8.ebuild, -radvd-1.8.1.ebuild: diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index 07a7a8ffa365..c6b67ccffecd 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -2,15 +2,17 @@ Hash: SHA256 AUX radvd.conf 445 RMD160 8b9a158617b7a2b11548016d98b037f203f13558 SHA1 9605bce0d235a0f33ecb5cd1dd443da6bd2d29c1 SHA256 a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c -AUX radvd.init 1521 RMD160 142567fde580eedc1723ab8cbdc3208103a31c67 SHA1 9dd61b751f86c03ce67f955ec8f6682d2078f8b4 SHA256 97ff48b79bc3f598924d74c3ce7779f312f7f75d8aed000e18bedc2b3d0abd79 +AUX radvd.init 1528 RMD160 cd4ba3b124f285619428ea5316ec6e48c96b405d SHA1 b354a3223831992a8029a93b273207a4d83b4391 SHA256 f6329682c83b717b4cdda03ec70a2d0b0fe2e0e6698dfc3db259aaf5a085a012 DIST radvd-1.8.2.tar.gz 177357 RMD160 502d1b5aa084ca76e682f26d3b11493df85e678c SHA1 9a396ab58216c87308bc86a18864f84aeeba38a9 SHA256 fff5ecb391aa5c054b4ebc14ec2c3d8b7494d065fb00c2bf772ae81e8114cf55 +DIST radvd-1.8.3.tar.gz 177556 RMD160 01e0b8ddcd21d724fe6ed658c22e8c1bce830f18 SHA1 256fa6b8069583362e279bb77d8097e975f565a4 SHA256 bf040b452f03542a56904ffcfc96aa9257581ad380818ac22065f0cfde7fc2e9 EBUILD radvd-1.8.2.ebuild 1813 RMD160 7a16cf011fa549f37ef39ff8042d01a1d953a884 SHA1 20067605eb9fd28131c67a48f16dedd964632164 SHA256 23aa63be3f346bd55d19388032ff187f9315ecd9a30d0799a82275eed3a06480 -MISC ChangeLog 9645 RMD160 85aba8ad8eb49b5f94a15b8a798db5d6d1301b7d SHA1 476d4b45c12cfb4b1d90c2636db677f493f4202f SHA256 3dc1751899d5ded8a78b001a97844a495f893fe0474c8626e6162d293c26baca +EBUILD radvd-1.8.3.ebuild 1704 RMD160 2654bf23575ebfdc12acb53421700222a5d26dba SHA1 ab2a5ddcea83aaaf86409de71958ccfd4b0b85c2 SHA256 0e7f755aebdb88ef6408af544ea33c8b8c22344e7f91269a3b6d383481ecac6d +MISC ChangeLog 9884 RMD160 0f40d2613c4df6779008cdaf49e09635492581b5 SHA1 64cfae47ba0dc26bbf9396650cdee6e99f269c6d SHA256 87867dc828a9e97bc66952fb201884e5a353f1fb5eea563fff4b6f60194c1b5e MISC metadata.xml 326 RMD160 5d3f1dcbdd2aa22e45e4bedc20e9c38aa9d91b02 SHA1 9676b6d6d7b47a3b9b58a92a06b38fd6fd5ac495 SHA256 678c0de324d4f194ae572a0d6b2641f60f54a40a168923d13f16a049344fe803 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk67ipoACgkQknrdDGLu8JBxRAD/aRTbvD/+PhCli+0hnGcN3i0V -G427LaGhLP57LE1MaMEA+waH8acWA/7QaU9738wd6YvEwxQ6QvRlqhoEAuHIVZtg -=O8G6 +iF4EAREIAAYFAk7Ae6QACgkQknrdDGLu8JDCFgD/QsGKm26CXz165s3loa9aTypi +05efMWLZcWtWcCVOBJoBAIP8YnNR5BDJu03H1UMG5XKDWyAtY88VDtGYAFRrjzpK +=VsRG -----END PGP SIGNATURE----- diff --git a/net-misc/radvd/files/radvd.init b/net-misc/radvd/files/radvd.init index a787fa71d144..22422fabd1ba 100644 --- a/net-misc/radvd/files/radvd.init +++ b/net-misc/radvd/files/radvd.init @@ -1,13 +1,13 @@ #!/sbin/runscript # Copyright 1999-2011 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.4 2011/03/05 10:43:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.5 2011/11/14 02:23:28 xmw Exp $ CONFIGFILE=/etc/radvd.conf PIDFILE=/var/run/radvd/radvd.pid SYSCTL_FORWARD=net.ipv6.conf.all.forwarding -opts="reload" +extra_commands="reload" depend() { need net diff --git a/net-misc/radvd/radvd-1.8.3.ebuild b/net-misc/radvd/radvd-1.8.3.ebuild new file mode 100644 index 000000000000..12be0479cf3e --- /dev/null +++ b/net-misc/radvd/radvd-1.8.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.8.3.ebuild,v 1.1 2011/11/14 02:23:26 xmw Exp $ + +EAPI=4 + +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 ~x86-fbsd" +IUSE="kernel_FreeBSD" + +DEPEND="sys-devel/bison + sys-devel/flex" +RDEPEND="" + +DOCS=( CHANGES README TODO radvd.conf.example ) + +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_configure() { + econf --with-pidfile=/var/run/radvd/radvd.pid +} + +src_install() { + default + + 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 + fowners -R radvd:radvd /var/run/radvd + fperms 755 /var/run/radvd + + if use kernel_FreeBSD ; then + sed -i -e \ + 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ + "${D}"/etc/init.d/"${PN}" || die + fi +} + +pkg_postinst() { + elog + elog "To use ${PN} you must create the configuration file" + elog "${ROOT}etc/radvd.conf" + elog + elog "An example configuration file has been installed under" + elog "${ROOT}usr/share/doc/${PF}" + elog + elog "grsecurity users should allow a specific group to read /proc" + elog "and add the radvd user to that group, otherwise radvd may" + elog "segfault on startup." +} |