pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Mar  1 21:46:50 UTC 2019

Modified Files:
        pkgsrc/net/bind910/files/smf: named.sh
        pkgsrc/net/bind911/files/smf: named.sh
        pkgsrc/net/bind912/files/smf: named.sh

Log Message:
bind*: Ensure named directory is created on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/bind910/files/smf/named.sh
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/bind911/files/smf/named.sh
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/bind912/files/smf/named.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/bind910/files/smf/named.sh
diff -u pkgsrc/net/bind910/files/smf/named.sh:1.4 pkgsrc/net/bind910/files/smf/named.sh:1.5
--- pkgsrc/net/bind910/files/smf/named.sh:1.4   Wed Dec 13 12:05:15 2017
+++ pkgsrc/net/bind910/files/smf/named.sh       Fri Mar  1 21:46:50 2019
@@ -201,6 +201,9 @@ case "$method" in
         rndc_config_file=${chroot_dir}${rndc_config_file}
         rndc_key_file=${chroot_dir}${rndc_key_file}
         rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+    else
+        mkdir -p @VARBASE@/run/named
+        chown ${cmduser}:${cmduser} @VARBASE@/run/named
     fi
 
     # Check if the rndc config file exists.

Index: pkgsrc/net/bind911/files/smf/named.sh
diff -u pkgsrc/net/bind911/files/smf/named.sh:1.1 pkgsrc/net/bind911/files/smf/named.sh:1.2
--- pkgsrc/net/bind911/files/smf/named.sh:1.1   Sun Sep  9 13:11:38 2018
+++ pkgsrc/net/bind911/files/smf/named.sh       Fri Mar  1 21:46:50 2019
@@ -201,6 +201,9 @@ case "$method" in
         rndc_config_file=${chroot_dir}${rndc_config_file}
         rndc_key_file=${chroot_dir}${rndc_key_file}
         rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+    else
+        mkdir -p @VARBASE@/run/named
+        chown ${cmduser}:${cmduser} @VARBASE@/run/named
     fi
 
     # Check if the rndc config file exists.

Index: pkgsrc/net/bind912/files/smf/named.sh
diff -u pkgsrc/net/bind912/files/smf/named.sh:1.1 pkgsrc/net/bind912/files/smf/named.sh:1.2
--- pkgsrc/net/bind912/files/smf/named.sh:1.1   Sun Sep  9 13:16:01 2018
+++ pkgsrc/net/bind912/files/smf/named.sh       Fri Mar  1 21:46:50 2019
@@ -201,6 +201,9 @@ case "$method" in
         rndc_config_file=${chroot_dir}${rndc_config_file}
         rndc_key_file=${chroot_dir}${rndc_key_file}
         rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+    else
+        mkdir -p @VARBASE@/run/named
+        chown ${cmduser}:${cmduser} @VARBASE@/run/named
     fi
 
     # Check if the rndc config file exists.



Home | Main Index | Thread Index | Old Index