summaryrefslogtreecommitdiffstats
path: root/bind.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2006-10-26 08:11:06 +0000
committerMartin Stransky <stransky@fedoraproject.org>2006-10-26 08:11:06 +0000
commit4aeb1a8c255516ef82debecd2e33a2df424dbdf4 (patch)
tree6c143a66a37c6e18b16ef9a0d966d8063eab1e25 /bind.spec
parent0fa526726f3220d97d3d61d76ddfdcdf77c12533 (diff)
fix for #200465: named-checkzone and co. cannot be run as non-root user
Diffstat (limited to 'bind.spec')
-rw-r--r--bind.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/bind.spec b/bind.spec
index 96b5465..946729b 100644
--- a/bind.spec
+++ b/bind.spec
@@ -18,7 +18,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: BSD-like
Version: 9.3.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 30
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-root
@@ -448,7 +448,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.135 2006/10/13 10:10:13 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.136 2006/10/26 08:11:06 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:
@@ -485,14 +485,15 @@ chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*so.*
# ^- The default rndc.conf which uses rndc.key is in named's default internal config -
# so rndc.conf is not necessary.
%config(noreplace) /etc/logrotate.d/named
-%defattr(0750,root,root,0755)
+%defattr(-,root,root)
%{_sbindir}/dnssec*
+%{_sbindir}/named-check*
+%{_sbindir}/dns-keygen
+%defattr(0750,root,root,0755)
%{_sbindir}/lwresd
%{_sbindir}/named
%{_sbindir}/named-bootconf
-%{_sbindir}/named-check*
%{_sbindir}/rndc*
-%{_sbindir}/dns-keygen
%{_sbindir}/bind-chroot-admin
%defattr(0644,root,root,0755)
%{_mandir}/man5/named.conf.5*
@@ -776,8 +777,13 @@ rm -rf ${RPM_BUILD_ROOT}
:;
%changelog
+* Fri Oct 26 2006 Martin Stransky <stransky@redhat.com> - 30:9.3.3-6
+- fix for #200465: named-checkzone and co. cannot be run
+ as non-root user
+
* Fri Oct 13 2006 Martin Stransky <stransky@redhat.com> - 30:9.3.3-5
-- fix for #209359: bind-libs from compatlayer CD will not install on ia64
+- fix for #209359: bind-libs from compatlayer CD will not
+ install on ia64
* Tue Oct 10 2006 Martin Stransky <stransky@redhat.com> - 30:9.3.3-4
- added fix for #210096: warning: group named does not exist - using root