auto-import changelog data from bind-9.2.3-9.src.rpm
Mon Mar 15 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-9 - Add fix for SELinux security context Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Sat Feb 28 2004 Florian La Roche <Florian.LaRoche@redhat.de> - run ldconfig for libs subrpm Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com> - Use ':' instead of '.' as separator for chown. Tue Feb 17 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-7 - Add COPYRIGHT Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt
This commit is contained in:
parent
31bdca3fd1
commit
86fb37f71f
42
bind.spec
42
bind.spec
|
@ -26,7 +26,7 @@ Patch9: bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2
|
||||||
Url: http://www.isc.org/products/BIND/
|
Url: http://www.isc.org/products/BIND/
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
Version: 9.2.3
|
Version: 9.2.3
|
||||||
Release: 5
|
Release: 9
|
||||||
|
|
||||||
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig fileutils tar
|
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig fileutils tar
|
||||||
Requires(pre,preun): shadow-utils
|
Requires(pre,preun): shadow-utils
|
||||||
|
@ -110,7 +110,7 @@ if [ $1 = 1 ]; then
|
||||||
# the not-so-trusted named(8) binary to suck all the randomness from the RNG.
|
# the not-so-trusted named(8) binary to suck all the randomness from the RNG.
|
||||||
mknod "%{prefix}/dev/random" c 1 9
|
mknod "%{prefix}/dev/random" c 1 9
|
||||||
chmod 640 "%{prefix}/dev/random"
|
chmod 640 "%{prefix}/dev/random"
|
||||||
chown root.named "%{prefix}/dev/random"
|
chown root:named "%{prefix}/dev/random"
|
||||||
if test -r /etc/localtime
|
if test -r /etc/localtime
|
||||||
then
|
then
|
||||||
cp /etc/localtime "%{prefix}/etc/localtime"
|
cp /etc/localtime "%{prefix}/etc/localtime"
|
||||||
|
@ -118,20 +118,20 @@ if [ $1 = 1 ]; then
|
||||||
if test -r /etc/rndc.key
|
if test -r /etc/rndc.key
|
||||||
then
|
then
|
||||||
cp /etc/rndc.key "%{prefix}/etc/rndc.key"
|
cp /etc/rndc.key "%{prefix}/etc/rndc.key"
|
||||||
chown named.named "%{prefix}/etc/rndc.key"
|
chown named:named "%{prefix}/etc/rndc.key"
|
||||||
fi
|
fi
|
||||||
if test -r /etc/named.conf
|
if test -r /etc/named.conf
|
||||||
then
|
then
|
||||||
cp /etc/named.conf "%{prefix}/etc/named.conf"
|
cp /etc/named.conf "%{prefix}/etc/named.conf"
|
||||||
chown named.named "%{prefix}/etc/named.conf"
|
chown named:named "%{prefix}/etc/named.conf"
|
||||||
fi
|
fi
|
||||||
if test -r /etc/named.custom
|
if test -r /etc/named.custom
|
||||||
then
|
then
|
||||||
cp /etc/named.custom "%{prefix}/etc/named.custom"
|
cp /etc/named.custom "%{prefix}/etc/named.custom"
|
||||||
chown named.named "%{prefix}/etc/named.custom"
|
chown named:named "%{prefix}/etc/named.custom"
|
||||||
fi
|
fi
|
||||||
cp -rf /var/named/* "%{prefix}/var/named/" 2> /dev/null
|
cp -rf /var/named/* "%{prefix}/var/named/" 2> /dev/null
|
||||||
chown -R named.named "%{prefix}/var/named"
|
chown -R named:named "%{prefix}/var/named"
|
||||||
if /etc/init.d/named condrestart
|
if /etc/init.d/named condrestart
|
||||||
then :
|
then :
|
||||||
fi
|
fi
|
||||||
|
@ -230,6 +230,12 @@ if [ $1 = 1 ]; then
|
||||||
if [ ! -e /etc/rndc.key.rpmnew ]; then
|
if [ ! -e /etc/rndc.key.rpmnew ]; then
|
||||||
sed -e "s/@KEY@/`/usr/sbin/dns-keygen`/" /etc/rndc.key >/etc/rndc.key.tmp
|
sed -e "s/@KEY@/`/usr/sbin/dns-keygen`/" /etc/rndc.key >/etc/rndc.key.tmp
|
||||||
mv -f /etc/rndc.key.tmp /etc/rndc.key
|
mv -f /etc/rndc.key.tmp /etc/rndc.key
|
||||||
|
if [ -x /usr/sbin/restorecon ]; then
|
||||||
|
#
|
||||||
|
# Restore selinux file_context
|
||||||
|
#
|
||||||
|
/usr/sbin/restorecon /etc/rndc.key
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
chmod 0640 /etc/rndc.conf etc/rndc.key
|
chmod 0640 /etc/rndc.conf etc/rndc.key
|
||||||
chown root:named /etc/rndc.conf etc/rndc.key
|
chown root:named /etc/rndc.conf etc/rndc.key
|
||||||
|
@ -260,14 +266,14 @@ fi
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
|
|
||||||
%post utils -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun utils -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%if %server
|
%if %server
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES README
|
%doc CHANGES COPYRIGHT README
|
||||||
%doc doc/arm doc/draft doc/rfc doc/misc
|
%doc doc/arm doc/draft doc/rfc doc/misc
|
||||||
%config(noreplace) /etc/logrotate.d/named
|
%config(noreplace) /etc/logrotate.d/named
|
||||||
%config /etc/rc.d/init.d/named
|
%config /etc/rc.d/init.d/named
|
||||||
|
@ -325,6 +331,24 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 15 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-9
|
||||||
|
- Add fix for SELinux security context
|
||||||
|
|
||||||
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Sat Feb 28 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- run ldconfig for libs subrpm
|
||||||
|
|
||||||
|
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Use ':' instead of '.' as separator for chown.
|
||||||
|
|
||||||
|
* Tue Feb 17 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-7
|
||||||
|
- Add COPYRIGHT
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
* Tue Dec 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-5
|
* Tue Dec 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-5
|
||||||
- Add defattr to libs
|
- Add defattr to libs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue