[nsd/f15/master] fixup partial cron fix. ghosting /var/run/nsd

Paul Wouters pwouters at fedoraproject.org
Wed Mar 9 21:30:53 UTC 2011


commit 259e41bee29b301ae0a096ca9412042b2c4f9d49
Author: Paul Wouters <paul at xelerance.com>
Date:   Wed Mar 9 16:26:47 2011 -0500

    fixup partial cron fix. ghosting /var/run/nsd

 nsd.cron |    2 +-
 nsd.spec |   10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/nsd.cron b/nsd.cron
index 08993d5..d86905c 100644
--- a/nsd.cron
+++ b/nsd.cron
@@ -22,7 +22,7 @@ $NSDC_PROG -c $NSD_CONF patch > /dev/null 2>&1
 # complete this operation within an hour, but it should work fine for
 # most other uses.
 
-case "$NSD_AUTORELOAD" in
+case "$NSD_AUTOREBUILD" in
 	[Yy]|[Yy][Ee][Ss])
 		database="`$NSD_CHECKCONF_PROG -o database $NSD_CONF`"
 		$NSD_CHECKCONF_PROG -v $NSD_CONF | grep zonefile: | sed "s/^.*\"\(.*\)\"/\1/" | while read zonefile
diff --git a/nsd.spec b/nsd.spec
index 957c6af..4b92f5a 100644
--- a/nsd.spec
+++ b/nsd.spec
@@ -1,7 +1,7 @@
 Summary: Fast and lean authoritative DNS Name Server
 Name: nsd
 Version: 3.2.7
-Release: 2%{?dist}
+Release: 5%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/%{name}/
 Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
@@ -66,11 +66,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %doc contrib/nsd.zones2nsd.conf
 %dir %{_sysconfdir}/nsd/
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.conf
-#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.zones
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/nsd
 %attr(0755,root,root) %{_initrddir}/%{name}
 %{_sysconfdir}/cron.hourly/nsd
-%attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
+%ghost %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
 %attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name}
 %{_sbindir}/*
 %{_mandir}/*/*
@@ -97,8 +96,11 @@ if [ "$1" -ge "1" ]; then
 fi
 
 %changelog
-* Wed Mar 09 2011 Paul Wouters <paul at xelerance.com> - 3.2.7-3
+* Wed Mar 09 2011 Paul Wouters <paul at xelerance.com> - 3.2.7-5
 - Fix misnamed variable NSD_AUTORELOAD which should be NSD_AUTOREBUILD
+- Fix for init script properly returning OK/Failed (bz#535107) by Noa Resare
+- Add ghost directive to /var/run/nsd (bz#656642)
+- Bump release for EVR
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.7-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list