diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-07-23 14:39:17 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-07-23 14:39:17 -0500 |
commit | 8e6455c98049e69afd0a10a02d45df47ca2d77c0 (patch) | |
tree | 26b4afd7b15733315d69ec66cd4b14d1b753f0ce /net-misc/radvd | |
parent | dev-perl/Text-VimColor: Require vim[-minimal] re bug #589542 (diff) | |
download | gentoo-8e6455c98049e69afd0a10a02d45df47ca2d77c0.tar.gz gentoo-8e6455c98049e69afd0a10a02d45df47ca2d77c0.tar.bz2 gentoo-8e6455c98049e69afd0a10a02d45df47ca2d77c0.zip |
net-misc/radvd: bup
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/radvd')
-rw-r--r-- | net-misc/radvd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.14.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index b601c34df678..8a4ce7d1b497 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -1,3 +1,4 @@ DIST radvd-1.9.8.tar.gz 176288 SHA256 645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1 SHA512 25ffa2fe1289ee826432ade3846aa5008e34ff9f0cbe954bf44ebae22198de59b40b7b4a70d19c74117b3280a7ca6a4bf740536f4a08e0bf169e760748548971 WHIRLPOOL 228182cb6fdc6065a728f679ee6d93286c48f186b209b6ff8d553f06317d0e799687c5abf0179cda5c42d2ca72ca32bdacbc31e0a14a06d18316a6538eb09017 DIST radvd-2.12.tar.gz 210605 SHA256 6b81211e9027e008306ffdcb48948b0035f6e0f3bfcbf0a2a39b1b13f6b9c3fa SHA512 1703b90f2990a1fe2113b5ae1b564ebb25b9106ac13c2268f78aaea804263ca7cc33976fe30fd52f01a91283f66114b37200747d8178c4e1985035361e6143d9 WHIRLPOOL a10351d758397d527cef3e739f6783beb3090175868948b13e365dd1adee671a8cc821bbe8c3bfc6ba8e8622be886567bee68d3460d6220c0b14dffcf35f1b37 DIST radvd-2.13.tar.gz 211392 SHA256 bd009f13e253f546049103fdf829145bf47d4ad9341d49c3e500b1cfadd6d469 SHA512 050fd273727acfac6f6a7eb1245d4a6ef01cbfb4654a922b98f0944931535770154dd564a09a43bc96bd1a575ecd426cee042dc1129dc453cbda03d7975d49ce WHIRLPOOL 03451fb0561130c97cf509cf18ad69a508106e46ced18d351cd6274d009879006c552d4484ac2a470078f420951c60415e40852a2a43e20b90b19e2b89a94ae5 +DIST radvd-2.14.tar.gz 211461 SHA256 46d31c05daea11c3d1e3dc092997d3631b3bc72b20a4f279b05304b83dbd7aa8 SHA512 8fdfd776f998b82e9dcbb29a13e44b1ba060f2e4b03bae0167549fb58731f16e80e980f9636e0d7614270b8e6457779ac044b433c5c5d26d9fb72ea9e2d3cb02 WHIRLPOOL 6f2974c4e9d689052b36885c2b82425e346bdd7fd3a928a650f2c71debc7cd5e3c13504759fb5cec20641f4e6fdf35ce6a83fe3023f6efa00efff3da84b01954 diff --git a/net-misc/radvd/radvd-2.14.ebuild b/net-misc/radvd/radvd-2.14.ebuild new file mode 100644 index 000000000000..14b6499957fd --- /dev/null +++ b/net-misc/radvd/radvd-2.14.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit systemd user eutils readme.gentoo + +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 ~arm64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="kernel_FreeBSD selinux test" + +CDEPEND="dev-libs/libdaemon" +DEPEND="${CDEPEND} + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + test? ( dev-libs/check )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-radvd ) +" +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 \ + --disable-silent-rules \ + $(use_with test check) +} + +src_install() { + default + + dohtml INTRO.html + + newinitd "${FILESDIR}"/${PN}-1.9.1.init ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} + + systemd_dounit "${FILESDIR}"/${PN}.service + systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}.conf + + 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 + + readme.gentoo_create_doc +} + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS="Please create a configuratoion ${ROOT}etc/radvd.conf. +See ${ROOT}usr/share/doc/${PF} for an example. + +grsecurity users should allow a specific group to read /proc +and add the radvd user to that group, otherwise radvd may +segfault on startup." |