svn commit: r334604 - in head/dns: bind96/files bind98/files bind99/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Nov 22 19:05:02 UTC 2013


Author: sunpoet
Date: Fri Nov 22 19:05:01 2013
New Revision: 334604
URL: http://svnweb.freebsd.org/changeset/ports/334604

Log:
  - Respect BIND_DESTETC and PREFIX
  
  Submitted by:	sunpoet (myself)
  Approved by:	erwin (maintainer)

Modified:
  head/dns/bind96/files/named   (contents, props changed)
  head/dns/bind98/files/named   (contents, props changed)
  head/dns/bind99/files/named   (contents, props changed)

Modified: head/dns/bind96/files/named
==============================================================================
--- head/dns/bind96/files/named	Fri Nov 22 18:48:41 2013	(r334603)
+++ head/dns/bind96/files/named	Fri Nov 22 19:05:01 2013	(r334604)
@@ -20,8 +20,8 @@ reload_cmd="named_reload"
 stop_cmd="named_stop"
 
 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_program=${named_program:-"%%PREFIX%%/sbin/named"}	# Path to named, if you want a different one.
+named_conf=${named_conf:-"%%BIND_DESTETC%%/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

Modified: head/dns/bind98/files/named
==============================================================================
--- head/dns/bind98/files/named	Fri Nov 22 18:48:41 2013	(r334603)
+++ head/dns/bind98/files/named	Fri Nov 22 19:05:01 2013	(r334604)
@@ -20,8 +20,8 @@ reload_cmd="named_reload"
 stop_cmd="named_stop"
 
 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_program=${named_program:-"%%PREFIX%%/sbin/named"}	# Path to named, if you want a different one.
+named_conf=${named_conf:-"%%BIND_DESTETC%%/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

Modified: head/dns/bind99/files/named
==============================================================================
--- head/dns/bind99/files/named	Fri Nov 22 18:48:41 2013	(r334603)
+++ head/dns/bind99/files/named	Fri Nov 22 19:05:01 2013	(r334604)
@@ -20,8 +20,8 @@ reload_cmd="named_reload"
 stop_cmd="named_stop"
 
 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_program=${named_program:-"%%PREFIX%%/sbin/named"}	# Path to named, if you want a different one.
+named_conf=${named_conf:-"%%BIND_DESTETC%%/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


More information about the svn-ports-all mailing list