From 10df4c1379092b8b794f22504c9b4627f6eba5c9 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Jan 14 2009 15:44:12 +0000 Subject: put libevent back in (got confused between devel and EL-5) --- diff --git a/unbound.spec b/unbound.spec index 242d671..27c330b 100644 --- a/unbound.spec +++ b/unbound.spec @@ -11,7 +11,7 @@ Source3: unbound.munin Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex, openssl-devel >= 0.9.8g-12, ldns-devel >= 1.4.0, -#BuildRequires libevent-devel >= 1.4.5 +BuildRequires: libevent-devel >= 1.4.5 Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts @@ -45,7 +45,6 @@ Plugin for the munin / munin-node monitoring package Summary: Development package that includes the unbound header files Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release}, openssl-devel, ldns-devel -#Requires: libevent-devel >= 1.4.5 %description devel The devel package contains the unbound library and the include files @@ -64,8 +63,7 @@ Contains libraries used by the unbound server and client applications %setup -q %build -#%configure --with-ldns= -with-libevent --with-pthreads --with-ssl -%configure --with-ldns= --with-pthreads --with-ssl \ +%configure --with-ldns= -with-libevent --with-pthreads --with-ssl \ --disable-rpath --enable-debug --disable-static \ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \ --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid @@ -151,6 +149,8 @@ fi - Updated to 1.2.0 - Added dependancy on minimum SSL for CVE-2008-5077 - Added dependancy on bc for unbound-munin +- Added minimum requirement of libevent 1.4.5. Crashes with older versions + (note: libevent is stale in EL-4 and not in EL-5, needs fixing there) - Removed dependancy on selinux-policy (will get used when available) - Enable options as per draft-wijngaards-dnsext-resolver-side-mitigation-00.txt - Enable unwanted-reply-threshold to mitigate against a Kaminsky attack