summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/radvd-0.9.1.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/net-misc/radvd/radvd-0.9.1.ebuild b/net-misc/radvd/radvd-0.9.1.ebuild
index b5712aa7d4ea..3d38f92cef66 100644
--- a/net-misc/radvd/radvd-0.9.1.ebuild
+++ b/net-misc/radvd/radvd-0.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-0.9.1.ebuild,v 1.3 2006/02/17 20:03:46 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-0.9.1.ebuild,v 1.4 2006/02/18 19:22:36 vapier Exp $
inherit eutils
@@ -10,12 +10,12 @@ SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ppc ~sparc x86"
-
+KEYWORDS="~amd64 arm ~hppa ppc ~sparc x86"
IUSE=""
+
DEPEND="sys-devel/bison
- sys-devel/flex
- sys-apps/sed"
+ sys-devel/flex
+ sys-apps/sed"
RDEPEND="sys-process/procps"
pkg_setup() {
@@ -23,7 +23,7 @@ pkg_setup() {
enewuser radvd -1 -1 /dev/null radvd
# force ownership of radvd user and group (bug #19647)
- [ -d "/var/run/radvd" ] && chown radvd:radvd /var/run/radvd
+ [[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/var/run/radvd
}
src_compile() {
@@ -40,13 +40,13 @@ src_install() {
dodoc CHANGES README TODO radvd.conf.example
dohtml INTRO.html
- newinitd ${FILESDIR}/${P}-init.d ${PN}
- newconfd ${FILESDIR}/${P}-conf.d ${PN}
+ newinitd "${FILESDIR}"/${P}-init.d ${PN}
+ newconfd "${FILESDIR}"/${P}-conf.d ${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
- chmod 755 ${D}/var/run/radvd
+ chown -R radvd:radvd "${D}"/var/run/radvd
+ fperms 755 /var/run/radvd
}
pkg_postinst() {