public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/radvd: radvd-1.5.ebuild ChangeLog radvd-1.4.ebuild radvd-1.2.ebuild
@ 2009-11-16  9:15 Wolfram Schlich (wschlich)
  0 siblings, 0 replies; only message in thread
From: Wolfram Schlich (wschlich) @ 2009-11-16  9:15 UTC (permalink / raw
  To: gentoo-commits

wschlich    09/11/16 09:15:47

  Modified:             ChangeLog
  Added:                radvd-1.5.ebuild
  Removed:              radvd-1.4.ebuild radvd-1.2.ebuild
  Log:
  version bump, removed old versions
  (Portage version: 2.2_rc33/cvs/Linux i686)

Revision  Changes    Path
1.56                 net-misc/radvd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/ChangeLog?rev=1.56&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/ChangeLog?rev=1.56&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/ChangeLog?r1=1.55&r2=1.56

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- ChangeLog	20 Aug 2009 12:23:49 -0000	1.55
+++ ChangeLog	16 Nov 2009 09:15:46 -0000	1.56
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/radvd
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.55 2009/08/20 12:23:49 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.56 2009/11/16 09:15:46 wschlich Exp $
+
+*radvd-1.5 (16 Nov 2009)
+
+  16 Nov 2009; Wolfram Schlich <wschlich@gentoo.org>
+  -files/radvd-1.4-parallel-make.patch, -radvd-1.2.ebuild,
+  -radvd-1.4.ebuild, +radvd-1.5.ebuild:
+  version bump, removed old versions
 
 *radvd-1.4 (20 Aug 2009)
 



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

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

Index: radvd-1.5.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.5.ebuild,v 1.1 2009/11/16 09:15:46 wschlich 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() {
	make DESTDIR="${D}" install || die "make install failed"

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

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

	# location of radvd.pid needs to be writeable by the radvd user
	keepdir /var/run/radvd
	chown -R radvd:radvd "${D}"/var/run/radvd
	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() {
	einfo
	einfo "To use ${PN} you must create the configuration file"
	einfo "${ROOT}/etc/radvd.conf"
	einfo
	einfo "An example configuration file has been installed under"
	einfo "${ROOT}/usr/share/doc/${PF}"
	einfo
	einfo "grsecurity users should allow a specific group to read /proc"
	einfo "and add the radvd user to that group, otherwise radvd may"
	einfo "segfault on startup."
}






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

only message in thread, other threads:[~2009-11-16  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16  9:15 [gentoo-commits] gentoo-x86 commit in net-misc/radvd: radvd-1.5.ebuild ChangeLog radvd-1.4.ebuild radvd-1.2.ebuild Wolfram Schlich (wschlich)

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