aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-07-17 12:08:59 +0800
committerdougb <dougb@FreeBSD.org>2011-07-17 12:08:59 +0800
commit6a4be61120db334e2888552fbfe1413749b4b709 (patch)
tree1060f39dcc48dc5aade6af1d95f5abee30aa122b /dns
parent0bbadf5d36505a96e5af13f3798498d75f7d4e7c (diff)
downloadfreebsd-ports-gnome-6a4be61120db334e2888552fbfe1413749b4b709.tar.gz
freebsd-ports-gnome-6a4be61120db334e2888552fbfe1413749b4b709.tar.zst
freebsd-ports-gnome-6a4be61120db334e2888552fbfe1413749b4b709.zip
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>
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