From b7ffdb5d78d881c7767aa9cac82c0da3a96feea7 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 22 Nov 2013 19:05:01 +0000 Subject: - Respect BIND_DESTETC and PREFIX Submitted by: sunpoet (myself) Approved by: erwin (maintainer) --- dns/bind96/files/named | 4 ++-- dns/bind98/files/named | 4 ++-- dns/bind99/files/named | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dns/bind96/files/named b/dns/bind96/files/named index 777ec1688572..cc267553ad1c 100644 --- a/dns/bind96/files/named +++ b/dns/bind96/files/named @@ -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 diff --git a/dns/bind98/files/named b/dns/bind98/files/named index 777ec1688572..cc267553ad1c 100644 --- a/dns/bind98/files/named +++ b/dns/bind98/files/named @@ -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 diff --git a/dns/bind99/files/named b/dns/bind99/files/named index 777ec1688572..cc267553ad1c 100644 --- a/dns/bind99/files/named +++ b/dns/bind99/files/named @@ -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 -- cgit v1.2.3