From c41f9f1f3798d267d8533322abd7a6ba3b71118c Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Sat, 15 Nov 2008 05:46:07 +0000 Subject: [PATCH] Fix statistics settings in unbound.conf files for unbound-munin --- unbound.conf | 6 ++++-- unbound.spec | 14 ++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/unbound.conf b/unbound.conf index e75be30..ea6d36f 100644 --- a/unbound.conf +++ b/unbound.conf @@ -21,10 +21,12 @@ server: # print statistics to the log (for every thread) every N seconds. # Set to "" or 0 to disable. Default is disabled. - statistics-interval: 3600 + statistics-interval: 0 # enable cumulative statistics, without clearing them after printing. - # statistics-cumulative: no + statistics-cumulative: no + + extended-statistics: yes # number of threads to create. 1 disables threading. num-threads: 2 diff --git a/unbound.spec b/unbound.spec index 38aac9b..d9b7ab8 100644 --- a/unbound.spec +++ b/unbound.spec @@ -1,7 +1,7 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound -Version: 1.0.2 -Release: 5%{?dist} +Version: 1.1.0 +Release: 1%{?dist} License: BSD Url: http://www.nlnetlabs.nl/unbound/ Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz @@ -9,12 +9,12 @@ Source1: unbound.init Source2: unbound.conf Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: flex, openssl-devel, ldns-devel >= 1.3.0, libevent-devel +BuildRequires: flex, openssl-devel, ldns-devel >= 1.4.0, libevent-devel Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts Requires(postun): initscripts -Requires: ldns >= 1.3.0 +Requires: ldns >= 1.4.0 Requires(pre): shadow-utils # Is this obsolete? #Provides: caching-nameserver @@ -146,6 +146,12 @@ fi %postun libs -p /sbin/ldconfig %changelog +* Fri Nov 14 2008 Paul Wouters - 1.1.0-1 +- Updated to version 1.1.0 +- Update unbound.conf's statistics options to work properly + for munin +- Required ldns is now 1.4.0 + * Wed Oct 22 2008 Paul Wouters - 1.0.2-5 - Only call ldconfig in -libs package - Move configure into build section