From a49bffaad062a6503f81cc4e419cfaf971196f93 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Aug 21 2006 10:14:57 +0000 Subject: fix for #203194 - tmpfile usage --- diff --git a/bind.spec b/bind.spec index 7c7dbe3..e4e9194 100644 --- a/bind.spec +++ b/bind.spec @@ -17,7 +17,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv 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 @@ Patch47: bind-9.3.2-9_3_3_dig.patch 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 @@ cp -fp contrib/sdb/pgsql/zonetodb.c bin/sdb_tools %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} @@ -522,7 +524,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int echo '@ in soa localhost. root 1 3H 15M 1W 1D ns localhost.' > sample/var/named/$f; done -/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.122 2006/08/17 08:43:45 stransky Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ +/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.123 2006/08/21 10:14:57 stransky Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ *\ * NOTE: you only need to create this file if it is to\ * differ from the following default contents: @@ -850,6 +852,9 @@ rm -rf ${RPM_BUILD_ROOT} :; %changelog +* Mon Aug 21 2006 Martin Stransky - 30:9.3.2-38 +- fix for #203194 - tmpfile usage + * Thu Aug 17 2006 Martin Stransky - 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