public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/radvd: radvd-1.8.1.ebuild ChangeLog radvd-1.5.ebuild radvd-1.1.ebuild
@ 2011-08-29 10:46 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2011-08-29 10:46 UTC (permalink / raw
  To: gentoo-commits

xmw         11/08/29 10:46:49

  Modified:             ChangeLog
  Added:                radvd-1.8.1.ebuild
  Removed:              radvd-1.5.ebuild radvd-1.1.ebuild
  Log:
  Version bump, remove old versions
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.66                 net-misc/radvd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/ChangeLog?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/ChangeLog?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/ChangeLog?r1=1.65&r2=1.66

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	16 Jun 2011 22:42:39 -0000	1.65
+++ ChangeLog	29 Aug 2011 10:46:49 -0000	1.66
@@ -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.65 2011/06/16 22:42:39 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.66 2011/08/29 10:46:49 xmw Exp $
+
+*radvd-1.8.1 (29 Aug 2011)
+
+  29 Aug 2011; Michael Weber <xmw@gentoo.org> -radvd-1.1.ebuild,
+  -files/radvd-1.1-gnu-source.patch, -files/radvd-1.1-parallel-make.patch,
+  -radvd-1.5.ebuild, +radvd-1.8.1.ebuild:
+  Version bump, remove old versions
 
 *radvd-1.8 (16 Jun 2011)
 *radvd-1.7 (16 Jun 2011)



1.1                  net-misc/radvd/radvd-1.8.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/radvd-1.8.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/radvd-1.8.1.ebuild?rev=1.1&content-type=text/plain

Index: radvd-1.8.1.ebuild
===================================================================
# 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.1.ebuild,v 1.1 2011/08/29 10:46:49 xmw Exp $

EAPI=2
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=""

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 \
		|| die "econf failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "make install failed"

	dodoc CHANGES README TODO radvd.conf.example || die
	dohtml INTRO.html || die

	newinitd "${FILESDIR}/${PN}".init "${PN}" || die
	newconfd "${FILESDIR}/${PN}".conf "${PN}" || die

	# location of radvd.pid needs to be writeable by the radvd user
	keepdir /var/run/radvd
	chown -R radvd:radvd "${D}"/var/run/radvd || die
	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."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-29 10:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 10:46 [gentoo-commits] gentoo-x86 commit in net-misc/radvd: radvd-1.8.1.ebuild ChangeLog radvd-1.5.ebuild radvd-1.1.ebuild Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox