From c34d22a528db5751fc06cf3758290d23bc299d89 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Aug 2011 18:03:24 +0200 Subject: unbound, sinc with rawhide --- unbound.spec | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/unbound.spec b/unbound.spec index 4e7d6ba..f84bd14 100644 --- a/unbound.spec +++ b/unbound.spec @@ -9,9 +9,9 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound Version: 1.4.12 -Release: 1%{?dist}.1 +Release: 3%{?dist} License: BSD -URL: http://www.nlnetlabs.nl/unbound/ +Url: http://www.nlnetlabs.nl/unbound/ Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz Source1: unbound.init Source2: unbound.conf @@ -20,10 +20,11 @@ Source4: unbound_munin_ Source5: root.key Source6: dlv.isc.org.key Patch1: unbound-1.2-glob.patch +Patch2: unbound-1.4.12-pythonmod.patch Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: flex, openssl-devel, ldns-devel >= 1.5.0 +BuildRequires: flex, openssl-devel , ldns-devel >= 1.5.0, BuildRequires: libevent-devel expat-devel %if %{with_python} BuildRequires: python-devel swig @@ -76,6 +77,7 @@ Summary: Libraries used by the unbound server and client applications Group: Applications/System Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +##Requires: openssl >= 0.9.8g-12 %description libs Contains libraries used by the unbound server and client applications @@ -93,10 +95,11 @@ Python modules and extensions for unbound %prep %setup -q %patch1 -p1 +%patch2 -p0 %build %configure --with-ldns= --with-libevent --with-pthreads --with-ssl \ - --disable-rpath --enable-XXXdebug --disable-static \ + --disable-rpath --disable-static \ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \ --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \ %if %{with_python} @@ -150,6 +153,8 @@ rm -rf ${RPM_BUILD_ROOT} %files python %defattr(-,root,root,-) %{python_sitelib}/* +%doc libunbound/python/examples/* +%doc pythonmod/examples/* %endif %files munin @@ -199,6 +204,20 @@ fi %postun libs -p /sbin/ldconfig %changelog +* Tue Aug 09 2011 Remi Collet - 1.4.12-3 +- sync with rawhide, rebuild for EL + +* Mon Aug 08 2011 Paul Wouters - 1.4.12-3 +- Added pythonmod docs and examples + +* Mon Aug 08 2011 Paul Wouters - 1.4.12-2 +- Fix for python module load in the server (Tom Hendrikx) +- No longer enable --enable-debug as it causes degraded performance + under load. + +* Mon Jul 18 2011 Paul Wouters - 1.4.12-1 +- Updated to 1.4.12 + * Sat Jul 16 2011 Remi Collet - 1.4.12-1.1 - remove openssl version dependency (for EL-5) use detected soname -- cgit