jvdias 0cd02a
#
jvdias 0cd02a
#               Red Hat BIND package .spec file
jvdias 781dfa
#
jvdias 0cd02a
%{?!SDB:        %define SDB         1}
jvdias 0cd02a
%{?!LIBBIND:    %define LIBBIND	    1}
jvdias 0cd02a
%{?!efence:     %define efence      0}
jvdias 0cd02a
%{?!test:       %define test        0}
jvdias 781dfa
%{?!WITH_DBUS:  %define WITH_DBUS   1} # + dynamic forwarder table management with D-BUS
jvdias 0cd02a
%{?!DEBUGINFO:  %define DEBUGINFO   1}
jvdias 505ab5
%{?!bind_uid:   %define bind_uid   25}
jvdias 505ab5
%{?!bind_gid:   %define bind_gid   25}
jvdias 68b4c1
%{?!selinux:	%define selinux     1}
jvdias 0cd02a
%define		bind_dir      /var/named
jvdias 0cd02a
%define    	chroot_prefix %{bind_dir}/chroot
jvdias 0cd02a
#
jvdias 0cd02a
Summary: 	The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server.
jvdias 0cd02a
Name: 		bind
jvdias 0cd02a
License: 	BSD-like
jvdias 0cd02a
Version: 	9.3.2
jvdias 781dfa
Release: 	14.FC6
jvdias 0cd02a
Epoch:   	30
jvdias 0cd02a
Url: 		http://www.isc.org/products/BIND/
jvdias 0cd02a
Buildroot: 	%{_tmppath}/%{name}-root
jvdias 0cd02a
Group: 		System Environment/Daemons
jvdias 0cd02a
#
jvdias 0cd02a
Source: 	ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.gz
jvdias 0cd02a
Source1: 	named.sysconfig
jvdias 0cd02a
Source2: 	named.init
jvdias 0cd02a
Source3: 	named.logrotate
jvdias 0cd02a
Source4: 	keygen.c
jvdias 0cd02a
Source5: 	rfc1912.txt
jvdias 0cd02a
Source6: 	bind-chroot.tar.gz
jvdias 0cd02a
Source7: 	bind-9.3.1rc1-sdb_tools-Makefile.in
jvdias 0cd02a
Source8: 	http://www.venaas.no/ldap/bind-sdb/dnszone.schema
jvdias 0cd02a
Source9: 	libbind-man.tar.gz
jvdias 0cd02a
Source10: 	named-dbus.conf
jvdias 0cd02a
Source11: 	named.service
jvdias 0cd02a
Source12: 	README.sdb_pgsql
jvdias 0cd02a
Source13: 	namedSetForwarders
jvdias 0cd02a
Source14: 	namedGetForwarders
jvdias 0cd02a
Source15: 	filter_requires.sh
jvdias 0cd02a
Source16: 	named.caching-nameserver.conf
jvdias 0cd02a
Source17: 	named.root
jvdias 0cd02a
Source18: 	named.local
jvdias 0cd02a
Source19: 	localhost.zone
jvdias 0cd02a
Source20: 	localdomain.zone
jvdias 0cd02a
Source21: 	named.ip6.local
jvdias 0cd02a
Source22: 	named.broadcast
jvdias 0cd02a
Source23: 	named.zero
jvdias 0cd02a
Source24:	Copyright.caching-nameserver
jvdias 0cd02a
Source25: 	rfc1912.txt
jvdias 0cd02a
Source26: 	bind-chroot-admin.in
jvdias 0cd02a
Source27:       named.rfc1912.zones
jvdias 505ab5
Source28:	libbind.pc
jvdias 053216
Source29:	named.conf.sample
jvdias 053216
Source30:       named.rfc1912.zones.sample
jvdias 053216
Source31:       named.root.hints
jvdias 0cd02a
#
jvdias 0cd02a
Patch:  	bind-9.2.0rc3-varrun.patch
jvdias 0cd02a
Patch1: 	bind-9.3.2b2-rndckey.patch
jvdias 0cd02a
Patch2: 	bind-9.3.1beta2-openssl-suffix.patch
jvdias 0cd02a
Patch3: 	bind-posixthreads.patch
jvdias 0cd02a
Patch4: 	bind-bsdcompat.patch
jvdias 0cd02a
Patch5: 	bind-nonexec.patch
jvdias 0cd02a
Patch6: 	bind-9.2.2-nsl.patch
jvdias 0cd02a
Patch7: 	bind-9.2.4rc7-pie.patch
jvdias 0cd02a
Patch8: 	bind-9.3.0-handle-send-errors.patch
jvdias 0cd02a
Patch9: 	bind-9.3.0-missing-dnssec-tools.patch
jvdias 0cd02a
Patch10: 	bind-9.3.2b1-PIE.patch
jvdias 0cd02a
Patch11: 	bind-9.3.2b2-sdbsrc.patch
jvdias 0cd02a
Patch12: 	bind-9.3.1rc1-sdb.patch
jvdias 0cd02a
Patch13: 	bind-9.3.1rc1-fix_libbind_includedir.patch
jvdias 0cd02a
Patch14: 	libbind-9.3.1rc1-fix_h_errno.patch
jvdias 0cd02a
Patch15: 	bind-9.3.2b2-dbus.patch
jvdias 0cd02a
Patch16: 	bind-9.3.2-redhat_doc.patch
jvdias 0cd02a
Patch17: 	bind-9.3.2b1-fix_sdb_ldap.patch
jvdias 0cd02a
Patch18: 	bind-9.3.1-reject_resolv_conf_errors.patch
jvdias 0cd02a
Patch19: 	bind-9.3.1-next_server_on_referral.patch
jvdias 0cd02a
Patch20: 	bind-9.3.2b2-no_servfail_stops.patch
jvdias 0cd02a
Patch21: 	bind-9.3.2b1-fix_sdb_pgsql.patch
jvdias 0cd02a
Patch22: 	bind-9.3.1-sdb_dbus.patch
jvdias 0cd02a
Patch23: 	bind-9.3.1-dbus_archdep_libdir.patch
jvdias 0cd02a
Patch24: 	bind-9.3.1-t_no_default_lookups.patch
jvdias 0cd02a
Patch25: 	bind-9.3.1-fix_no_dbus_daemon.patch
jvdias 0cd02a
Patch26: 	bind-9.3.1-flush-cache.patch
jvdias 0cd02a
Patch27: 	bind-9.3.1-dbus_restart.patch
jvdias 0cd02a
Patch28: 	bind-9.3.2rc1-dbus-0.6.patch
jvdias 0cd02a
Patch29: 	bind-9.3.2-bz177854.patch
jvdias 0cd02a
#
jvdias 781dfa
Requires:	bind-libs = %{epoch}:%{version}-%{release}, glibc  >= 2.2
jvdias 781dfa
Requires(post): bash, coreutils, sed, grep, chkconfig >= 1.3.26
jvdias 781dfa
Requires(pre): 	shadow-utils
jvdias 781dfa
Requires(preun):chkconfig >= 1.3.26
jvdias 68b4c1
%if %{selinux}
jvdias 781dfa
Requires(post):	policycoreutils
jvdias 68b4c1
%endif
jvdias 781dfa
BuildRequires: 	gcc, glibc-devel >= 2.2.5-26,  glibc-kernheaders >= 2.4-7.10, openssl-devel, libtool, pkgconfig, tar
jvdias 18d1e1
%if %{SDB}
jvdias 781dfa
BuildRequires:  openldap-devel, postgresql-devel
jvdias 38983f
%endif
jvdias 38983f
%if %{WITH_DBUS}
jvdias 781dfa
BuildRequires:  dbus-devel
jvdias 18d1e1
%endif
jvdias 781dfa
%if %{test}
jvdias 781dfa
BuildRequires:  net-tools, perl
jvdias 38983f
%endif
jvdias 781dfa
#
jvdias 781dfa
# fix bug 176100: do not Require: perl just for namedGetForwarders !
jvdias dedee9
%define __perl_requires %SOURCE15
jvdias dedee9
%define __find_requires %SOURCE15
jvdias dedee9
%define _use_internal_dependency_generator 0
jvdias 0cd02a
#
cvsdist 2f7f4b
cvsdist 2f7f4b
%description
cvsdist 2f7f4b
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
cvsdist aed712
(Domain Name System) protocols. BIND includes a DNS server (named),
cvsdist aed712
which resolves host names to IP addresses; a resolver library
cvsdist aed712
(routines for applications to use when interfacing with DNS); and
cvsdist aed712
tools for verifying that the DNS server is operating properly.
cvsdist aed712
jvdias 0cd02a
jvdias 0cd02a
%package  libs
jvdias 781dfa
Summary:  Libraries used by the BIND DNS packages
jvdias 0cd02a
Group:    Applications/System
cvsdist d6fdf5
cvsdist 31bdca
%description libs
cvsdist 31bdca
Contains libraries used by both the bind server package as well as the utils packages.
cvsdist 31bdca
jvdias 0cd02a
jvdias 0cd02a
%package  utils
jvdias 0cd02a
Summary:  Utilities for querying DNS name servers.
jvdias 0cd02a
Group:    Applications/System
jvdias e54aef
Requires: bind-libs = %{epoch}:%{version}-%{release}
cvsdist 2f7f4b
cvsdist 2f7f4b
%description utils
cvsdist 976b75
Bind-utils contains a collection of utilities for querying DNS (Domain
cvsdist 976b75
Name System) name servers to find out information about Internet
cvsdist 976b75
hosts. These tools will provide you with the IP addresses for given
cvsdist 976b75
host names, as well as other information about registered domains and
cvsdist 976b75
network addresses.
cvsdist 2f7f4b
cvsdist 976b75
You should install bind-utils if you need to get information from DNS name
cvsdist 976b75
servers.
cvsdist 2f7f4b
jvdias 0cd02a
jvdias 0cd02a
%package   devel
jvdias 781dfa
Summary:   Header files and libraries needed for BIND DNS development.
jvdias 0cd02a
Group:     Development/Libraries
jvdias 0cd02a
Requires:  bind-libs = %{epoch}:%{version}-%{release}
cvsdist 2f7f4b
cvsdist 2f7f4b
%description devel
jvdias 781dfa
The bind-devel package contains all the header files and libraries
jvdias 781dfa
required for DNS (Domain Name System) development with ISC BIND 9.x.x.
cvsdist 2f7f4b
jvdias 0cd02a
jvdias 0cd02a
%package   config
jvdias 0cd02a
Summary:   Default BIND configuration files for a caching nameserver
jvdias 0cd02a
Group: 	   System Environment/Daemons
jvdias 0cd02a
Obsoletes: caching-nameserver
jvdias 0cd02a
Provides:  caching-nameserver
jvdias 0cd02a
Requires:  bind = %{epoch}:%{version}-%{release}
jvdias 781dfa
Requires(post):   bash, coreutils, sed, grep
jvdias 781dfa
Requires(postun): bash, coreutils, sed, grep
jvdias 68b4c1
%if %{selinux}
jvdias 74a3b1
Requires(post): policycoreutils
jvdias 68b4c1
%endif
jvdias 0cd02a
jvdias 0cd02a
%description config
jvdias 781dfa
The bind-config package includes the configuration files which will make
jvdias 0cd02a
the ISC BIND named DNS name server act as a simple caching nameserver.
jvdias 0cd02a
A caching nameserver is a DNS Resolver, as defined in RFC 1035, section 7.
jvdias 781dfa
ISC BIND named(8) provides a very efficient, flexible and robust resolver as
jvdias 781dfa
well as a server of authoritative DNS data - many users use this package
jvdias 0cd02a
along with BIND to implement their primary system DNS resolver service.
jvdias 0cd02a
If you would like to set up a caching name server, you'll need to install
jvdias 781dfa
bind, bind-libs, and bind-utils along with this package.
jvdias 0cd02a
This package replaces the caching-nameserver package.
jvdias 0cd02a
jvdias 505ab5
jvdias 0cd02a
%package   chroot
jvdias 0cd02a
Summary:   A chroot runtime environment for the ISC BIND DNS server, named(8)
jvdias 0cd02a
Group: 	   System Environment/Daemons
jvdias 0cd02a
Prefix:    %{chroot_prefix}
jvdias 0cd02a
Requires:  bind = %{epoch}:%{version}-%{release}
jvdias 781dfa
Requires(post):  bash, coreutils, sed, grep
jvdias 781dfa
Requires(preun): bash, coreutils, sed, grep
jvdias 68b4c1
%if %{selinux}
jvdias 74a3b1
Requires(post): policycoreutils
jvdias 68b4c1
%endif
jvdias 0cd02a
jvdias 0cd02a
%description chroot
jvdias 0cd02a
This package contains a tree of files which can be used as a
jvdias 0cd02a
chroot(2) jail for the named(8) program from the BIND package.
jvdias 0cd02a
Based off code from Jan "Yenya" Kasprzak <kas@fi.muni.cz>
jvdias 0cd02a
jvdias 0cd02a
jvdias c4b623
%if %{LIBBIND}
jvdias c4b623
jvdias d940d2
%package libbind-devel
jvdias d940d2
Summary: Include files and library needed to use the BIND resolver library.
jvdias d940d2
Group: Development/Libraries
jvdias d940d2
Requires: bind-libs = %{epoch}:%{version}-%{release}
jvdias d940d2
jvdias d940d2
%description libbind-devel
jvdias d940d2
The bind-libbind-devel package contains the libbind BIND resolver library,
jvdias d940d2
compatible with that from ISC BIND 8, and the /usr/include/bind include files
jvdias d940d2
necessary to develop software that uses it.
jvdias d940d2
jvdias c4b623
%endif
jvdias c4b623
cvsdist 4f506d
jvdias d940d2
%if %{SDB}
jvdias c4b623
jvdias c4b623
%package sdb
jvdias d940d2
Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server with database backends.
jvdias d940d2
Group: System Environment/Daemons
jvdias 68b4c1
Requires: bind-libs = %{epoch}:%{version}-%{release}, bind-utils = %{epoch}:%{version}-%{release},  glibc  >= 2.2
jvdias 781dfa
Requires(post):   bash, coreutils, sed, grep, mktemp
jvdias 781dfa
Requires(preun):  bash, coreutils, sed, grep
jvdias 68b4c1
%if %{selinux}
jvdias 74a3b1
Requires(post): policycoreutils
jvdias 68b4c1
%endif
cvsdist 93b7ac
jvdias c4b623
%description sdb
jvdias d940d2
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
jvdias d940d2
(Domain Name System) protocols. BIND includes a DNS server (named),
jvdias d940d2
which resolves host names to IP addresses; a resolver library
jvdias d940d2
(routines for applications to use when interfacing with DNS); and
jvdias d940d2
tools for verifying that the DNS server is operating properly.
cvsdist 4f506d
jvdias 781dfa
BIND SDB (Simplified Database Backend) provides named_sdb, the DNS
jvdias 781dfa
name server compiled to include support for using alternative Zone Databases
jvdias 781dfa
stored in an LDAP server (ldapdb), a postgreSQL database (pgsqldb), or in the
jvdias 781dfa
filesystem (dirdb), in addition  to the standard in-memory RBT (Red Black Tree)
jvdias 781dfa
zone database.
jvdias c4b623
jvdias d940d2
%endif
jvdias 1c28ac
jvdias 0cd02a
cvsdist 2f7f4b
%prep
cvsdist a99a1d
%setup -q -n %{name}-%{version}
cvsdist 366442
%patch -p1 -b .varrun
cvsdist 366442
%patch1 -p1 -b .key
jvdias 4f7c22
%patch2 -p1 -b .openssl_suffix
jvdias 0cd02a
#%define         posix_threads       0
jvdias 4f7c22
#%if %{posix_threads}
jvdias 4f7c22
#%patch3 -p1 -b .posixthreads
jvdias 0cd02a
#^- This patch is no longer required and would not work anyway (see BZ 87525).
jvdias 4f7c22
#%endif
cvsdist 4f506d
%patch4 -p1 -b .bsdcompat
cvsdist 4f506d
%patch5 -p1 -b .nonexec
jvdias 903302
%patch6 -p1 -b .nsl
jvdias 903302
#%patch7 -p1 -b .pie
jvdias 903302
# This patch now in patch10
jvdias 4f7c22
#%patch8 -p1 -b .handle_send_errors
jvdias 4f7c22
# This patch is now in ISC bind-9.3.1x
jvdias 781dfa
#
jvdias 903302
#%patch9 -p1 -b .missing_dnssec_tools
jvdias 903302
#RIP dnssec-signkey and dnssec-makekeyset:
jvdias 903302
#1852.	[cleanup]	Remove last vestiges of dnssec-signkey and
jvdias 903302
#			dnssec-makekeyset (removed from Makefile years ago).
jvdias 903302
#
jvdias 903302
%patch10 -p1 -b .PIE
jvdias 18d1e1
%if %{SDB}
jvdias 18d1e1
%patch11 -p1 -b .sdbsrc
jvdias 18d1e1
# BUILD 'Simplified Database Backend' (SDB) version of named: named_sdb
jvdias 18d1e1
cp -rfp bin/named bin/named_sdb
jvdias 18d1e1
# SDB ldap
jvdias 18d1e1
cp -fp contrib/sdb/ldap/ldapdb.[ch] bin/named_sdb
jvdias 18d1e1
# SDB postgreSQL
jvdias 18d1e1
cp -fp contrib/sdb/pgsql/pgsqldb.[ch] bin/named_sdb
jvdias 18d1e1
# SDB Berkeley DB - needs to be ported to DB4!
jvdias 18d1e1
#cp -fp contrib/sdb/bdb/bdb.[ch] bin/named_sdb
jvdias 18d1e1
# SDB dir
jvdias 18d1e1
cp -fp contrib/sdb/dir/dirdb.[ch] bin/named_sdb
jvdias 18d1e1
# SDB tools
jvdias 18d1e1
mkdir -p bin/sdb_tools
jvdias 18d1e1
cp -fp %{SOURCE7} bin/sdb_tools/Makefile.in
jvdias 18d1e1
#cp -fp contrib/sdb/bdb/zone2bdb.c bin/sdb_tools
jvdias 18d1e1
cp -fp contrib/sdb/ldap/{zone2ldap.1,zone2ldap.c} bin/sdb_tools
jvdias 18d1e1
cp -fp contrib/sdb/pgsql/zonetodb.c bin/sdb_tools
jvdias 18d1e1
%patch12 -p1 -b .sdb
jvdias c4b623
%endif
jvdias c4b623
%if %{LIBBIND}
jvdias d940d2
%patch13 -p1 -b .fix_libbind_includedir
jvdias bbcf3c
%patch14 -p1 -b .fix_h_errno
jvdias 18d1e1
%endif
jvdias 38983f
%if %{WITH_DBUS}
jvdias 38983f
%patch15 -p1 -b .dbus
jvdias c1b303
%if %{SDB}
jvdias c1b303
%patch22 -p1 -b .sdb_dbus
jvdias c1b303
%endif
jvdias c1b303
%patch23 -p1 -b .dbus_archdep_libdir
jvdias 38983f
%else
jvdias 60e12f
%patch16 -p1 -b .redhat_doc
jvdias 38983f
%endif
jvdias 903302
%if %{SDB}
jvdias 903302
%patch17 -p1 -b .fix_sdb_ldap
jvdias 903302
%endif
jvdias 903302
# %patch18 -p1 -b .reject_resolv_conf_errors
jvdias 903302
# patch now upstream.
jvdias 4a7943
%patch19 -p1 -b .next_server_on_referral
jvdias 3aa6d8
%patch20 -p1 -b .no_servfail_stops
jvdias 903302
# patches now upstream :
jvdias 903302
#%patch21 -p1 -b .fix_sdb_pgsql
jvdias 903302
#%patch24 -p1 -b .-t_no_default_lookups
Florian La Roche 240066
%if %{WITH_DBUS}
jvdias c1b303
%patch25 -p1 -b .fix_no_dbus_daemon
jvdias c1b303
%patch26 -p1 -b .flush_cache
jvdias c1b303
%patch27 -p1 -b .dbus_restart
jvdias c1b303
%patch28 -p1 -b .dbus-0.6
jvdias 60e12f
# this patch no longer required (kernel now fixed):
jvdias 60e12f
# %patch29 -p1 -b .bz177854
jvdias 903302
#
jvdias c1b303
# this must follow all dbus patches:
jvdias dbe55d
%if %{SDB}
jvdias dbe55d
cp -fp bin/named/{dbus_mgr.c,dbus_service.c,log.c,server.c} bin/named_sdb
jvdias dbe55d
cp -fp bin/named/include/named/{dbus_mgr.h,dbus_service.h,globals.h,server.h,log.h,types.h} bin/named_sdb/include/named
jvdias dbe55d
%endif
jvdias dbe55d
%endif
jvdias 781dfa
:;
jvdias c1b303
jvdias 0cd02a
cvsdist 2f7f4b
%build
cvsdist 31bdca
libtoolize --copy --force; aclocal; autoconf
cvsdist 761f89
cp -f /usr/share/libtool/config.{guess,sub} .
jvdias 781dfa
%if %{DEBUGINFO}
jvdias 781dfa
export CFLAGS="$RPM_OPT_FLAGS";
jvdias 781dfa
%else
jvdias 781dfa
export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2 -g/-g3 -gdwarf-2/g'`;
jvdias 781dfa
%endif
jvdias 781dfa
export CPPFLAGS="$CFLAGS";
jvdias 826329
%if %{WITH_DBUS}
jvdias 826329
%ifarch s390x x86_64 ppc64
jvdias 826329
# every 64-bit arch EXCEPT ia64 has dbus architecture dependant
jvdias 826329
# includes in  /usr/lib64/dbus-1.0/include
jvdias 826329
export DBUS_ARCHDEP_LIBDIR=lib64
jvdias 826329
%endif
jvdias 826329
%endif
cvsdist 78e1f2
if pkg-config openssl ; then
cvsdist 78e1f2
	export CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
cvsdist 78e1f2
	export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I openssl`"
cvsdist 78e1f2
	export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
cvsdist 78e1f2
fi
jvdias d940d2
%if %{efence}
jvdias d940d2
export LDFLAGS=-lefence
jvdias d940d2
%endif
jvdias 781dfa
%configure \
jvdias 781dfa
	--with-libtool \
jvdias 781dfa
	--localstatedir=/var \
jvdias c4b623
	--enable-threads \
jvdias c4b623
	--enable-ipv6 \
Nalin Dahyabhai d2bac1
	--with-pic \
jvdias c4b623
	--with-openssl=/usr \
jvdias 781dfa
%if %{LIBBIND}
jvdias 781dfa
	--enable-libbind \
jvdias c4b623
%endif
jvdias 781dfa
	CFLAGS="$CFLAGS" \
jvdias 781dfa
;
jvdias 43365c
make %{?_smp_mflags}
jvdias 0cd02a
jvdias 0cd02a
jvdias 0cd02a
%if !%{DEBUGINFO}
jvdias 0cd02a
%define debug_package %{nil}
jvdias 0cd02a
%endif
cvsdist aa0a29
cvsdist 2f7f4b
%install
jvdias 781dfa
rm -rf ${RPM_BUILD_ROOT}
jvdias 0cd02a
cp %{SOURCE5} doc/rfc
jvdias 0cd02a
gzip -9       doc/rfc/*
cvsdist 2f7f4b
mkdir -p ${RPM_BUILD_ROOT}/etc/{rc.d/init.d,logrotate.d}
cvsdist aed712
mkdir -p ${RPM_BUILD_ROOT}/usr/{bin,lib,sbin,include}
cvsdist 4f506d
mkdir -p ${RPM_BUILD_ROOT}/var/named
cvsdist 4f506d
mkdir -p ${RPM_BUILD_ROOT}/var/named/slaves
cvsdist db43cc
mkdir -p ${RPM_BUILD_ROOT}/var/named/data
cvsdist aed712
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man1,man5,man8}
cvsdist 4f506d
mkdir -p ${RPM_BUILD_ROOT}/var/run/named
cvsdist 4f506d
#chroot
jvdias 0cd02a
mkdir -p ${RPM_BUILD_ROOT}/%{chroot_prefix}
jvdias 781dfa
tar --no-same-owner -zxvf %{SOURCE6} --directory ${RPM_BUILD_ROOT}/%{chroot_prefix}
cvsdist 1d13f1
# these are required to prevent them being erased during upgrade of previous
cvsdist 1d13f1
# versions that included them (bug #130121):
jvdias 0cd02a
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/etc/named.conf
jvdias 0cd02a
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/etc/named.rfc1912.zones
jvdias 0cd02a
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/etc/rndc.key
jvdias 0cd02a
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/dev/null
jvdias 0cd02a
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/dev/random
cvsdist 1d13f1
#end chroot
jvdias 781dfa
make DESTDIR=${RPM_BUILD_ROOT} install
jvdias 781dfa
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/rndc.conf
jvdias 781dfa
install -c -m 755 contrib/named-bootconf/named-bootconf.sh ${RPM_BUILD_ROOT}%{_sbindir}/named-bootconf
jvdias 781dfa
install -c -m 755 %SOURCE2 ${RPM_BUILD_ROOT}/etc/rc.d/init.d/named
jvdias 781dfa
install -c -m 644 %SOURCE3 ${RPM_BUILD_ROOT}/etc/logrotate.d/named
jvdias 781dfa
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/rndc.key
jvdias 781dfa
%{__cc} $RPM_OPT_FLAGS -o ${RPM_BUILD_ROOT}%{_sbindir}/dns-keygen %{SOURCE4}
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
jvdias 781dfa
cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/named
jvdias 18d1e1
%if %{SDB}
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}/etc/openldap/schema
jvdias 781dfa
install -c -m 644 %{SOURCE8} ${RPM_BUILD_ROOT}/etc/openldap/schema/dnszone.schema
jvdias e54aef
cp -fp %{SOURCE12} contrib/sdb/pgsql/
jvdias 18d1e1
%endif
jvdias 62ddd5
%if %{LIBBIND}
jvdias 781dfa
gunzip < %{SOURCE9} | (cd ${RPM_BUILD_ROOT}/usr/share; tar -xpf -)
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}/pkgconfig
jvdias 781dfa
install -m 644 %{SOURCE28} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libbind.pc
jvdias 62ddd5
%endif
jvdias 43365c
%if %{WITH_DBUS}
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}/etc/dbus-1/system.d
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/dbus-1/services
jvdias 781dfa
cp -fp %{SOURCE10} ${RPM_BUILD_ROOT}/etc/dbus-1/system.d/named.conf
jvdias 781dfa
cp -fp %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/dbus-1/services/named.service
jvdias 781dfa
cp -fp %{SOURCE13} ${RPM_BUILD_ROOT}%{_sbindir}/namedSetForwarders
jvdias 781dfa
cp -fp %{SOURCE14} ${RPM_BUILD_ROOT}%{_sbindir}/namedGetForwarders
jvdias 43365c
%endif
jvdias d940d2
%if %{test}
jvdias d940d2
if [ "`whoami`" = 'root' ]; then
jvdias d940d2
   set -e
jvdias d940d2
   chmod -R a+rwX .
jvdias d940d2
   pushd bin/tests
jvdias d940d2
   pushd system
jvdias d940d2
   ./ifconfig.sh up
jvdias d940d2
   popd
jvdias d940d2
   make test
jvdias 781dfa
   e=$?
jvdias d940d2
   pushd system
jvdias 781dfa
   ./ifconfig.sh down
jvdias d940d2
   popd
jvdias d940d2
   popd
jvdias d940d2
   if [ "$e" -ne 0 ]; then
jvdias d940d2
      echo "ERROR: this build of BIND failed 'make test'. Aborting."
jvdias d940d2
      exit $e;
jvdias d940d2
   fi;
jvdias d940d2
else
jvdias 781dfa
   echo 'test==1 : only root can run the tests (they require an ifconfig).';
jvdias d940d2
fi
jvdias d940d2
%endif
jvdias 3c357d
# Files required to run test-suite outside of build tree:
jvdias 781dfa
cp -fp config.h ${RPM_BUILD_ROOT}/%{_includedir}/bind9
jvdias 781dfa
cp -fp lib/dns/include/dns/forward.h ${RPM_BUILD_ROOT}/%{_includedir}/dns
jvdias 781dfa
cp -fp lib/isc/unix/include/isc/keyboard.h ${RPM_BUILD_ROOT}/%{_includedir}/isc
jvdias 781dfa
cp -fp lib/isc/include/isc/hash.h ${RPM_BUILD_ROOT}/%{_includedir}/isc
jvdias a94a77
# Remove libtool .la files:
jvdias 781dfa
find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
jvdias c1b303
# /usr/lib/rpm/brp-compress
jvdias 781dfa
#
jvdias 0cd02a
# Ghost config files:
jvdias 781dfa
touch ${RPM_BUILD_ROOT}/etc/named.conf
jvdias 0cd02a
# bind-config files:
jvdias 781dfa
mkdir -p ${RPM_BUILD_ROOT}/{etc,var/named}
jvdias 781dfa
install -m 644 %{SOURCE16} ${RPM_BUILD_ROOT}/etc/named.caching-nameserver.conf
jvdias 781dfa
install -m 644 %{SOURCE27} ${RPM_BUILD_ROOT}/etc/named.rfc1912.zones
jvdias 781dfa
install -m 644 %{SOURCE17} ${RPM_BUILD_ROOT}/var/named/named.ca
jvdias 781dfa
install -m 644 %{SOURCE18} ${RPM_BUILD_ROOT}/var/named/named.local
jvdias 781dfa
install -m 644 %{SOURCE19} ${RPM_BUILD_ROOT}/var/named/localhost.zone
jvdias 781dfa
install -m 644 %{SOURCE20} ${RPM_BUILD_ROOT}/var/named/localdomain.zone
jvdias 781dfa
install -m 644 %{SOURCE21} ${RPM_BUILD_ROOT}/var/named/named.ip6.local
jvdias 781dfa
install -m 644 %{SOURCE22} ${RPM_BUILD_ROOT}/var/named/named.broadcast
jvdias 781dfa
install -m 644 %{SOURCE23} ${RPM_BUILD_ROOT}/var/named/named.zero
jvdias 0cd02a
for f in /etc/named.caching-nameserver.conf /var/named/{named.ca,named.local,localhost.zone,localdomain.zone,named.ip6.local,named.broadcast,named.zero}; do
jvdias 781dfa
    touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/$f;
jvdias 0cd02a
done
jvdias 0cd02a
install -m 644 %{SOURCE24} ./rfc1912.txt
jvdias 0cd02a
install -m 644 %{SOURCE25} ./Copyright
jvdias 0cd02a
# bind-chroot-admin script:
jvdias 781dfa
sed -e 's^@BIND_CHROOT_PREFIX@^'%{chroot_prefix}'^;s^@BIND_DIR@^'%{bind_dir}'^' < %{SOURCE26} > bind-chroot-admin;
jvdias 781dfa
install -m 754 bind-chroot-admin ${RPM_BUILD_ROOT}/%{_sbindir}
jvdias 781dfa
# sample bind configuration files for %doc:
jvdias 781dfa
mkdir -p sample/etc sample/var/named/{data,slaves}
jvdias 053216
cp -fp %{SOURCE29} sample/etc/named.conf
jvdias 053216
cp -fp %{SOURCE30} sample/etc/named.rfc1912.zones
jvdias 053216
cp -fp %{SOURCE31} sample/etc/
jvdias 053216
cp -fp %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} sample/var/named
jvdias 781dfa
for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.internal.zone.db my.external.zone.db; do 
jvdias 781dfa
  echo '@ in soa localhost. root 1 3H 15M 1W 1D
jvdias 781dfa
  ns localhost.' > sample/var/named/$f; 
jvdias 781dfa
done
jvdias 781dfa
/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: rndc.conf,v' bin/rndc/rndc.conf | sed 's/:.*$/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
jvdias 781dfa
 *\
jvdias 781dfa
 * NOTE: you only need to create this file if it is to\
jvdias 781dfa
 * differ from the following default contents:
jvdias 781dfa
;d}' > sample/etc/rndc.conf;
jvdias 781dfa
#
jvdias 0cd02a
%if !%{DEBUGINFO}
jvdias 0cd02a
echo 'WARNING - NOT generating debuginfo!'
jvdias 0cd02a
/usr/lib/rpm/brp-compress
jvdias 0cd02a
exit 0
jvdias 0cd02a
%endif
jvdias 536814
:;
cvsdist 2f7f4b
jvdias 0cd02a
jvdias 0cd02a
%files
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%attr(750,root,named)  %dir /var/named
jvdias 0cd02a
%attr(770,named,named) %dir /var/named/slaves
jvdias 0cd02a
%attr(770,named,named) %dir /var/named/data
jvdias 0cd02a
%attr(770,named,named) %dir /var/run/named
jvdias 0cd02a
%attr(754,root,root)   %config /etc/rc.d/init.d/named
jvdias 0cd02a
%config(noreplace) /etc/sysconfig/named
jvdias 781dfa
%ghost %config(noreplace) %attr(0640,root,named) /etc/rndc.key
jvdias 781dfa
# ^- rndc.key now created on first install only if it does not exist
jvdias 0cd02a
# %verify(not size,not md5) %config(noreplace) %attr(0640,root,named) /etc/rndc.conf
jvdias 781dfa
# ^- Let the named internal default rndc.conf be used -
jvdias 0cd02a
#    rndc.conf not required unless it differs from default.
jvdias 0cd02a
%ghost %config(noreplace) /etc/named.conf
jvdias 0cd02a
# ^- Ensure something owns named.conf, even though it may not be installed at all
jvdias 0cd02a
%ghost %config(noreplace) /etc/rndc.conf
jvdias 781dfa
# ^- The default rndc.conf which uses rndc.key is in named's default internal config -
jvdias 781dfa
#    so rndc.conf is not necessary.
jvdias 0cd02a
%config(noreplace) /etc/logrotate.d/named
jvdias 0cd02a
%{_sbindir}/dnssec*
jvdias 0cd02a
%{_sbindir}/lwresd
jvdias 0cd02a
%{_sbindir}/named
jvdias 0cd02a
%{_sbindir}/named-bootconf
jvdias 0cd02a
%{_sbindir}/named-check*
jvdias 0cd02a
%{_sbindir}/rndc*
jvdias 0cd02a
%{_sbindir}/dns-keygen
jvdias 0cd02a
%{_sbindir}/bind-chroot-admin
jvdias 0cd02a
%{_mandir}/man5/named.conf.5*
jvdias 0cd02a
%{_mandir}/man5/rndc.conf.5*
jvdias 0cd02a
%{_mandir}/man8/rndc.8*
jvdias 0cd02a
%{_mandir}/man8/named.8*
jvdias 0cd02a
%{_mandir}/man8/lwresd.8*
jvdias 0cd02a
%{_mandir}/man8/dnssec*.8*
jvdias 0cd02a
%{_mandir}/man8/named-checkconf.8*
jvdias 0cd02a
%{_mandir}/man8/named-checkzone.8*
jvdias 0cd02a
%{_mandir}/man8/rndc-confgen.8*
jvdias 0cd02a
%doc CHANGES COPYRIGHT README
jvdias 0cd02a
%doc doc/arm doc/misc
jvdias 781dfa
%doc sample/
jvdias 0cd02a
%if %{WITH_DBUS}
jvdias 0cd02a
%doc doc/README.DBUS
jvdias 0cd02a
%attr(644,root,root) %config /etc/dbus-1/system.d/named.conf
jvdias 0cd02a
%attr(644,root,root) %config /usr/share/dbus-1/services/named.service
jvdias 7366a5
%attr(754,root,root) %{_sbindir}/namedGetForwarders
jvdias 7366a5
%attr(754,root,root) %{_sbindir}/namedSetForwarders
jvdias 0cd02a
%endif
jvdias 0cd02a
jvdias 0cd02a
%files libs
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%{_libdir}/*so*
jvdias 0cd02a
jvdias 0cd02a
%files utils
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%{_bindir}/dig
jvdias 0cd02a
%{_bindir}/host
jvdias 0cd02a
%{_bindir}/nslookup
jvdias 0cd02a
%{_bindir}/nsupdate
jvdias 0cd02a
%{_mandir}/man1/host.1*
jvdias 0cd02a
%{_mandir}/man8/nsupdate.8*
jvdias 0cd02a
%{_mandir}/man1/dig.1*
jvdias 0cd02a
%{_mandir}/man1/nslookup.1*
jvdias 0cd02a
jvdias 0cd02a
%files devel
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%{_libdir}/libbind9.a
jvdias 0cd02a
%{_libdir}/libdns.a
jvdias 0cd02a
%{_libdir}/libisc.a
jvdias 0cd02a
%{_libdir}/libisccc.a
jvdias 0cd02a
%{_libdir}/libisccfg.a
jvdias 0cd02a
%{_libdir}/liblwres.a
jvdias 0cd02a
%{_includedir}/bind9
jvdias 0cd02a
%{_includedir}/dns
jvdias 0cd02a
%{_includedir}/dst
jvdias 0cd02a
%{_includedir}/isc
jvdias 0cd02a
%{_includedir}/isccc
jvdias 0cd02a
%{_includedir}/isccfg
jvdias 0cd02a
%{_includedir}/lwres
jvdias 0cd02a
%{_mandir}/man3/lwres*
jvdias 0cd02a
%{_bindir}/isc-config.sh
jvdias 781dfa
%doc doc/draft doc/rfc
jvdias 0cd02a
jvdias 0cd02a
%files config
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%config /etc/named.caching-nameserver.conf
jvdias 0cd02a
%ghost %config %{chroot_prefix}/etc/named.caching-nameserver.conf
jvdias 0cd02a
%config /etc/named.rfc1912.zones
jvdias 0cd02a
%ghost %config %{chroot_prefix}/etc/named.rfc1912.zones
jvdias 0cd02a
%ghost %config(noreplace) /etc/named.conf
jvdias 0cd02a
%ghost %config(noreplace) %{chroot_prefix}/etc/named.conf
jvdias 0cd02a
%defattr(-,named,named)
jvdias 0cd02a
%config /var/named/named.ca
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/named.ca
jvdias 0cd02a
%config /var/named/named.local
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/named.local
jvdias 0cd02a
%config /var/named/localhost.zone
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/localhost.zone
jvdias 0cd02a
%config /var/named/localdomain.zone
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/localdomain.zone
jvdias 0cd02a
%config /var/named/named.ip6.local
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/named.ip6.local
jvdias 0cd02a
%config /var/named/named.broadcast
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/named.broadcast
jvdias 0cd02a
%config /var/named/named.zero
jvdias 0cd02a
%ghost  %config %{chroot_prefix}/var/named/named.zero
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%doc Copyright
jvdias 0cd02a
%doc rfc1912.txt
jvdias 0cd02a
jvdias 0cd02a
%files chroot
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%attr(750,root,named) %dir %prefix
jvdias 0cd02a
%attr(750,root,named) %dir %prefix/dev
jvdias 0cd02a
%attr(750,root,named) %dir %prefix/etc
jvdias 0cd02a
%attr(750,root,named) %dir %prefix/var
jvdias 0cd02a
%attr(770,root,named) %dir  %prefix/var/run
jvdias 0cd02a
%attr(770,named,named) %dir %prefix/var/tmp
jvdias 0cd02a
%attr(770,named,named) %dir %prefix/var/run/named
jvdias 0cd02a
%attr(750,root,named) %dir  %prefix/var/named
jvdias 0cd02a
%attr(770,named,named) %dir %prefix/var/named/slaves
jvdias 0cd02a
%attr(770,named,named) %dir %prefix/var/named/data
jvdias 0cd02a
%ghost %config(noreplace) %prefix/etc/named.conf
jvdias 0cd02a
%ghost %config(noreplace) %prefix/etc/named.caching-nameserver.conf
jvdias 0cd02a
%ghost %config(noreplace) %prefix/etc/rndc.key
jvdias 0cd02a
%ghost %prefix/dev/null
jvdias 0cd02a
%ghost %prefix/dev/random
jvdias 0cd02a
jvdias 0cd02a
%if %{LIBBIND}
jvdias 0cd02a
jvdias 0cd02a
%files libbind-devel
jvdias 0cd02a
%defattr(-,root,root)
jvdias 0cd02a
%{_libdir}/libbind.*
jvdias 505ab5
%{_libdir}/pkgconfig/libbind.pc
jvdias 0cd02a
%{_includedir}/bind
jvdias 0cd02a
%{_mandir}/man3/libbind-*
jvdias 0cd02a
%{_mandir}/man7/libbind-*
jvdias 0cd02a
%{_mandir}/man5/libbind-*
jvdias 0cd02a
jvdias 0cd02a
%endif
jvdias 0cd02a
jvdias 0cd02a
%if %{SDB}
jvdias 0cd02a
jvdias 0cd02a
%files sdb
jvdias 0cd02a
%defattr(-,root,named)
jvdias 0cd02a
%{_sbindir}/named_sdb
jvdias 0cd02a
%config /etc/openldap/schema/dnszone.schema
jvdias 0cd02a
%{_sbindir}/zone2ldap
jvdias 0cd02a
%{_sbindir}/ldap2zone
jvdias 0cd02a
%{_sbindir}/zonetodb
jvdias 0cd02a
%{_mandir}/man1/zone2ldap.1*
jvdias 0cd02a
%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap contrib/sdb/pgsql/README.sdb_pgsql
jvdias 0cd02a
jvdias 0cd02a
%endif
jvdias 0cd02a
jvdias 0cd02a
cvsdist 2f7f4b
%pre
jvdias 0cd02a
if [ "$1" -eq 1 ]; then
jvdias 505ab5
   /usr/sbin/groupadd -g %{bind_gid} -f -r named >/dev/null 2>&1 || :;
jvdias 68b4c1
   /usr/sbin/useradd  -u %{bind_uid} -r -n -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 || :;
jvdias 0cd02a
fi;
jvdias 0cd02a
:;
cvsdist 2f7f4b
cvsdist 2f7f4b
%post
jvdias 68b4c1
/sbin/ldconfig
jvdias 68b4c1
/sbin/chkconfig --add named
jvdias c4b623
if [ "$1" -eq 1 ]; then
jvdias 781dfa
	# no more named.boot autoconversion! No-one should be using BIND-4 anymore.
jvdias 781dfa
	if [ ! -e /etc/rndc.key ]; then
jvdias 781dfa
	# create the rndc.key file:
jvdias 781dfa
	   echo 'key "rndckey" {
jvdias 781dfa
	algorithm	hmac-md5;
jvdias 781dfa
	secret		"'`/usr/sbin/dns-keygen`'";
jvdias 781dfa
};'  >     /etc/rndc.key;
jvdias 781dfa
	elif /bin/egrep -q '@KEY@' /etc/rndc.key; then
jvdias 781dfa
	   # fix potential problem with older versions
jvdias 781dfa
	   /bin/sed -i -e 's^@KEY@^'`/usr/sbin/dns-keygen`'^' /etc/rndc.key ;
cvsdist 4f506d
	fi
jvdias 68b4c1
        [ -e /selinux/enforce ] && [ -x /sbin/restorecon ] && /sbin/restorecon /etc/rndc.* /etc/named.* >/dev/null 2>&1 ;
cvsdist a93eac
fi
jvdias 38983f
:;
cvsdist 2f7f4b
cvsdist 2f7f4b
%preun
jvdias c4b623
if [ "$1" = 0 ]; then
jvdias c4b623
   /etc/rc.d/init.d/named stop >/dev/null 2>&1 || :;
jvdias c4b623
   /sbin/chkconfig --del named || :;
cvsdist 2f7f4b
fi
jvdias 38983f
:;
cvsdist 2f7f4b
cvsdist 2f7f4b
%postun
jvdias 68b4c1
/sbin/ldconfig
cvsdist 2f7f4b
if [ "$1" -ge 1 ]; then
jvdias 781dfa
   /etc/rc.d/init.d/named condrestart >/dev/null 2>&1 || :;
jvdias c4b623
fi;
jvdias 38983f
:;
cvsdist 2f7f4b
cvsdist 2f7f4b
%triggerpostun -- bind < 8.2.2_P5-15
cvsdist 2f7f4b
/sbin/chkconfig --add named
cvsdist 1fcc1a
/sbin/ldconfig
jvdias 38983f
:;
cvsdist 2f7f4b
jvdias 3c357d
%triggerpostun -n bind -- bind <= 24:9.3.1-11
jvdias c4b623
if [ "$1" -gt 0 ]; then
jvdias 3c357d
# bind <= 22:9.3.0-2:
jvdias 781dfa
# These versions of bind installed named service at order 55 in
jvdias 781dfa
# runlevel startup order, after programs like  nis / ntp / nfs
jvdias c4b623
# which may need its services if using no nameservers in resolv.conf.
jvdias 3c357d
# bind <= 24:9.3.1-11:
jvdias 3c357d
# These versions ran bind with order 11 in runlevel 2, after syslog
jvdias 3c357d
# at order 12 . BIND should run after syslog and now has order '- 13 87'.
jvdias 781dfa
#
jvdias 68b4c1
    /sbin/chkconfig named resetpriorities
jvdias c4b623
fi
jvdias c4b623
:;
jvdias c4b623
jvdias 0cd02a
%postun utils
jvdias 0cd02a
if [ $1 = 0 ]; then
jvdias 0cd02a
   if [ -f /var/lock/subsys/named ]; then
jvdias 0cd02a
      /etc/rc.d/init.d/named stop >/dev/null  2>&1 || :;
jvdias 0cd02a
   fi;
jvdias 0cd02a
fi;
jvdias 38983f
:;
cvsdist aed712
jvdias 0cd02a
cvsdist 86fb37
%post libs -p /sbin/ldconfig
cvsdist aed712
cvsdist 86fb37
%postun libs -p /sbin/ldconfig
cvsdist 2f7f4b
jvdias d940d2
jvdias 0cd02a
%post config
jvdias 0cd02a
if [ "$1" -gt 0 ]; then
jvdias 0cd02a
   /usr/bin/chcon system_u:object_r:named_conf_t  /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
jvdias 68b4c1
   /usr/bin/chcon system_u:object_r:named_conf_t  /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
jvdias 781dfa
   . /usr/sbin/bind-chroot-admin --sync;
jvdias 0cd02a
fi;
jvdias 0cd02a
:;
cvsdist 2f7f4b
jvdias 1c28ac
jvdias 0cd02a
%post chroot
jvdias 0cd02a
if [ "$1" -gt 0 ]; then
jvdias 781dfa
   . /usr/sbin/bind-chroot-admin --enable;
jvdias 0cd02a
fi;
jvdias 0cd02a
:;
cvsdist 31bdca
jvdias 0cd02a
%preun chroot
jvdias 781dfa
if [ "$1" -eq 0 ]; then
jvdias 781dfa
   . /usr/sbin/bind-chroot-admin --disable;
jvdias 0cd02a
fi
jvdias 0cd02a
:;
cvsdist 2f7f4b
cvsdist 2f7f4b
jvdias c4b623
%if %{LIBBIND}
jvdias c4b623
jvdias d940d2
%post libbind-devel -p /sbin/ldconfig
jvdias d940d2
jvdias d940d2
%postun libbind-devel -p /sbin/ldconfig
jvdias d940d2
jvdias c4b623
%endif
jvdias c4b623
jvdias d940d2
jvdias d940d2
%if %{SDB}
jvdias d940d2
jvdias c4b623
%post sdb
jvdias 8ee4d2
if [ "$1" -ge 1 ]; then
jvdias d940d2
   # check that dnszone.schema is installed in OpenLDAP's slapd.conf
jvdias d940d2
   if [ -x /usr/sbin/named_sdb ] && [ -f /etc/openldap/slapd.conf ]; then
jvdias d940d2
   # include the LDAP dnszone.schema in slapd.conf:
jvdias d940d2
      if ! /bin/egrep -q '^include.*\dnszone.schema' /etc/openldap/slapd.conf; then
jvdias d940d2
         tf=`/bin/mktemp /tmp/XXXXXX`
jvdias d940d2
         let n=`/bin/grep -n '^include.*\.schema' /etc/openldap/slapd.conf | /usr/bin/tail -1 | /bin/sed 's/:.*//'`
jvdias d940d2
         if [ "$n" -gt 0 ]; then
jvdias d940d2
   	    /bin/cp -fp /etc/openldap/slapd.conf /etc/openldap/slapd.conf.rpmsave;
jvdias d940d2
	    /usr/bin/head -$n /etc/openldap/slapd.conf > $tf
jvdias d940d2
            echo 'include         /etc/openldap/schema/dnszone.schema' >> $tf
jvdias d940d2
            let n='n+1'
jvdias c1b303
            /usr/bin/tail -n +$n /etc/openldap/slapd.conf >> $tf
jvdias d940d2
            /bin/mv -f $tf /etc/openldap/slapd.conf;
jvdias d940d2
            /bin/chmod --reference=/etc/openldap/slapd.conf.rpmsave /etc/openldap/slapd.conf
jvdias 68b4c1
            [ -e /selinux/enforce ] && [ -x /sbin/restorecon ] && /sbin/restorecon /etc/openldap/slapd.conf >/dev/null 2>&1 || :;
jvdias d940d2
            [ -x /etc/init.d/ldap ] && /etc/init.d/ldap condrestart >/dev/null 2>&1
jvdias d940d2
         fi
jvdias c4b623
         rm -f $tf >/dev/null 2>&1 || :;
jvdias d940d2
      fi;
jvdias d940d2
   fi;
jvdias d940d2
fi;
jvdias 38983f
:;
jvdias d940d2
jvdias c4b623
%preun sdb
jvdias 8ee4d2
if [ "$1" -eq 0 ] && [ -x /usr/sbin/named_sdb ] && [ -f /etc/openldap/slapd.conf ]; then
jvdias d940d2
   if /bin/egrep -q '^include.*\dnszone.schema' /etc/openldap/slapd.conf; then
jvdias d940d2
      tf=`/bin/mktemp /tmp/XXXXXX`
jvdias d940d2
      /bin/egrep -v '^include.*dnszone\.schema' /etc/openldap/slapd.conf > $tf
jvdias d940d2
      /bin/mv -f $tf /etc/openldap/slapd.conf;
jvdias d940d2
      rm -f $tf >/dev/null 2>&1
jvdias 68b4c1
      [ -e /selinux/enforce ] && [ -x /sbin/restorecon ] && /sbin/restorecon /etc/openldap/slapd.conf >/dev/null 2>&1 || :;
jvdias c4b623
      [ -x /etc/init.d/ldap ] && /etc/init.d/ldap condrestart >/dev/null 2>&1 || :;
jvdias d940d2
   fi;
jvdias d940d2
fi;
jvdias 38983f
:;
jvdias d940d2
jvdias d940d2
%endif # SDB
jvdias d940d2
jvdias 0cd02a
%clean
jvdias 7366a5
rm -rf ${RPM_BUILD_ROOT}
jvdias 38983f
:;
jvdias d940d2
cvsdist 2f7f4b
%changelog
jvdias 781dfa
* Wed Mar 29 2006 Jason Vsa Dias <jvdias@redhat.com> - 30:9.3.2-14
jvdias 781dfa
- fix bug 186577: remove -L/usr/lib from libbind.pc and more .spec file cleanup
jvdias 781dfa
- add '%doc' sample configuration files in /usr/share/doc/bind*/sample
jvdias 781dfa
- rebuild with new gcc and glibc
jvdias 781dfa
jvdias 99e330
* Wed Mar 22 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-12
jvdias 99e330
- fix typo in initscript
jvdias 99e330
- fix Requires(post): policycoreutils in sub-packages
jvdias 99e330
jvdias 68b4c1
* Mon Mar 20 2006 Jason Vas Dias <jvdias@redhat.com> - 30.9.3.2-10
jvdias 68b4c1
- fix bug 185969: more .spec file cleanup
jvdias 68b4c1
jvdias 505ab5
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 30.9.3.2-8
jvdias 505ab5
- Do not allow package to be installed if named:25 userid creation fails
jvdias 505ab5
- Give libbind a pkg-config file
jvdias 505ab5
- remove restorecon from bind-chroot-admin (not required).
jvdias 505ab5
- fix named.caching-nameserver.conf (listen-on-v6 port 53 { ::1 };)
jvdias 505ab5
jvdias 7366a5
* Tue Mar 07 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-7
jvdias 7366a5
- fix issues with bind-chroot-admin
jvdias 7366a5
jvdias 0cd02a
* Mon Mar 06 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-6
jvdias 0cd02a
- replace caching-nameserver with bind-config sub-package
jvdias 0cd02a
- fix bug 177595: handle case where $ROOTDIR is a link in initscript
jvdias 0cd02a
- fix bug 177001: bind-config creates symlinks OK now
jvdias 0cd02a
- fix bug 176388: named.conf is now never replaced by any RPM
jvdias 7366a5
- fix bug 176248: remove unecessary creation of rpmsave links
jvdias 0cd02a
- fix bug 174925: no replacement of named.conf
jvdias 0cd02a
- fix bug 173963: existing named.conf never modified
jvdias 0cd02a
- major .spec file cleanup
jvdias 0cd02a
Jesse Keating b3f861
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 30:9.3.2-4.1
Jesse Keating b3f861
- bump again for double-long bug on ppc(64)
Jesse Keating b3f861
jvdias 60e12f
* Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-4
jvdias 60e12f
- regenerate redhat_doc patch for non-DBUS builds
jvdias 60e12f
- allow dbus builds to work with dbus version < 0.6 (bz #179816)
jvdias 60e12f
Florian La Roche 240066
* Tue Feb 07 2006 Florian La Roche <laroche@redhat.com> 30:9.3.2-3
Florian La Roche 240066
- try supporting without dbus support
Florian La Roche 240066
jvdias a49b5a
* Mon Feb 06 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-2.1
jvdias a49b5a
- Rebuild for new gcc, glibc, glibc-kernheaders
jvdias a49b5a
jvdias a49b5a
* Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-2
jvdias 781dfa
- fix bug 177854: temporary fix for broken kernel-2.6.15-1854+
jvdias e45fb2
  /proc/net/if_inet6 format
jvdias e45fb2
jvdias 8929e9
* Wed Dec 21 2005 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-1
jvdias 8929e9
- Upgrade to 9.3.2, released today
jvdias 8929e9
jvdias dedee9
* Tue Dec 20 2005 Jason Vas Dias <jvdias@redhat.com> - 28:9.3.2rc1-2
jvdias dedee9
- fix bug 176100: do not Require: perl just for namedGetForwarders !
jvdias dedee9
Jesse Keating 7aa3fd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 7aa3fd
- rebuilt
Jesse Keating 7aa3fd
jvdias 903302
* Fri Dec 02 2005 Jason Vas Dias <jvdias@redhat.com> - 28:9.3.2rc-1
jvdias 903302
- Upgrade to upstream version 9.3.2rc1
jvdias 433032
- fix namedSetForwarders -> namedGetForwarders SOURCE14 typo
jvdias 433032
jvdias 903302
* Thu Dec 01 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-26
jvdias 781dfa
- rebuild for new dbus 0.6 dependency; remove use of
jvdias c1b303
  DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
jvdias c1b303
jvdias f84fe3
* Wed Nov 23 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-24
jvdias f84fe3
- allow D-BUS support to work in bind-chroot environment:
jvdias f84fe3
  workaround latest selinux policy by mounting /var/run/dbus/
jvdias f84fe3
  under chroot instead of /var/run/dbus/system-bus-socket
jvdias f84fe3
jvdias 4b4f5f
* Sun Nov 13 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-22
jvdias 4b4f5f
- fix bug 172632 - remove .la files
jvdias 4b4f5f
- ship namedGetForwarders and namedSetForwarders scripts
jvdias 4b4f5f
- fix detection of -D option in chroot
jvdias 4b4f5f
Tomáš Mráz 4a6747
* Tue Nov  8 2005 Tomas Mraz <tmraz@redhat.com> - 24:9.3.1-21
Tomáš Mráz 4a6747
- rebuilt with new openssl
Tomáš Mráz 4a6747
jvdias e54aef
* Wed Oct 19 2005 Jason Vas Dias <jvdias@redhat.com> - 24.9.3.1-20
jvdias e54aef
- Allow the -D enable D-BUS option to be used within bind-chroot .
jvdias e54aef
- fix bug 171226: supply some documentation for pgsql SDB .
jvdias e54aef
jvdias 536814
* Thu Oct 06 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-18
jvdias 536814
- fix bug 169969: do NOT call dbus_svc_dispatch() in dbus_mgr_init_dbus() -
jvdias 536814
      task->state != task_ready and will cause Abort in task.c if process
jvdias 536814
      is waiting for NameOwnerChanged to do a SetForwarders
jvdias 536814
jvdias 390682
* Wed Oct 05 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-16
jvdias 390682
- Fix reconnecting to dbus-daemon after it stops & restarts .
jvdias 390682
jvdias 96c79d
* Tue Sep 27 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-14
jvdias 96c79d
- When forwarder nameservers are changed with D-BUS, flush the cache.
jvdias 96c79d
jvdias 96c79d
* Mon Sep 26 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-12
jvdias 43365c
- fix bug 168302: use %{__cc} for compiling dns-keygen
jvdias 43365c
- fix bug 167682: bind-chroot directory permissions
jvdias 43365c
- fix issues with -D dbus option when dbus service not running or disabled
jvdias 43365c
jvdias 3c357d
* Tue Aug 30 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-12
jvdias 3c357d
- fix bug 167062: named should be started after syslogd by default
jvdias 3c357d
jvdias 296166
* Mon Aug 22 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-11
jvdias 296166
- fix bug 166227: host: don't do default AAAA and MX lookups with '-t a' option
jvdias 296166
jvdias dbe55d
* Tue Aug 16 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-10
jvdias dbe55d
- Build with D-BUS patch by default; D-BUS support enabled with named -D option
jvdias 781dfa
- Enable D-BUS for named_sdb also
jvdias dbe55d
- fix sdb pgsql's zonetodb.c: must use isc_hash_create() before dns_db_create()
jvdias 781dfa
- update fix for bug 160914 : test for RD=1 and ARCOUNT=0 also before trying next server
jvdias dbe55d
- fix named.init script to handle named_sdb properly
jvdias dbe55d
- fix named.init script checkconfig() to handle named '-c' option
jvdias 781dfa
  and make configtest, test, check configcheck synonyms
jvdias dbe55d
jvdias c4c1d4
* Tue Jul 19 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-8
jvdias c4c1d4
- fix named.init script bugs 163598, 163409, 151852(addendum)
jvdias c4c1d4
jvdias 4a7943
* Tue Jul 12 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-7
jvdias 4a7943
- fix bug 160914: resolver utilities should try next server on empty referral
jvdias 4a7943
                  (now that glibc bug 162625 is fixed)
jvdias 4a7943
		  host and nslookup now by default try next server on SERVFAIL
jvdias 4a7943
		  (host now has '-s' option to disable, and nslookup given
jvdias 4a7943
                   '[no]fail' option similar to dig's [no]fail option).
jvdias 95280b
- rebuild and re-test with new glibc & gcc (all tests passed).
jvdias 4a7943
jvdias 4a7943
* Tue May 31 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-6
jvdias 5afcbd
- fix bug 157950: dig / host / nslookup should reject invalid resolv.conf
jvdias 5afcbd
                  files and not use uninitialized garbage nameserver values
jvdias 5afcbd
                  (ISC bug 14841 raised).
jvdias 5afcbd
jvdias 5afcbd
* Mon May 23 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-4_FC4
jvdias 8ee4d2
- Fix SDB LDAP
jvdias 8ee4d2
jvdias 781dfa
* Mon May 16 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-4
jvdias 38983f
- Fix bug 157601: give named.init a configtest function
jvdias 38983f
- Fix bug 156797: named.init should check SELinux booleans.local before booleans
jvdias 38983f
- Fix bug 154335: if no controls in named.conf, stop named with -TERM sig, not rndc
jvdias 781dfa
- Fix bug 155848: add NOTES section to named.8 man-page with info on all Red Hat
jvdias 38983f
                  BIND quirks and SELinux DDNS / slave zone file configuration
jvdias 38983f
- D-BUS patches NOT applied until dhcdbd is in FC
jvdias 38983f
jvdias 8ee4d2
* Sun May 15 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-4_dbus
jvdias 781dfa
- Enhancement to allow dynamic forwarder table management and
jvdias 38983f
- DHCP forwarder auto-configuration with D-BUS
jvdias 38983f
jvdias 62ddd5
* Thu Apr 14 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-2_FC4
jvdias 62ddd5
- Rebuild for bind-sdb libpq.so.3 dependency
jvdias 62ddd5
- fix bug 150981: don't install libbind man-pages if no libbind
jvdias 62ddd5
- fix bug 151852: mount proc on $ROOTDIR/proc to allow sysconf(...)
jvdias 62ddd5
  to work and correct number of CPUs to be determined
jvdias 62ddd5
jvdias 68d77b
* Fri Mar 11 2005 Jason Vas Dias <jvdias@redhat.com> - 24:9.3.1-1_FC4
jvdias 68d77b
- Upgrade to ISC BIND 9.3.1 (final release) released today.
jvdias 68d77b
jvdias 68d77b
* Wed Mar  9 2005 Jason Vas Dias <jvdias@redhat.com> - 22.9.3.1rc1-5
jvdias 781dfa
- fix bug 150288: h_errno not being accessed / set correctly in libbind
jvdias 68d77b
- add libbind man-pages from bind-8.4.6
jvdias bbcf3c
jvdias ee2137
* Mon Mar  7 2005 Jason Vas Dias <jvdias@redhat.com> - 22:9.3.1rc1-4
jvdias ee2137
- Rebuild with gcc4 / glibc-2.3.4-14.
jvdias 781dfa
Nalin Dahyabhai d2bac1
* Tue Mar  1 2005 Nalin Dahyabhai <nalin@redhat.com> - 22:9.3.1rc1-3
Nalin Dahyabhai d2bac1
- configure with --with-pic to get PIC libraries
Nalin Dahyabhai d2bac1
jvdias 5b65c6
* Sun Feb 20 2005 Jason Vas Dias <jvdias@redhat.com> - 22:9.3.1rc1-2
jvdias 5b65c6
- fix bug 149183: don't use getifaddrs() .
jvdias 5b65c6
jvdias 18d1e1
* Wed Feb 16 2005 Jason Vas Dias <jvdias@redhat.com> - 22:9.3.1rc1-1
jvdias 18d1e1
- Upgrade to 9.3.1rc1
jvdias c4b623
- Add Simplified Database Backend (SDB) sub-package ( bind-sdb )
jvdias 781dfa
-     add named_sdb - ldap + pgsql + dir database backend support with
jvdias 18d1e1
-     'ENABLE_SDB' named.sysconfig option
jvdias c4b623
- Add BIND resolver library & includes sub-package ( libbind-devel)
jvdias 18d1e1
- fix bug 147824 / 147073 / 145664: ENABLE_ZONE_WRITE in named.init
jvdias c4b623
- fix bug 146084 : shutup restorecon
jvdias 18d1e1
jvdias 23b1ff
* Tue Jan 11 2005 Jason Vas Dias <jvdias@redhat.com> - 22:9.3.0-2
jvdias 23b1ff
- Fix bug 143438: named.init will now make correct ownership of $ROOTDIR/var/named
jvdias 23b1ff
-                 based on 'named_write_master_zones' SELinux boolean.
jvdias 23b1ff
- Fix bug 143744: dig & nsupdate IPv6 timeout  (dup of 140528)
jvdias 23b1ff
jvdias 6cca08
* Mon Nov 29 2004 Jason Vas Dias <jvdias@redhat.com> - 9.3.0-1
jvdias 6cca08
- Upgrade BIND to 9.3.0 in Rawhide / FC4 (bugs 134529, 133654...)
jvdias 781dfa
jvdias 6cca08
* Mon Nov 29 2004 Jason Vas Dias <jvdias@redhat.com> - 20:9.2.4-4
jvdias 6cca08
- Fix bugs 140528 and 141113:
jvdias 6cca08
- 2 second timeouts when IPv6 not configured and root nameserver's
jvdias 6cca08
- AAAA addresses are queried
jvdias 6cca08
jvdias e51c8f
* Mon Oct 18 2004 Jason Vas Dias <jvdias@redhat.com> - 20:9.2.4-2
jvdias e51c8f
- Fix bug 136243: bind-chroot %post must run restorecon -R %{prefix}
jvdias e51c8f
- Fix bug 135175: named.init must return non-zero if named is not run
jvdias e51c8f
- Fix bug 134060: bind-chroot %post must use mktemp, not /tmp/named
jvdias e51c8f
- Fix bug 133423: bind-chroot %files entries should have been %dirs
jvdias e51c8f
jvdias e24e1c
* Thu Sep 23 2004 Jason Vas Dias <jvdias@redhat.com> - 20:9.2.4-1
jvdias e24e1c
- BIND 9.2.4 (final release) released - source code actually
jvdias e24e1c
- identical to 9.2.4rc8, with only version number change.
jvdias efcb9c
jvdias 1025af
* Mon Sep 20 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc8-14
jvdias 1025af
- Upgrade to upstream bind-9.2.4rc8 .
jvdias 1025af
- Progress: Finally! Hooray! ISC bind now distributes:
jvdias 781dfa
- o named.conf(5) and nslookup(8) manpages
jvdias 1025af
-    'bind-manpages.bz2' source can now disappear
jvdias 1025af
-    (could this have something to do with ISC bug I raised about this?)
jvdias 781dfa
- o 'deprecation_msg' global has vanished
jvdias 1025af
-     bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2 can disappear
jvdias 1025af
jvdias d3f558
* Mon Sep 20 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc8-14
jvdias d3f558
- Fix bug 106572/132385: copy /etc/localtime to chroot on start
jvdias d3f558
jvdias 1c28ac
* Fri Sep 10 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc7-12_EL3
jvdias 1c28ac
- Fix bug 132303: if ROOTDIR line was replaced after upgrade from
jvdias 1c28ac
- bind-chroot-9.2.2-21, restart named
jvdias 1c28ac
jvdias 1c28ac
* Wed Sep 8  2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc7-11_EL3
jvdias 781dfa
- Fix bug 131803: replace ROOTDIR line removed by broken
jvdias 1c28ac
- bind-chroot 9.2.2-21's '%postun'; added %triggerpostun for bind-chroot
jvdias 1c28ac
jvdias 1c28ac
* Tue Sep 7  2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc7-10_EL3
jvdias 1c28ac
- Fix bugs 130121 & 130981 for RHEL-3
jvdias 781dfa
jvdias 1c28ac
* Mon Aug 30 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc7-10
cvsdist 1d13f1
- Fix bug 130121: add '%ghost' entries for files included in previous
jvdias 781dfa
- bind-chroot & not in current - ie. named.conf, rndc.key, dev/* -
cvsdist 1d13f1
- that RPM removed after upgrade .
cvsdist 1d13f1
jvdias 781dfa
* Thu Aug 26 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 1d13f1
- Fix bug 130981: add '-t' option to named-checkconf invocation in
cvsdist 1d13f1
- named.init if chroot installed.
cvsdist 1d13f1
cvsdist db43cc
* Wed Aug 25 2004 Jason Vas Dias <jvdias@redhat.com>
jvdias 781dfa
- Remove resolver(5) manpage now in man-pages (bug 130792);
cvsdist db43cc
- Don't create /dev/ entries in bind-chroot if already there (bug 127556);
cvsdist db43cc
- fix bind-devel Requires (bug 130919)
cvsdist db43cc
- Set default location for dumpdb & stats files to /var/named/data
cvsdist db43cc
cvsdist 668aac
* Tue Aug 24 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 668aac
- Fix devel Requires for bug 130738 & fix version
cvsdist db43cc
cvsdist db43cc
* Tue Aug 24 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist db43cc
- Fix errors on clean install if named group does not exist
cvsdist db43cc
- (bug 130777)
cvsdist db43cc
cvsdist 668aac
* Thu Aug 19 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 668aac
- Upgrade to bind-9.2.4rc7; applied initscript fix
cvsdist 668aac
- for bug 102035.
cvsdist 668aac
cvsdist 2b390d
* Mon Aug  9 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 2b390d
- Fixed bug 129289: bind-chroot install / deinstall
cvsdist 2b390d
- on install, existing config files 'safe_replace'd
cvsdist 2b390d
- with links to chroot copies; on uninstall, moved back.
cvsdist 2b390d
cvsdist 82ddc2
* Fri Aug  6 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 82ddc2
- Fixed bug 129258: "${prefix}/var/tmp" typo in spec
cvsdist 82ddc2
cvsdist 82ddc2
* Wed Jul 28 2004 Jason Vas Dias <jvdias@redhat.com>
jvdias 781dfa
- Fixed bug 127124 : 'Requires: kernel >= 2.4'
cvsdist 82ddc2
- causes problems with Linux VServers
cvsdist d69ee3
cvsdist 17bde0
* Tue Jul 27 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist 17bde0
- Fixed bug 127555 : chroot tar missing var/named/slaves
cvsdist 17bde0
cvsdist d69ee3
* Fri Jul 16 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist d69ee3
- Upgraded to ISC version 9.2.4rc6
cvsdist d69ee3
cvsdist d69ee3
* Fri Jul 16 2004 Jason Vas Dias <jvdias@redhat.com>
cvsdist d69ee3
- Fixed named.init generation of error messages on
cvsdist d69ee3
- 'service named stop' and 'service named reload'
cvsdist d69ee3
- as per bug 127775
cvsdist d69ee3
cvsdist d69ee3
* Thu Jun 23 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-19
cvsdist d69ee3
- Bump for rhel 3.0  U3
cvsdist d69ee3
cvsdist c3581c
* Thu Jun 23 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-18
cvsdist c3581c
- remove disable-linux-caps
cvsdist c3581c
cvsdist c3581c
* Wed Jun 16 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-17
jvdias 781dfa
- Update RHEL3 to latest bind
cvsdist c3581c
cvsdist 7a83e6
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7a83e6
- rebuilt
cvsdist 7a83e6
cvsdist 7a83e6
* Wed Jun 8 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-15
cvsdist 7a83e6
- Remove device files from chroot,  Named uses the system one
cvsdist 7a83e6
cvsdist 7a83e6
* Fri Mar 26 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-14
jvdias 781dfa
- Move RFC to devel package
cvsdist 7a83e6
cvsdist d6fdf5
* Fri Mar 26 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-13
cvsdist d6fdf5
- Fix location of restorecon
cvsdist d6fdf5
cvsdist d6fdf5
* Thu Mar 25 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-12
jvdias 781dfa
- Tighten security on config files.  Should be owned by root
cvsdist d6fdf5
cvsdist d6fdf5
* Thu Mar 25 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-11
cvsdist d6fdf5
- Update key patch to include conf-keygen
cvsdist d6fdf5
cvsdist d6fdf5
* Tue Mar 23 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-10
cvsdist d6fdf5
- fix chroot to only happen once.
cvsdist d6fdf5
- fix init script to do kill insteall of killall
cvsdist d6fdf5
cvsdist 86fb37
* Mon Mar 15 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-9
cvsdist 86fb37
- Add fix for SELinux security context
cvsdist 86fb37
cvsdist 86fb37
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 86fb37
- rebuilt
cvsdist 86fb37
cvsdist 86fb37
* Sat Feb 28 2004 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 86fb37
- run ldconfig for libs subrpm
cvsdist 86fb37
cvsdist 86fb37
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
cvsdist 86fb37
- Use ':' instead of '.' as separator for chown.
cvsdist 86fb37
cvsdist 86fb37
* Tue Feb 17 2004 Daniel Walsh <dwalsh@redhat.com> 9.2.3-7
cvsdist 86fb37
- Add COPYRIGHT
cvsdist 86fb37
cvsdist 86fb37
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 86fb37
- rebuilt
cvsdist 86fb37
cvsdist 31bdca
* Tue Dec 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-5
cvsdist 31bdca
- Add defattr to libs
cvsdist 31bdca
cvsdist 31bdca
* Mon Dec 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-4
cvsdist 31bdca
- Break out library package
cvsdist 31bdca
cvsdist 31bdca
* Mon Dec 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-3
cvsdist 31bdca
- Fix condrestart
cvsdist 31bdca
cvsdist 31bdca
* Wed Nov 12 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-2
cvsdist 31bdca
- Move libisc and libdns to bind from bind-util
cvsdist 31bdca
cvsdist 31bdca
* Tue Nov 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-1
cvsdist 31bdca
- Move to 9.2.3
cvsdist 31bdca
cvsdist 31bdca
* Mon Oct 27 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-10
cvsdist 31bdca
- Add PIE support
cvsdist 31bdca
cvsdist 4f506d
* Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9
cvsdist 4f506d
- Add /var/named/slaves directory
cvsdist 4f506d
cvsdist 4f506d
* Sun Oct 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 4f506d
- do not link against libnsl, not needed for Linux
cvsdist 4f506d
cvsdist 4f506d
* Wed Oct 8 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-6
cvsdist 4f506d
- Fix local time in log file
cvsdist 4f506d
cvsdist 4f506d
* Tue Oct 7 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-5
jvdias 781dfa
- Try again
cvsdist 4f506d
cvsdist 4f506d
* Mon Oct 6 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-4
cvsdist 4f506d
- Fix handling of chroot -/dev/random
cvsdist 4f506d
cvsdist 4f506d
* Thu Oct 2 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-3
cvsdist 4f506d
- Stop hammering stuff on update of chroot environment
cvsdist 4f506d
cvsdist 4f506d
* Mon Sep 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-2
cvsdist 4f506d
- Fix chroot directory to grab all subdirectories
cvsdist 4f506d
cvsdist 4f506d
* Wed Sep 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-1
cvsdist 4f506d
- New patch to support for "delegation-only"
cvsdist 4f506d
cvsdist 4f506d
* Wed Sep 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-23
cvsdist 4f506d
- patch support for "delegation-only"
cvsdist 4f506d
cvsdist 4f506d
* Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-22
cvsdist 4f506d
- Update to build on RHL
cvsdist 4f506d
cvsdist 4f506d
* Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-21
cvsdist 4f506d
- Install libraries as exec so debug info will be pulled
cvsdist 4f506d
cvsdist 4f506d
* Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20
jvdias 4f7c22
- Remove BSDCOMPAT (BZ 99454)
cvsdist 4f506d
cvsdist 4f506d
* Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19
cvsdist 4f506d
- Update to build on RHL
cvsdist 4f506d
cvsdist 4f506d
* Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-18
cvsdist 4f506d
- Change protections on /var/named and /var/chroot/named
cvsdist 4f506d
cvsdist 4f506d
* Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-17
cvsdist 4f506d
- Update to build on RHL
cvsdist 4f506d
cvsdist 4f506d
* Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-16
cvsdist 4f506d
- Update to build on RHEL
cvsdist 4f506d
cvsdist 4f506d
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4f506d
- rebuilt
cvsdist 4f506d
cvsdist 4f506d
* Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-14
cvsdist 4f506d
- Update to build on RHEL
cvsdist 4f506d
cvsdist 4f506d
* Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-13
cvsdist 4f506d
- Fix config description of named.conf in chroot
cvsdist 4f506d
- Change named.init script to check for existence of /etc/sysconfig/network
cvsdist 4f506d
cvsdist 4f506d
* Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-12
cvsdist 4f506d
- Update to build on RHEL
cvsdist 4f506d
cvsdist 4f506d
* Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-11
cvsdist 4f506d
- Update to build on RHEL
cvsdist 4f506d
cvsdist 4f506d
* Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-10
cvsdist 4f506d
- Fix echo OK on starting/stopping service
cvsdist 4f506d
cvsdist 4f506d
* Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-9
cvsdist 4f506d
- Update to build on RHEL
cvsdist 4f506d
cvsdist 4f506d
* Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-8
cvsdist 4f506d
- Fix echo on startup
cvsdist 4f506d
cvsdist 4f506d
* Tue Mar 25 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-7
cvsdist 4f506d
- Fix problems with chroot environment
cvsdist 4f506d
- Eliminate posix threads
cvsdist 4f506d
cvsdist 4f506d
* Mon Mar 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-6
cvsdist 4f506d
- Fix build problems
cvsdist 4f506d
cvsdist 4f506d
* Fri Mar 14 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-5
cvsdist 4f506d
- Fix build on beehive
cvsdist 4f506d
cvsdist 4f506d
* Thu Mar 13 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-4
cvsdist 4f506d
- build bind-chroot kit
cvsdist 4f506d
cvsdist 4f506d
* Tue Mar 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-3
cvsdist 4f506d
- Change configure to use proper threads model
cvsdist 4f506d
cvsdist 4f506d
* Fri Mar 7 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-2
cvsdist 4f506d
- update to 9.2.2
cvsdist 4f506d
cvsdist 4f506d
* Tue Mar 4 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-1
cvsdist 4f506d
- update to 9.2.2
cvsdist 4f506d
cvsdist 78e1f2
* Tue Jan 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.1-16
cvsdist 78e1f2
- Put a sleep in restart to make sure stop completes
cvsdist 78e1f2
cvsdist 78e1f2
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 78e1f2
- rebuilt
cvsdist 78e1f2
cvsdist 78e1f2
* Tue Jan 7 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.1-14
cvsdist 78e1f2
- Separate /etc/rndc.key to separate file
cvsdist 78e1f2
cvsdist 78e1f2
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 9.2.1-13
cvsdist 78e1f2
- Use openssl's pkgconfig data, if available, at build-time.
cvsdist 78e1f2
cvsdist 78e1f2
* Mon Jan 6 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.1-12
cvsdist 78e1f2
- Fix log rotate to use service named reload
cvsdist 78e1f2
- Change service named reload to give success/failure message [73770]
cvsdist 78e1f2
- Fix File checking [75710]
cvsdist 78e1f2
- Begin change to automatically run in CHROOT environment
cvsdist 78e1f2
cvsdist 78e1f2
* Tue Dec 24 2002 Daniel Walsh <dwalsh@redhat.com> 9.2.1-10
cvsdist 78e1f2
- Fix startup script to work like all others.
cvsdist 78e1f2
cvsdist 78e1f2
* Mon Dec 16 2002 Daniel Walsh <dwalsh@redhat.com> 9.2.1-9
cvsdist 78e1f2
- Fix configure to build on x86_64 platforms
cvsdist 78e1f2
cvsdist 761f89
* Wed Aug 07 2002 Karsten Hopp <karsten@redhat.de>
jvdias 781dfa
- fix #70583,  doesn't build on IA64
cvsdist 761f89
cvsdist aa0a29
* Tue Jul 30 2002 Karsten Hopp <karsten@redhat.de> 9.2.1-8
cvsdist aa0a29
- bind-utils shouldn't require bind
cvsdist aa0a29
cvsdist aa0a29
* Mon Jul 22 2002 Karsten Hopp <karsten@redhat.de> 9.2.1-7
cvsdist aa0a29
- fix name of pidfine in logrotate script (#68842)
cvsdist aa0a29
- fix owner of logfile in logrotate script (#41391)
cvsdist aa0a29
- fix nslookup and named.conf man pages (output on stderr)
cvsdist aa0a29
  (#63553, #63560, #63561, #54889, #57457)
cvsdist aa0a29
- add rfc1912 (#50005)
cvsdist aa0a29
- gzip all rfc's
cvsdist aa0a29
- fix typo in keygen.c (#54870)
cvsdist aa0a29
- added missing manpages (#64065)
cvsdist aa0a29
- shutdown named properly with rndc stop (#62492)
cvsdist aa0a29
- /sbin/nologin instead of /bin/false (#68607)
cvsdist aa0a29
- move nsupdate to bind-utils (where the manpage already was) (#66209, #66381)
cvsdist aa0a29
- don't kill initscript when rndc fails (reload)    (#58750)
cvsdist 1fcc1a
cvsdist 1fcc1a
cvsdist 1fcc1a
* Mon Jun 24 2002 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.1-5
cvsdist 1fcc1a
- Fix #65975
cvsdist 1fcc1a
cvsdist 1fcc1a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 1fcc1a
- automated rebuild
cvsdist 1fcc1a
cvsdist 1fcc1a
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 1fcc1a
- automated rebuild
cvsdist 1fcc1a
cvsdist 1fcc1a
* Thu May  9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.1-2
cvsdist 1fcc1a
- Move libisccc, lib isccfg and liblwres from bind-utils to bind,
cvsdist 1fcc1a
  they're not required if you aren't running a nameserver.
cvsdist 1fcc1a
cvsdist 1fcc1a
* Fri May 03 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 1fcc1a
- update to 9.2.1 release
cvsdist 1fcc1a
cvsdist 19ef0a
* Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-8
cvsdist 19ef0a
- Merge 30+ bug fixes from 9.2.1rc1 code
cvsdist 19ef0a
cvsdist a99a1d
* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-7
cvsdist a99a1d
- Don't exit if /etc/named.conf doesn't exist if we're running
cvsdist a99a1d
  chroot (#60868)
cvsdist a99a1d
- Revert Elliot's changes, we do require specific glibc/glibc-kernheaders
cvsdist a99a1d
  versions or bug #58335 will be back. "It compiles, therefore it works"
cvsdist a99a1d
  isn't always true.
cvsdist a99a1d
cvsdist a99a1d
* Thu Feb 28 2002 Elliot Lee <sopwith@redhat.com> 9.2.0-6
jvdias 781dfa
- Fix BuildRequires (we don't need specific glibc/glibc-kernheaders
cvsdist a99a1d
versions).
cvsdist a99a1d
- Use _smp_mflags
cvsdist a99a1d
cvsdist a99a1d
* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-4
cvsdist a99a1d
- rebuild, require recent autoconf, automake (#58335)
cvsdist a99a1d
cvsdist a99a1d
* Fri Jan 25 2002 Tim Powers <timp@redhat.com>
cvsdist a99a1d
- rebuild against new libssl
cvsdist a99a1d
cvsdist a99a1d
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist a99a1d
- automated rebuild
cvsdist a99a1d
cvsdist 366442
* Tue Nov 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-1
cvsdist 366442
- 9.2.0
cvsdist 366442
cvsdist 366442
* Thu Nov 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc10.2
cvsdist 366442
- 9.2.0rc10
cvsdist 366442
cvsdist 366442
* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc8.2
cvsdist 366442
- Fix up rndc.conf (#55574)
cvsdist 366442
cvsdist 366442
* Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc8.1
cvsdist 366442
- rc8
cvsdist 366442
- Enforce --enable-threads
cvsdist 366442
cvsdist 366442
* Mon Oct 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc7.1
cvsdist 366442
- 9.2.0rc7
cvsdist 366442
- Use rndc status for "service named status", it's supposed to actually
cvsdist 366442
  work in 9.2.x.
cvsdist 366442
cvsdist 366442
* Wed Oct  3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc5.1
cvsdist 366442
- 9.2.0rc5
cvsdist 366442
- Fix rpm --rebuild with ancient libtool versions (#53938, #54257)
cvsdist 366442
cvsdist 366442
* Tue Sep 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc4.1
cvsdist 366442
- 9.2.0rc4
cvsdist 366442
cvsdist 366442
* Fri Sep 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.2.0-0.rc3.1
cvsdist 366442
- 9.2.0rc3
cvsdist 366442
- remove ttl patch, I don't think we need this for 8.0.
cvsdist 366442
- remove dig.1.bz2 from the bind8-manpages tar file, 9.2 has a new dig man page
cvsdist 366442
- add lwres* man pages to -devel
cvsdist 3fb109
cvsdist 976b75
* Mon Sep  3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-4
cvsdist 976b75
- Make sure /etc/rndc.conf isn't world-readable even after the
cvsdist 976b75
  %post script inserted a random key (#53009)
cvsdist 976b75
cvsdist 0a52a5
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-3
cvsdist 0a52a5
- Add build dependencies (#49368)
cvsdist 0a52a5
- Make sure running service named start several times doesn't create
cvsdist 0a52a5
  useless processes (#47596)
cvsdist 0a52a5
- Work around the named parent process returning 0 even if the config
cvsdist 0a52a5
  file is broken (it's parsed later by the child processes) (#45484)
cvsdist 0a52a5
cvsdist a93eac
* Mon Jul 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-2
cvsdist a93eac
- Don't use rndc status, it's not yet implemented (#48839)
cvsdist a93eac
cvsdist a93eac
* Sun Jul 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist a93eac
- update to 9.1.3 release
cvsdist a93eac
cvsdist a93eac
* Tue Jul  3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc3.1
cvsdist a93eac
- Fix up rndc configuration and improve security (#46586)
cvsdist a93eac
cvsdist a93eac
* Tue Jun 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc2.2
cvsdist a93eac
- Sync with caching-nameserver-7.1-6
cvsdist a93eac
cvsdist a93eac
* Mon Jun 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc2.1
cvsdist a93eac
- Update to rc2
cvsdist a93eac
cvsdist a93eac
* Fri Jun  1 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc1.3
cvsdist a93eac
- Remove resolv.conf(5) man page, it's now in man-pages
cvsdist a93eac
cvsdist a93eac
* Thu May 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc1.2
cvsdist a93eac
- Add named.conf man page from bind 8.x (outdated, but better than nothing,
cvsdist a93eac
  #42732)
cvsdist a93eac
- Rename the rndc key (#42895)
cvsdist a93eac
- Add dnssec* man pages
cvsdist a93eac
cvsdist a93eac
* Mon May 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.3-0.rc1.1
cvsdist a93eac
- 9.1.3rc1
cvsdist a93eac
- s/Copyright/License/
cvsdist a93eac
cvsdist a93eac
* Mon May  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.2-1
cvsdist a93eac
- 9.1.2 final. No changes between 9.1.2-0.rc1.1 and this one, except for
cvsdist a93eac
  the version number, though.
cvsdist a93eac
cvsdist a93eac
* Thu May  3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.2-0.rc1.1
cvsdist a93eac
- 9.1.2rc1
cvsdist a93eac
cvsdist a93eac
* Thu Mar 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.1-1
cvsdist a93eac
- 9.1.1
cvsdist a93eac
cvsdist aed712
* Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10
cvsdist aed712
- Merge fixes from 9.1.1rc5
cvsdist aed712
cvsdist aed712
* Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9
cvsdist aed712
- Work around bind 8 -> bind 9 migration problem when using buggy zone files:
cvsdist aed712
  accept zones without a TTL, but spew out a big fat warning. (#31393)
cvsdist aed712
cvsdist aed712
* Thu Mar  8 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Add fixes from rc4
cvsdist aed712
cvsdist aed712
* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist aed712
- rebuild in new environment
cvsdist aed712
cvsdist aed712
* Thu Mar  1 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- killall -HUP named if rndc reload fails (#30113)
cvsdist aed712
cvsdist aed712
* Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Merge some fixes from 9.1.1rc3
cvsdist aed712
cvsdist aed712
* Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Don't use the standard rndc key from the documentation, instead, create a random one
cvsdist aed712
  at installation time (#26358)
cvsdist aed712
- Make /etc/rndc.conf readable by user named only, it contains secret keys
cvsdist aed712
cvsdist aed712
* Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes
cvsdist aed712
  from 9.1.1rc2
cvsdist aed712
- bind requires bind-utils (#28317)
cvsdist aed712
cvsdist aed712
* Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Update to rc2, fixes 2 more bugs
cvsdist aed712
- Fix build with glibc >= 2.2.1-7
cvsdist aed712
cvsdist aed712
* Thu Feb  8 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us;
cvsdist aed712
  1 was fixed in a Red Hat patch already, 2 others are portability
cvsdist aed712
  improvements)
cvsdist aed712
cvsdist aed712
* Wed Feb  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Remove initscripts 5.54 requirement (#26489)
cvsdist aed712
cvsdist aed712
* Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Add named-checkconf, named-checkzone (#25170)
cvsdist aed712
cvsdist aed712
* Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist aed712
- use echo, not gprintf
cvsdist aed712
cvsdist aed712
* Wed Jan 24 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix problems with $GENERATE
cvsdist aed712
  Patch from Daniel Roesen <droesen@entire-systems.com>
cvsdist aed712
  Bug #24890
cvsdist aed712
cvsdist aed712
* Thu Jan 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.0 final
cvsdist aed712
cvsdist aed712
* Sat Jan 13 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.0rc1
cvsdist aed712
- i18nify init script
cvsdist aed712
- bzip2 source to save space
cvsdist aed712
cvsdist aed712
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix %%postun script
cvsdist aed712
cvsdist aed712
* Tue Jan  9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.0b3
cvsdist aed712
cvsdist aed712
* Mon Jan  8 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Add named.conf man page from bind8 (#23503)
cvsdist aed712
cvsdist aed712
* Sun Jan  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Make /etc/rndc.conf and /etc/sysconfig/named noreplace
cvsdist aed712
- Make devel require bind = %%{version} rather than just bind
cvsdist aed712
cvsdist aed712
* Sun Jan  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix init script for real
cvsdist aed712
cvsdist aed712
* Sat Jan  6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix init script when ROOTDIR is not set
cvsdist aed712
cvsdist aed712
* Thu Jan  4 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Add hooks for setting up named to run chroot (RFE #23246)
cvsdist aed712
- Fix up requirements
cvsdist aed712
cvsdist aed712
* Fri Dec 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.0b2
cvsdist aed712
cvsdist aed712
* Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Move run files to /var/run/named/ - /var/run isn't writable
cvsdist aed712
  by the user we're running as. (Bug #20665)
cvsdist aed712
cvsdist aed712
* Tue Dec 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix reverse lookups (#22272)
cvsdist aed712
- Run ldconfig in %post utils
cvsdist aed712
cvsdist aed712
* Tue Dec 12 2000 Karsten Hopp <karsten@redhat.de>
cvsdist aed712
- fixed logrotate script (wrong path to kill)
cvsdist aed712
- include header files in -devel package
cvsdist aed712
- bugzilla #22049, #19147, 21606
cvsdist aed712
cvsdist aed712
* Fri Dec  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.1.0b1 (9.1.0 is in our timeframe and less buggy)
cvsdist aed712
cvsdist aed712
* Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.0.1
cvsdist a47288
cvsdist aed712
* Mon Oct 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Fix initscript (Bug #19956)
cvsdist aed712
- Add sample rndc.conf (Bug #19956)
cvsdist aed712
- Fix build with tar 1.13.18
cvsdist 533e01
cvsdist aed712
* Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- Add some missing man pages (taken from bind8) (Bug #18794)
cvsdist 580697
cvsdist aed712
* Sun Sep 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.0.0 final
cvsdist 2f7f4b
cvsdist aed712
* Wed Aug 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- rc5
cvsdist aed712
- fix up nslookup
cvsdist 2f7f4b
cvsdist aed712
* Thu Aug 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- rc4
cvsdist 2f7f4b
cvsdist aed712
* Thu Jul 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist aed712
- 9.0.0rc1
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 2f7f4b
- automatic rebuild
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sun Jul  9 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 2f7f4b
- add "exit 0" for uninstall case
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Jul  7 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 2f7f4b
- add prereq init.d and cleanup install section
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 2f7f4b
- fix the init script
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2f7f4b
- make libbind.a and nslookup.help readable again by setting INSTALL_LIB to ""
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist 2f7f4b
- Fix up the initscript (Bug #13033)
cvsdist 2f7f4b
- Fix build with current glibc (Bug #12755)
cvsdist 2f7f4b
- /etc/rc.d/init.d -> /etc/init.d
cvsdist 2f7f4b
- use %%{_mandir} rather than /usr/share/man
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- fix conflict with man-pages
cvsdist 2f7f4b
- remove compatibilty chkconfig links
cvsdist 2f7f4b
- initscript munging
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2f7f4b
- modify logrotate setup to use PID file
cvsdist 2f7f4b
- temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time
cvsdist 2f7f4b
- actually bump the release this time
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sun Jun  4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f7f4b
- FHS compliance
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2f7f4b
- clean up restart patch
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2f7f4b
- provide /var/named (fix for bugs #9847, #10205)
cvsdist 2f7f4b
- preserve args when restarted via ndc(8) (bug #10227)
cvsdist 2f7f4b
- make resolv.conf(5) a link to resolver(5) (bug #10245)
cvsdist 2f7f4b
- fix SYSTYPE bug in all makefiles
cvsdist 2f7f4b
- move creation of named user from %%post into %%pre
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist 2f7f4b
- Fix TTL (patch from ISC, Bug #9820)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist 2f7f4b
- fix typo in spec (it's %post, without a leading blank) introduced in -6
cvsdist 2f7f4b
- change SYSTYPE to linux
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sat Feb 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- pick a standard < 100 uid/gid for named
cvsdist 2f7f4b
cvsdist 2f7f4b
* Thu Feb 04 2000 Elliot Lee <sopwith@redhat.com>
cvsdist 2f7f4b
- Pass named a '-u named' parameter by default, and add/remove user.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Thu Feb  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f7f4b
- fix host mx bug (Bug #9021)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- rebuild to fix dependencies
cvsdist 2f7f4b
- man pages are compressed
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f7f4b
- It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f7f4b
- Fix up location of named-bootconf.pl and make it executable
cvsdist 2f7f4b
  (Bug #8028)
cvsdist 2f7f4b
- bind-devel requires bind
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f7f4b
- update to 8.2.2-P5
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Nov 10 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- update to 8.2.2-P3
cvsdist 2f7f4b
cvsdist 2f7f4b
* Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- add patch to stop a cache only server from complaining about lame servers
cvsdist 2f7f4b
  on every request.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 2f7f4b
- use real stop and start in named.init for restart, not ndc restart, it has
cvsdist 2f7f4b
  problems when named has changed during a package update... (# 4890)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- chkconfig --del in %preun, not %postun
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- initscript munging
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Jul 26 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- fix installed chkconfig links to match init file
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sat Jul  3 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- conflict with new (in man-1.24) man pages (#3876,#3877).
cvsdist 2f7f4b
cvsdist 2f7f4b
* Tue Jun 29 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- fix named.logrotate (wrong %SOURCE)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- update to 8.2.1.
cvsdist 2f7f4b
- add named.logrotate (#3571).
cvsdist 2f7f4b
- hack around egcs-1.1.2 -m486 bug (#3413, #3485).
cvsdist 2f7f4b
- vet file list.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- don't run by default
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sun May 30 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- nslookup fixes (#2463).
cvsdist 2f7f4b
- missing files (#3152).
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sat May  1 1999 Stepan Kasal <kasal@math.cas.cz>
cvsdist 2f7f4b
- nslookup patched:
cvsdist 2f7f4b
  to count numRecords properly
cvsdist 2f7f4b
  to fix subsequent calls to ls -d
cvsdist 2f7f4b
  to parse "view" and "finger" commands properly
cvsdist 2f7f4b
  the view hack updated for bind-8 (using sed)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Mar 31 1999 Bill Nottingham <notting@redhat.com>
cvsdist 2f7f4b
- add ISC patch
cvsdist 2f7f4b
- add quick hack to make host not crash
cvsdist 2f7f4b
- add more docs
cvsdist 2f7f4b
cvsdist 2f7f4b
* Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- add probing information in the init file to keep linuxconf happy
cvsdist 2f7f4b
- dont strip libbind
cvsdist 2f7f4b
jvdias 781dfa
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- auto rebuild in the new build environment (release 3)
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Mar 17 1999 Preston Brown <pbrown@redhat.com>
cvsdist 2f7f4b
- removed 'done' output at named shutdown.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- version 8.2
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 2f7f4b
- patch to use the __FDS_BITS macro
cvsdist 2f7f4b
- build for glibc 2.1
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- change named.restart to /usr/sbin/ndc restart
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- install man pages correctly.
cvsdist 2f7f4b
- change K10named to K45named.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- don't start if /etc/named.conf doesn't exist.
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sat Aug  8 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- autmagically create /etc/named.conf from /etc/named.boot in %post
cvsdist 2f7f4b
- remove echo in %post
cvsdist 2f7f4b
cvsdist 2f7f4b
* Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f7f4b
- merge in 5.1 mods
cvsdist 2f7f4b
cvsdist 2f7f4b
* Sun Apr 12 1998 Manuel J. Galan <manolow@step.es>
cvsdist 2f7f4b
- Several essential modifications to build and install correctly.
cvsdist 2f7f4b
- Modified 'ndc' to avoid deprecated use of '-'
cvsdist 2f7f4b
cvsdist 2f7f4b
* Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org>
cvsdist 2f7f4b
- Used buildroot
cvsdist 2f7f4b
- patched bin/named/ns_udp.c to use <libelf/nlist.h> for include
cvsdist 2f7f4b
  on Redhat 5.0 instead of <nlist.h>