Marcus Meissner
ed559646e6
- Package dnssec-checkds and dnssec-coverage binaries and man pages only on post-11.1 systems. - Update to version 9.9.5P1 Various bugfixes and some feature fixes. (see CHANGES files) Security and maintenance issues: - [bug] Don't call qsort with a null pointer. [RT #35968] - [bug] Disable GCC 4.9 "delete null pointer check". [RT #35968] - [port] linux: libcap support: declare curval at start of block. [RT #35387] - Update to version 9.9.5 Various bugfixes and some feature fixes. (see CHANGES files) - Updated to current rpz patch from·http://ss.vix.su/~vjs/rrlrpz.html - rpz2-9.9.4.patch + rpz2+rl-9.9.5.patch OBS-URL: https://build.opensuse.org/request/show/243329 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=144
24 lines
699 B
Diff
24 lines
699 B
Diff
Index: contrib/named-bootconf/named-bootconf.sh
|
|
===================================================================
|
|
--- contrib/named-bootconf/named-bootconf.sh.orig
|
|
+++ contrib/named-bootconf/named-bootconf.sh
|
|
@@ -47,7 +47,8 @@
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
if [ ${OPTIONFILE-X} = X ]; then
|
|
- WORKDIR=/tmp/`date +%s`.$$
|
|
+ TMPDIR=`mktemp -p /tmp/ -d named-bootconf.XXXXXXXXXX` || exit 1
|
|
+ WORKDIR=$TMPDIR/`date +%s`.$$
|
|
( umask 077 ; mkdir $WORKDIR ) || {
|
|
echo "unable to create work directory '$WORKDIR'" >&2
|
|
exit 1
|
|
@@ -301,7 +302,7 @@ if [ $DUMP -eq 1 ]; then
|
|
cat $ZONEFILE $COMMENTFILE
|
|
|
|
rm -f $OPTIONFILE $ZONEFILE $COMMENTFILE
|
|
- rmdir $WORKDIR
|
|
+ rm -rf $TMPDIR
|
|
fi
|
|
|
|
exit 0
|