net-misc/radvd: bup

Package-Manager: portage-2.2.26
This commit is contained in:
Matthew Thode
2016-04-23 10:29:45 -05:00
parent 765af26e15
commit 0dc4b26e89
5 changed files with 4 additions and 215 deletions

View File

@@ -1,5 +1,3 @@
DIST radvd-1.15.tar.gz 185528 SHA256 ba2e16bf0b2ac0030aacb0927304603f7ebbd317fdf30a24ee6f9ba06428391d SHA512 39d7ad22b25b36ab8079e9a48f50f69ea2be8a02d2e76638940c5eb769bf9291f28d275d7799296009e3c61bcb106c276bc5c60c9090951ea9f2dc7e00945ba7 WHIRLPOOL 3620518e71a243335cf8e064b4f3c45d80ec2e2d94748caa8ccaf3e0f317ffb3244ae719f07008abd65763f3ebc0110e2d5d5f570f1569b8377f70e0a9dfecc4
DIST radvd-1.9.8.tar.gz 176288 SHA256 645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1 SHA512 25ffa2fe1289ee826432ade3846aa5008e34ff9f0cbe954bf44ebae22198de59b40b7b4a70d19c74117b3280a7ca6a4bf740536f4a08e0bf169e760748548971 WHIRLPOOL 228182cb6fdc6065a728f679ee6d93286c48f186b209b6ff8d553f06317d0e799687c5abf0179cda5c42d2ca72ca32bdacbc31e0a14a06d18316a6538eb09017
DIST radvd-2.10.tar.gz 202426 SHA256 b41867c5b0375f786bebbd3fc88776d41927aa392eeba954e4b88f8ec7e8f13e SHA512 cfc34ad414bd07e22519982f8c3fa75cb27eab54131d0af09d6dd5fbb69da3de26fda776593e1a4e2735b63fc7cc2224663665854895d8be459f43ba4012fa26 WHIRLPOOL 5689d137313e75e30f370637bc92f4e242f2a4e2675b0ee34f1824a66e7efcf4ad683e121375623b62f015dd59a664511f2dbcff229c70a9d55c083dc7fef98f
DIST radvd-2.11.tar.gz 202596 SHA256 80ad60b15689e9591a5af393a57a1d93304deeff2e46482f0fd98046c00622f8 SHA512 35fc641b81cc76de677c8e55a61c8b28d9167d8f40a3fa7adf2a254293ca2d7856ca2c8f6d3bdba391bf873345d3019c0f572ee166eaba011ae874b176c85d4b WHIRLPOOL 058ecf265881963e44267945349e56f1b5bb402b8e4605bd852a8e3ced00419e0028eee70028819433bbc7d596f938d94fef1145ea615c66a975feb9fe4aa56c
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

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit systemd user 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 selinux"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
sys-devel/bison
sys-devel/flex
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-radvd )
"
DOCS=( CHANGES-1 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
}
src_install() {
default
dohtml INTRO.html
newinitd "${FILESDIR}"/${PN}-1.9.1.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
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() {
einfo
elog "Please create a configuratoion ${ROOT}etc/radvd.conf."
elog "See ${ROOT}usr/share/doc/${PF} for an example."
einfo
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."
}

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
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 hppa ppc sparc x86 ~x86-fbsd"
IUSE="kernel_FreeBSD selinux"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
dev-libs/check
sys-devel/bison
sys-devel/flex
virtual/pkgconfig"
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
}
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."

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit autotools 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 ~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_prepare() {
epatch "${FILESDIR}"/${PN}-2.10-musl-libc-fix.patch
eautoreconf
}
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."

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EAPI=5
inherit systemd user eutils readme.gentoo
@@ -12,7 +12,7 @@ SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="kernel_FreeBSD selinux test"
CDEPEND="dev-libs/libdaemon"