aboutsummaryrefslogtreecommitdiff
path: root/dns/bind910
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-04-10 20:43:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-04-10 20:43:50 +0000
commit47fccddc36fbae1265a37c7b77bb6c752c8ba4d0 (patch)
tree85b7e6cd38afa1e0ab4ec166ccf9b15219776cbd /dns/bind910
parent9db5d92352c39c9b0140d331e2346a7464183561 (diff)
downloadports-47fccddc36fbae1265a37c7b77bb6c752c8ba4d0.tar.gz
ports-47fccddc36fbae1265a37c7b77bb6c752c8ba4d0.zip
Notes
Diffstat (limited to 'dns/bind910')
-rw-r--r--dns/bind910/Makefile1
-rw-r--r--dns/bind910/files/named.in8
2 files changed, 5 insertions, 4 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile
index d1f455bed983..c37d509d01c3 100644
--- a/dns/bind910/Makefile
+++ b/dns/bind910/Makefile
@@ -2,6 +2,7 @@
PORTNAME= bind
PORTVERSION= 9.10.0rc1
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
diff --git a/dns/bind910/files/named.in b/dns/bind910/files/named.in
index 45371c2b535a..7dc9329dcd4b 100644
--- a/dns/bind910/files/named.in
+++ b/dns/bind910/files/named.in
@@ -4,7 +4,7 @@
#
# PROVIDE: named
-# REQUIRE: FILESYSTEMS defaultroute
+# REQUIRE: FILESYSTEMS defaultroute ldconfig
# BEFORE: NETWORKING
# KEYWORD: shutdown
@@ -92,9 +92,9 @@ named_prestart()
warn 'named_pidfile: now determined from the conf file'
fi
- echo ${pidfile%/pid}
- if [ ! -d ${pidfile%/pid} ]; then
- install -d -o ${named_uid} -g ${named_uid} ${pidfile%/pid}
+ piddir=`/usr/bin/dirname ${pidfile}`
+ if [ ! -d ${piddir} ]; then
+ install -d -o ${named_uid} -g ${named_uid} ${piddir}
fi
command_args="-u ${named_uid:=root} -c $named_conf $command_args"