auto-import changelog data from bind-9.1.3-4.src.rpm
Mon Sep 03 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-4 - Make sure /etc/rndc.conf isn't world-readable even after the %post script inserted a random key (#53009)
This commit is contained in:
parent
0a52a5ff3c
commit
976b756d74
43
bind.spec
43
bind.spec
@ -1,5 +1,5 @@
|
|||||||
%define beta %{nil}
|
%define beta %{nil}
|
||||||
%define rel 3
|
%define rel 4
|
||||||
%if "%{beta}" != ""
|
%if "%{beta}" != ""
|
||||||
Release: 0.%{beta}.%{rel}
|
Release: 0.%{beta}.%{rel}
|
||||||
%else
|
%else
|
||||||
@ -35,31 +35,29 @@ which resolves host names to IP addresses; a resolver library
|
|||||||
(routines for applications to use when interfacing with DNS); and
|
(routines for applications to use when interfacing with DNS); and
|
||||||
tools for verifying that the DNS server is operating properly.
|
tools for verifying that the DNS server is operating properly.
|
||||||
|
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: A DNS (Domain Name System) server.
|
Summary: Utilities for querying DNS name servers.
|
||||||
Group: System Environment/Daemons
|
Group: Applications/System
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
|
Bind-utils contains a collection of utilities for querying DNS (Domain
|
||||||
(Domain Name System) protocols. BIND includes a DNS server (named),
|
Name System) name servers to find out information about Internet
|
||||||
which resolves host names to IP addresses; a resolver library
|
hosts. These tools will provide you with the IP addresses for given
|
||||||
(routines for applications to use when interfacing with DNS); and
|
host names, as well as other information about registered domains and
|
||||||
tools for verifying that the DNS server is operating properly.
|
network addresses.
|
||||||
|
|
||||||
|
You should install bind-utils if you need to get information from DNS name
|
||||||
|
servers.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: A DNS (Domain Name System) server.
|
Summary: Include files and libraries needed for bind DNS development.
|
||||||
Group: System Environment/Daemons
|
Group: Development/Libraries
|
||||||
Requires: bind = %{version}
|
Requires: bind = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
|
The bind-devel package contains all the include files and the library
|
||||||
(Domain Name System) protocols. BIND includes a DNS server (named),
|
required for DNS (Domain Name System) development for BIND versions
|
||||||
which resolves host names to IP addresses; a resolver library
|
9.x.x.
|
||||||
(routines for applications to use when interfacing with DNS); and
|
|
||||||
tools for verifying that the DNS server is operating properly.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{beta}
|
%setup -q -n %{name}-%{version}%{beta}
|
||||||
@ -121,6 +119,9 @@ fi
|
|||||||
if [ ! -e /etc/rndc.key.rpmnew ]; then
|
if [ ! -e /etc/rndc.key.rpmnew ]; then
|
||||||
tail -n 4 /etc/rndc.conf >/etc/rndc.key
|
tail -n 4 /etc/rndc.conf >/etc/rndc.key
|
||||||
fi
|
fi
|
||||||
|
chmod 0640 /etc/rndc.conf /etc/rndc.key
|
||||||
|
chown root:named /etc/rndc.conf /etc/rndc.key
|
||||||
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
@ -140,7 +141,7 @@ fi
|
|||||||
/sbin/chkconfig --add named
|
/sbin/chkconfig --add named
|
||||||
|
|
||||||
%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 utils -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -153,7 +154,7 @@ fi
|
|||||||
%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
|
||||||
%config(noreplace) /etc/sysconfig/named
|
%config(noreplace) /etc/sysconfig/named
|
||||||
%config(noreplace) %attr(0640,root,named) /etc/rndc.conf
|
%verify(not size,not md5) %config(noreplace) %attr(0640,root,named) /etc/rndc.conf
|
||||||
%verify(not size,not md5) %config(noreplace) %attr(0640,root,named) /etc/rndc.key
|
%verify(not size,not md5) %config(noreplace) %attr(0640,root,named) /etc/rndc.key
|
||||||
|
|
||||||
/usr/sbin/dnssec*
|
/usr/sbin/dnssec*
|
||||||
@ -195,6 +196,10 @@ fi
|
|||||||
/usr/include/*
|
/usr/include/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-4
|
||||||
|
- Make sure /etc/rndc.conf isn't world-readable even after the
|
||||||
|
%post script inserted a random key (#53009)
|
||||||
|
|
||||||
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-3
|
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-3
|
||||||
- Add build dependencies (#49368)
|
- Add build dependencies (#49368)
|
||||||
- Make sure running service named start several times doesn't create
|
- Make sure running service named start several times doesn't create
|
||||||
|
Loading…
Reference in New Issue
Block a user