summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-07-09 14:02:22 +0000
committerRoy Marples <uberlord@gentoo.org>2007-07-09 14:02:22 +0000
commite9562753fbb88b05595cb42021ea9e877dbfaa34 (patch)
tree881bd0f9cc49eb8202418fd4be8ff6244b8f5311 /net-misc/radvd
parentadd latest snapshot (23 jun) (diff)
downloadgentoo-2-e9562753fbb88b05595cb42021ea9e877dbfaa34.tar.gz
gentoo-2-e9562753fbb88b05595cb42021ea9e877dbfaa34.tar.bz2
gentoo-2-e9562753fbb88b05595cb42021ea9e877dbfaa34.zip
Keyworded ~x86-fbsd
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/ChangeLog5
-rw-r--r--net-misc/radvd/radvd-1.0-r1.ebuild16
2 files changed, 14 insertions, 7 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index fd4bf1cdffbf..e960ea02bc95 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/radvd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.33 2007/02/09 16:57:13 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.34 2007/07/09 14:02:22 uberlord Exp $
+
+ 09 Jul 2007; Roy Marples <uberlord@gentoo.org> radvd-1.0-r1.ebuild:
+ Keyworded ~x86-fbsd
*radvd-1.0-r1 (09 Feb 2007)
diff --git a/net-misc/radvd/radvd-1.0-r1.ebuild b/net-misc/radvd/radvd-1.0-r1.ebuild
index 1c8d765e5bac..13f93e5f405e 100644
--- a/net-misc/radvd/radvd-1.0-r1.ebuild
+++ b/net-misc/radvd/radvd-1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.0-r1.ebuild,v 1.1 2007/02/09 16:57:13 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.0-r1.ebuild,v 1.2 2007/07/09 14:02:22 uberlord Exp $
inherit eutils
@@ -10,12 +10,10 @@ SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86 x86-fbsd"
+IUSE="kernel_FreeBSD"
-DEPEND="sys-devel/bison
- sys-devel/flex"
-RDEPEND=">=sys-process/procps-3.2"
+DEPEND=""
pkg_setup() {
enewgroup radvd
@@ -46,6 +44,12 @@ src_install() {
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() {