diff options
author | Michael Weber <xmw@gentoo.org> | 2016-09-27 23:56:03 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-09-27 23:58:05 +0200 |
commit | edbc71d0242b52893f63b004ee2a4a90ba461869 (patch) | |
tree | 705e49136b194c74c30efd6daa112ec74a4f1c9c /net-misc/radvd | |
parent | sys-apps/openrc: 0.22 version bump (diff) | |
download | gentoo-edbc71d0242b52893f63b004ee2a4a90ba461869.tar.gz gentoo-edbc71d0242b52893f63b004ee2a4a90ba461869.tar.bz2 gentoo-edbc71d0242b52893f63b004ee2a4a90ba461869.zip |
net-misc/radvd: Version bump.
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.15.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index 8a4ce7d1b497..d1c07cd1b79c 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -2,3 +2,4 @@ DIST radvd-1.9.8.tar.gz 176288 SHA256 645ccf1c9b16e769ff4179813712e580e2c8786d64 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 +DIST radvd-2.15.tar.gz 214256 SHA256 83dd770595e6182757fd652cfc46ee462b73d8d34ba0848a1d481c4d51143607 SHA512 51ed457814f32750f915e22556c739d0a574af6318d469ae77c42fb7dfce8752edc2b70e3dd910d46c6198a5a81e4be4611dd4e379920488f4d4427cda0a7ea0 WHIRLPOOL 3b8d9436b6c37088f7af0de06e12ef93a05ab2b71df0617e63d6ee106b336a22dfad3df07e6c0301da5bf4d8a646a2c2ce2a50d9ca991f541c51ce35ebb2b187 diff --git a/net-misc/radvd/radvd-2.15.ebuild b/net-misc/radvd/radvd-2.15.ebuild new file mode 100644 index 000000000000..226840b80dd1 --- /dev/null +++ b/net-misc/radvd/radvd-2.15.ebuild @@ -0,0 +1,70 @@ +# 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-r1 + +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 \ + --with-systemdsystemunitdir=no \ + $(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." |