pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net bind9{9, 10}: Fix path to rndc-confgen in SMF.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8113bce8fa48
branches:  trunk
changeset: 372648:8113bce8fa48
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Dec 13 12:05:15 2017 +0000

description:
bind9{9,10}: Fix path to rndc-confgen in SMF.

diffstat:

 net/bind910/files/smf/named.sh |  2 +-
 net/bind99/files/smf/named.sh  |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 9b3bfc6fe7ab -r 8113bce8fa48 net/bind910/files/smf/named.sh
--- a/net/bind910/files/smf/named.sh    Wed Dec 13 11:42:51 2017 +0000
+++ b/net/bind910/files/smf/named.sh    Wed Dec 13 12:05:15 2017 +0000
@@ -208,7 +208,7 @@
         # If not, check if the default rndc key file exists.
         if [ ! -f ${rndc_key_file} ]; then
             echo "$I: Creating default rndc key file: ${rndc_key_file}." >&2
-            /usr/sbin/rndc-confgen ${rndc_cmd_opts}
+            @PREFIX@/sbin/rndc-confgen ${rndc_cmd_opts}
             if [ $? -ne 0 ]; then
                 echo "$I : Warning: rndc configuration failed! Use of 'rndc' to" \
                     "control 'named' may fail and 'named' may report further error" \
diff -r 9b3bfc6fe7ab -r 8113bce8fa48 net/bind99/files/smf/named.sh
--- a/net/bind99/files/smf/named.sh     Wed Dec 13 11:42:51 2017 +0000
+++ b/net/bind99/files/smf/named.sh     Wed Dec 13 12:05:15 2017 +0000
@@ -208,7 +208,7 @@
         # If not, check if the default rndc key file exists.
         if [ ! -f ${rndc_key_file} ]; then
             echo "$I: Creating default rndc key file: ${rndc_key_file}." >&2
-            /usr/sbin/rndc-confgen ${rndc_cmd_opts}
+            @PREFIX@/sbin/rndc-confgen ${rndc_cmd_opts}
             if [ $? -ne 0 ]; then
                 echo "$I : Warning: rndc configuration failed! Use of 'rndc' to" \
                     "control 'named' may fail and 'named' may report further error" \



Home | Main Index | Thread Index | Old Index