diff options
author | Michael Weber <xmw@gentoo.org> | 2014-10-10 14:27:28 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2014-10-10 14:27:28 +0000 |
commit | 38e8463b6854fd4c9c270f927e397cb27baf177d (patch) | |
tree | 7355fe76d7c3236661dc3f21a4ba21cf520212ff /net-misc | |
parent | Version bump wrt bug 492512 and bug 503416 (diff) | |
download | gentoo-2-38e8463b6854fd4c9c270f927e397cb27baf177d.tar.gz gentoo-2-38e8463b6854fd4c9c270f927e397cb27baf177d.tar.bz2 gentoo-2-38e8463b6854fd4c9c270f927e397cb27baf177d.zip |
Version bump (bug 524312), address systemd issues (bug 524000).
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/radvd/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd.service | 4 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd.tmpfilesd | 1 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.8.ebuild (renamed from net-misc/radvd/radvd-2.3.ebuild) | 23 |
4 files changed, 22 insertions, 14 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index 065eaaa4db21..7192e005e299 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/radvd # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.124 2014/08/22 04:36:54 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.125 2014/10/10 14:27:28 xmw Exp $ + +*radvd-2.8 (10 Oct 2014) + + 10 Oct 2014; Michael Weber <xmw@gentoo.org> +files/radvd.tmpfilesd, + +radvd-2.8.ebuild, -radvd-2.3.ebuild, files/radvd.service: + Version bump (bug 524312), address systemd issues (bug 524000). *radvd-2.5 (22 Aug 2014) diff --git a/net-misc/radvd/files/radvd.service b/net-misc/radvd/files/radvd.service index c964e6335734..16b6a275a3c1 100644 --- a/net-misc/radvd/files/radvd.service +++ b/net-misc/radvd/files/radvd.service @@ -4,12 +4,12 @@ Documentation=man:radvd(8) After=network.target [Service] -Type=simple +Type=forking ExecStart=/usr/sbin/radvd --username radvd --logmethod stderr --debug 1 ExecReload=/usr/sbin/radvd --configtest ; \ /bin/kill -HUP $MAINPID CPUSchedulingPolicy=idle -LimitNOFSIZE=0 +PIDFile=/run/radvd/radvd.pid [Install] WantedBy=multi-user.target diff --git a/net-misc/radvd/files/radvd.tmpfilesd b/net-misc/radvd/files/radvd.tmpfilesd new file mode 100644 index 000000000000..26f203d1aaa7 --- /dev/null +++ b/net-misc/radvd/files/radvd.tmpfilesd @@ -0,0 +1 @@ +d /run/radvd 0755 radvd radvd diff --git a/net-misc/radvd/radvd-2.3.ebuild b/net-misc/radvd/radvd-2.8.ebuild index b06c0bf68d2a..48d27afb972e 100644 --- a/net-misc/radvd/radvd-2.3.ebuild +++ b/net-misc/radvd/radvd-2.8.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-2.3.ebuild,v 1.1 2014/07/30 22:12:53 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-2.8.ebuild,v 1.1 2014/10/10 14:27:28 xmw Exp $ EAPI=4 -inherit systemd user eutils +inherit systemd user eutils readme.gentoo DESCRIPTION="Linux IPv6 Router Advertisement Daemon" HOMEPAGE="http://v6web.litech.org/radvd/" @@ -47,20 +47,21 @@ src_install() { 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 -} -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." + 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." |