pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net bind*: Fix a couple of issues in the SMF method.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c6c2ca3f039
branches: trunk
changeset: 335407:3c6c2ca3f039
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Jun 19 10:58:48 2019 +0000
description:
bind*: Fix a couple of issues in the SMF method.
Fix a typo in the configuration_file arguments, joyent/pkgsrc#189.
Ensure the /var/run/named directory has the correct permissions.
diffstat:
net/bind911/files/smf/named.sh | 4 ++--
net/bind912/files/smf/named.sh | 4 ++--
net/bind914/files/smf/named.sh | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (63 lines):
diff -r 39f6d1bfb4b7 -r 3c6c2ca3f039 net/bind911/files/smf/named.sh
--- a/net/bind911/files/smf/named.sh Wed Jun 19 10:52:16 2019 +0000
+++ b/net/bind911/files/smf/named.sh Wed Jun 19 10:58:48 2019 +0000
@@ -111,7 +111,7 @@
;;
'configuration_file')
cmdopts="${cmdopts} -c ${value}"
- checkopts="${checkopts} -t ${value}"
+ checkopts="${checkopts} ${value}"
configuration_file=${value};
;;
'server')
@@ -202,7 +202,7 @@
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
else
- mkdir -p @VARBASE@/run/named
+ mkdir -p -m 0770 @VARBASE@/run/named
chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
diff -r 39f6d1bfb4b7 -r 3c6c2ca3f039 net/bind912/files/smf/named.sh
--- a/net/bind912/files/smf/named.sh Wed Jun 19 10:52:16 2019 +0000
+++ b/net/bind912/files/smf/named.sh Wed Jun 19 10:58:48 2019 +0000
@@ -111,7 +111,7 @@
;;
'configuration_file')
cmdopts="${cmdopts} -c ${value}"
- checkopts="${checkopts} -t ${value}"
+ checkopts="${checkopts} ${value}"
configuration_file=${value};
;;
'server')
@@ -202,7 +202,7 @@
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
else
- mkdir -p @VARBASE@/run/named
+ mkdir -p -m 0770 @VARBASE@/run/named
chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
diff -r 39f6d1bfb4b7 -r 3c6c2ca3f039 net/bind914/files/smf/named.sh
--- a/net/bind914/files/smf/named.sh Wed Jun 19 10:52:16 2019 +0000
+++ b/net/bind914/files/smf/named.sh Wed Jun 19 10:58:48 2019 +0000
@@ -111,7 +111,7 @@
;;
'configuration_file')
cmdopts="${cmdopts} -c ${value}"
- checkopts="${checkopts} -t ${value}"
+ checkopts="${checkopts} ${value}"
configuration_file=${value};
;;
'server')
@@ -202,7 +202,7 @@
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
else
- mkdir -p @VARBASE@/run/named
+ mkdir -p 0770 @VARBASE@/run/named
chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
Home |
Main Index |
Thread Index |
Old Index