From 59bea48f61be3dbc80d3e7696cef435b9fcd8d10 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Sep 14 2007 18:17:20 +0000 Subject: - Change locations of ixfr.db and xfrd.state to /var/lib/nsd - Enable NSEC3 - Delay running nsdc update until after nsd has started - Delete xfrd.state on nsd stop - Run nsdc notify in the background, since it can take a very long time when remote servers are unavailable. --- diff --git a/nsd.spec b/nsd.spec index eaa820b..6fa09e5 100644 --- a/nsd.spec +++ b/nsd.spec @@ -1,7 +1,7 @@ Summary: NSD is a complete implementation of an authoritative DNS name server Name: nsd Version: 3.0.6 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD-like Url: http://open.nlnetlabs.nl/nsd/ Source: http://open.nlnetlabs.nl/downloads/nsd/%{name}-%{version}.tar.gz @@ -20,8 +20,10 @@ consult the REQUIREMENTS document which is a part of this distribution %setup -q %configure --enable-bind8-stats --enable-plugins --enable-checking \ - --enable-mmap --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid --with-ssl \ - --with-user=nsd + --enable-mmap --with-ssl --enable-nsec3 --enable-nsid \ + --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid --with-ssl \ + --with-user=nsd --with-difffile=%{_localstatedir}/lib/%{name}/ixfr.db \ + --with-xfrdfile=%{_localstatedir}/lib/%{name}/ixfr.state %build %{__make} %{?_smp_mflags} @@ -32,6 +34,7 @@ rm -rf %{buildroot} install -d -m 0755 %{buildroot}%{_initrddir} install -m 0755 %{SOURCE1} %{buildroot}/%{_initrddir}/nsd install -d -m 0700 %{buildroot}%{_localstatedir}/run/%{name} +install -d -m 0700 %{buildroot}%{_localstatedir}/lib/%{name} # change .sample to normal config files mv %{buildroot}%{_sysconfdir}/nsd/nsd.conf.sample \ @@ -51,6 +54,7 @@ rm -rf ${RPM_BUILD_ROOT} #%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.zones %attr(0755,root,root) %{_initrddir}/%{name} %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name} +%attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name} %{_sbindir}/* %{_mandir}/*/* @@ -74,6 +78,14 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Fri Sep 14 2007 Paul Wouters 3.0.6-2 +- Change locations of ixfr.db and xfrd.state to /var/lib/nsd +- Enable NSEC3 +- Delay running nsdc update until after nsd has started +- Delete xfrd.state on nsd stop +- Run nsdc notify in the background, since it can take + a very long time when remote servers are unavailable. + * Tue Sep 11 2007 Paul Wouters 3.0.6-1 - Upgraded to 3.0.6 - Do not include bind2nsd, since it didn't compile for me