diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index 3ff3e58..4ba7bc6 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -212,7 +212,7 @@ function master_zone_writes_enabled() if selinux_enabled; then if [ -x /usr/sbin/getsebool ]; then named_write_master_zones=`/usr/sbin/getsebool named_write_master_zones | cut -d' ' -f3`; - if [ $named_write_master_zones == "on" ]; then + if [ $named_write_master_zones = "on" ]; then return 0; else return 1; diff --git a/bind.spec b/bind.spec index db12088..1383d4f 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.4.1 -Release: 4%{?dist} +Release: 4.1%{?dist} Epoch: 31 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -482,7 +482,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.183 2007/05/24 14:31:50 atkac 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.184 2007/05/29 11:39:26 atkac 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: @@ -810,6 +810,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Tue May 29 2007 Adam Tkac 31:9.4.1-4.1.fc8 +- very minor compatibility change in bind-chroot-admin (line 215) + * Wed May 24 2007 Adam Tkac 31:9.4.1-4.fc8 - removed ldap-api patch and start using deprecated API - fixed minor problem in bind-chroot-admin script (#241103)