aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind96
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2013-11-22 21:41:34 +0800
committererwin <erwin@FreeBSD.org>2013-11-22 21:41:34 +0800
commit57051adb01188b5d28bba45ae1f7bb85e8061a35 (patch)
tree42027387c228c14f984d16a3fcb63e93f5969166 /dns/bind96
parent49c95b2ab55148203206d13780614f915e3111aa (diff)
downloadfreebsd-ports-gnome-57051adb01188b5d28bba45ae1f7bb85e8061a35.tar.gz
freebsd-ports-gnome-57051adb01188b5d28bba45ae1f7bb85e8061a35.tar.zst
freebsd-ports-gnome-57051adb01188b5d28bba45ae1f7bb85e8061a35.zip
Fix startup script.
PR: 184159 [1] Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com> [1], Trond Endrestoel <Trond.Endrestol@ximalas.info> (private email)
Diffstat (limited to 'dns/bind96')
-rw-r--r--dns/bind96/Makefile1
-rw-r--r--dns/bind96/files/named18
2 files changed, 10 insertions, 9 deletions
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index e2c6368174ad..9838947ff644 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/Makefile
@@ -2,6 +2,7 @@
PORTNAME= bind96
PORTVERSION= 9.6.3.2.ESV.R10
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
diff --git a/dns/bind96/files/named b/dns/bind96/files/named
index 337fdcca1ef8..777ec1688572 100644
--- a/dns/bind96/files/named
+++ b/dns/bind96/files/named
@@ -19,15 +19,15 @@ start_postcmd="named_poststart"
reload_cmd="named_reload"
stop_cmd="named_stop"
-named_enable="NO" # Run named, the DNS server (or NO).
-named_program="/usr/local/sbin/named" # Path to named, if you want a different one.
-named_conf="/usr/local/etc/namedb/named.conf" # Path to the configuration file
-#named_flags="" # Use this for flags OTHER than -u and -c
-named_uid="bind" # User to run named as
-named_wait="NO" # Wait for working name service before exiting
-named_wait_host="localhost" # Hostname to check if named_wait is enabled
-named_auto_forward="NO" # Set up forwarders from /etc/resolv.conf
-named_auto_forward_only="NO" # Do "forward only" instead of "forward first"
+named_enable=${named_enable:-"NO"} # Run named, the DNS server (or NO).
+named_program=${named_program:-"/usr/local/sbin/named"} # Path to named, if you want a different one.
+named_conf=${named_conf:-"/usr/local/etc/namedb/named.conf"} # Path to the configuration file
+named_flags=${named_flags:-""} # Use this for flags OTHER than -u and -c
+named_uid=${named_uid:-"bind"} # User to run named as
+named_wait=${named_wait:-"NO"} # Wait for working name service before exiting
+named_wait_host=${named_wait_host:-"localhost"} # Hostname to check if named_wait is enabled
+named_auto_forward=${named_auto_forward:-"NO"} # Set up forwarders from /etc/resolv.conf
+named_auto_forward_only=${named_auto_forward_only:-"NO"} # Do "forward only" instead of "forward first"
named_poststart() {
if checkyesno named_wait; then