summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-07-17 04:08:59 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-07-17 04:08:59 +0000
commit2b4caa4539f794185f369fecab9157f7bae1ebc1 (patch)
treeeb4b99eadca9149aa01b391c0406ec6abab21a98 /dns
parent- Update to 3253 (diff)
Fix the location of the default pid file in named.8
Problem pointed out in the PR PR: conf/155006 Submitted by: Helmut Schneider <jumper99@gmx.de>
Notes
Notes: svn path=/head/; revision=277826
Diffstat (limited to 'dns')
-rw-r--r--dns/bind96/Makefile1
-rw-r--r--dns/bind97/Makefile1
-rw-r--r--dns/bind98/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index c97375700895..b06c303c9352 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/Makefile
@@ -196,6 +196,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
diff --git a/dns/bind97/Makefile b/dns/bind97/Makefile
index f1a18031edf8..4841ba3e2e6b 100644
--- a/dns/bind97/Makefile
+++ b/dns/bind97/Makefile
@@ -200,6 +200,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist
diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile
index 1403926183f2..3d8bd7cb0b9c 100644
--- a/dns/bind98/Makefile
+++ b/dns/bind98/Makefile
@@ -199,6 +199,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist