rpms/bind/devel bind-9.3.2-tmpfile.patch, NONE, 1.1 bind.spec, 1.122, 1.123
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Aug 21 10:15:01 UTC 2006
Author: stransky
Update of /cvs/dist/rpms/bind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv1881
Modified Files:
bind.spec
Added Files:
bind-9.3.2-tmpfile.patch
Log Message:
fix for #203194 - tmpfile usage
bind-9.3.2-tmpfile.patch:
named-bootconf.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE bind-9.3.2-tmpfile.patch ---
--- bind-9.3.2/contrib/named-bootconf/named-bootconf.sh.old 2004-03-06 14:16:11.000000000 +0100
+++ bind-9.3.2/contrib/named-bootconf/named-bootconf.sh 2006-08-21 11:30:03.000000000 +0200
@@ -54,9 +54,9 @@
# POSSIBILITY OF SUCH DAMAGE.
if [ ${OPTIONFILE-X} = X ]; then
- OPTIONFILE=/tmp/.options.`date +%s`.$$
- ZONEFILE=/tmp/.zones.`date +%s`.$$
- COMMENTFILE=/tmp/.comments.`date +%s`.$$
+ OPTIONFILE=`mktemp /tmp/.options.XXXXXX` || exit 1
+ ZONEFILE=`mktemp /tmp/.zones.XXXXXX` || exit 1
+ COMMENTFILE=`mktemp /tmp/.comments.XXXXXX` || exit 1
export OPTIONFILE ZONEFILE COMMENTFILE
touch $OPTIONFILE $ZONEFILE $COMMENTFILE
DUMP=1
Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/bind.spec,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- bind.spec 17 Aug 2006 08:43:45 -0000 1.122
+++ bind.spec 21 Aug 2006 10:14:57 -0000 1.123
@@ -17,7 +17,7 @@
Name: bind
License: BSD-like
Version: 9.3.2
-Release: 37%{?dist}
+Release: 38%{?dist}
Epoch: 30
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-root
@@ -107,8 +107,9 @@
Patch48: bind-9.3.2-9_3_3_dnssec.patch
Patch49: bind-9.3.2-9_3_3_nsupdate.patch
Patch50: bind-9.3.2-9_3_3_tests.patch
+Patch51: bind-9.3.2-tmpfile.patch
#
-Requires: bind-libs = %{epoch}:%{version}-%{release}, glibc >= 2.2
+Requires: bind-libs = %{epoch}:%{version}-%{release}, glibc >= 2.2, mktemp
Requires(post): bash, coreutils, sed, grep, chkconfig >= 1.3.26
Requires(pre): shadow-utils
Requires(preun):chkconfig >= 1.3.26
@@ -356,6 +357,7 @@
%patch48 -p1 -b .9_3_3_dnssec
%patch49 -p1 -b .9_3_3_nsupdate
%patch50 -p1 -b .9_3_3_tests
+%patch51 -p1 -b .tmp
#
# this must follow all dbus patches:
%if %{SDB}
@@ -850,6 +852,9 @@
:;
%changelog
+* Mon Aug 21 2006 Martin Stransky <stransky at redhat.com> - 30:9.3.2-38
+- fix for #203194 - tmpfile usage
+
* Thu Aug 17 2006 Martin Stransky <stransky at redhat.com> - 30:9.3.2-37
- fix for #202542 - /usr/sbin/bind-chroot-admin: No such file or directory
- fix for #202547 - file_contexts: invalid context
More information about the fedora-cvs-commits
mailing list