rpms/nsd/devel nsd.spec,1.22,1.23

Paul Wouters (pwouters) fedora-extras-commits at redhat.com
Fri Sep 14 19:59:02 UTC 2007


Author: pwouters

Update of /cvs/extras/rpms/nsd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31181

Modified Files:
	nsd.spec 
Log Message:
* Fri Sep 14 2007 Paul Wouters <paul at xelerance.com> 3.0.6-3
- Do not include examples from nsd.conf.sample that causes
  bogus network traffic.



Index: nsd.spec
===================================================================
RCS file: /cvs/extras/rpms/nsd/devel/nsd.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- nsd.spec	14 Sep 2007 18:17:20 -0000	1.22
+++ nsd.spec	14 Sep 2007 19:58:30 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: NSD is a complete implementation of an authoritative DNS name server
 Name: nsd
 Version: 3.0.6
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD-like
 Url: http://open.nlnetlabs.nl/nsd/
 Source: http://open.nlnetlabs.nl/downloads/nsd/%{name}-%{version}.tar.gz
@@ -21,7 +21,7 @@
 
 %configure --enable-bind8-stats --enable-plugins --enable-checking \
            --enable-mmap --with-ssl --enable-nsec3 --enable-nsid \
-	--with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid --with-ssl \
+           --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
 
@@ -37,10 +37,9 @@
 install -d -m 0700 %{buildroot}%{_localstatedir}/lib/%{name}
 
 # change .sample to normal config files
-mv %{buildroot}%{_sysconfdir}/nsd/nsd.conf.sample \
-   %{buildroot}%{_sysconfdir}/nsd/nsd.conf
-#mv %{buildroot}%{_sysconfdir}/nsd/nsd.zones.sample \
-#   %{buildroot}%{_sysconfdir}/nsd/nsd.zones
+head -76 %{buildroot}%{_sysconfdir}/nsd/nsd.conf.sample > %{buildroot}%{_sysconfdir}/nsd/nsd.conf
+rm %{buildroot}%{_sysconfdir}/nsd/nsd.conf.sample 
+echo "# include: \"/some/path/file\"" >> %{buildroot}%{_sysconfdir}/nsd/nsd.conf
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -78,6 +77,10 @@
 fi
 
 %changelog
+* Fri Sep 14 2007 Paul Wouters <paul at xelerance.com> 3.0.6-3
+- Do not include examples from nsd.conf.sample that causes
+  bogus network traffic.
+
 * Fri Sep 14 2007 Paul Wouters <paul at xelerance.com> 3.0.6-2
 - Change locations of ixfr.db and xfrd.state to /var/lib/nsd
 - Enable NSEC3




More information about the scm-commits mailing list