summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Auhagen <sven.auhagen@voleatech.der>2016-09-20 15:50:25 +0200
committerRenato Botelho <garga@FreeBSD.org>2016-09-20 13:39:01 -0300
commitc5fcd691257524a21997c95cc6a577f8f454882e (patch)
treecaa749c90bb1bbe22d7e1ff03337b8d8678ee310
parent8d07a11759faa860aba69ab1e20d06d6cad0be7e (diff)
downloadFreeBSD-ports-c5fcd691257524a21997c95cc6a577f8f454882e.zip
FreeBSD-ports-c5fcd691257524a21997c95cc6a577f8f454882e.tar.gz
Bugfix for bind not starting
(cherry picked from commit 9584e238beb23d68b4c3c57101d8abf13f0bc1f2)
-rw-r--r--dns/pfSense-pkg-bind9/Makefile2
-rw-r--r--dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/dns/pfSense-pkg-bind9/Makefile b/dns/pfSense-pkg-bind9/Makefile
index 04eed5d..e2c9965 100644
--- a/dns/pfSense-pkg-bind9/Makefile
+++ b/dns/pfSense-pkg-bind9/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pfSense-pkg-bind
PORTVERSION= 9.10
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= dns net ipv6
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc b/dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc
index cedeb06..59c1a73 100644
--- a/dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc
+++ b/dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc
@@ -855,7 +855,7 @@ function bind_write_rcfile() {
$rc['file'] = 'named.sh';
// Curly braces in the following <<<EOD are PHP {$variable}, not named.conf text { value; }
$rc['start'] = <<<EOD
- if [ -z "`/bin/ps auxw | /usr/bin/grep "[n]amed" | /usr/bin/awk '{print $2}'`" ]; then
+ if [ -z "`/bin/ps auxw | /usr/bin/grep "[n]amed " | /usr/bin/awk '{print $2}'`" ]; then
{$BIND_LOCALBASE}/sbin/named {$ip_version} -c /etc/namedb/named.conf -u bind -t /cf/named/
fi
EOD;
@@ -865,7 +865,7 @@ EOD;
EOD;
// curly braces in the following <<<EOD are PHP {$variable}, not named.conf text { value; }
$rc['restart'] = <<<EOD
- if [ -z "`/bin/ps auxw | /usr/bin/grep "[n]amed" | /usr/bin/awk '{print $2}'`" ]; then
+ if [ -z "`/bin/ps auxw | /usr/bin/grep "[n]amed " | /usr/bin/awk '{print $2}'`" ]; then
{$BIND_LOCALBASE}/sbin/named {$ip_version} -c /etc/namedb/named.conf -u bind -t /cf/named/
else
/usr/bin/killall -9 named 2>/dev/null
OpenPOWER on IntegriCloud