[nsd/el6] * prepare nsd for 3.2.15
Paul Wouters
pwouters at fedoraproject.org
Fri Feb 1 17:02:20 UTC 2013
commit b44d64843145c116899bb2d20e306c25e1fd7b1e
Author: Paul Wouters <pwouters at redhat.com>
Date: Fri Feb 1 11:59:30 2013 -0500
* prepare nsd for 3.2.15
nsd.init | 2 ++
nsd.spec | 12 +++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/nsd.init b/nsd.init
index d76f58a..6277d8b 100755
--- a/nsd.init
+++ b/nsd.init
@@ -108,6 +108,8 @@ case "$1" in
;;
status)
status -p ${NSD_PIDFILE} ${NSD_PROG}
+ RETVAL=$?
+ exit $RETVAL
;;
reload)
echo -n $"Rebuilding zonefiles:"
diff --git a/nsd.spec b/nsd.spec
index 20b8328..7081a2d 100644
--- a/nsd.spec
+++ b/nsd.spec
@@ -1,7 +1,7 @@
Summary: Fast and lean authoritative DNS Name Server
Name: nsd
-Version: 3.2.14
-Release: 2%{?dist}
+Version: 3.2.15
+Release: 1%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/%{name}/
Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
@@ -36,7 +36,8 @@ consult the REQUIREMENTS document which is a part of this distribution
--with-user=nsd \
--with-difffile=%{_localstatedir}/lib/%{name}/ixfr.db \
--with-xfrdfile=%{_localstatedir}/lib/%{name}/ixfr.state \
- --with-dbfile=%{_localstatedir}/lib/%{name}/nsd.db
+ --with-dbfile=%{_localstatedir}/lib/%{name}/nsd.db \
+ --with-rate-limit
%{__make} %{?_smp_mflags}
#convert to utf8
@@ -100,6 +101,11 @@ if [ "$1" -ge "1" ]; then
fi
%changelog
+* Fri Feb 01 2013 Paul Wouters <pwouters at redhat.com> - 3.2.15-1
+- Updates to 3.2.15 which contains rate limit code
+- Fix to nsd.init script to return non-zero on service status
+ when not running (broke puppet)
+
* Fri Nov 23 2012 Paul Wouters <pwouters at redhat.com> - 3.2.14-2
- Updated to 32.14 with minor bugfixes and TCP writev support
- Only run nsdc rebuild hourly cronjob when nsd service is running
More information about the scm-commits
mailing list