]> git.pld-linux.org Git - packages/unbound.git/blobdiff - unbound.spec
- updated to 1.9.1
[packages/unbound.git] / unbound.spec
index b6b21ce29b2004bce25a55fb56b5838e4de823d4..5252fa489474e9938068c1431e7ebbd9d6454c7d 100644 (file)
@@ -4,24 +4,25 @@
 # Conditional build:
 %bcond_without python  # Python binding
 %bcond_with    dnstap  # dnstap replication support
+%bcond_with    redis   # cachedb support for redis (using hiredis)
 %bcond_with    systemd # systemd support
-%bcond_without tests
+%bcond_without tests   # unit tests
 #
 Summary:       Recursive, validating DNS resolver
 Summary(pl.UTF-8):     Rekurencyjny, weryfikujący resolver DNS
 Name:          unbound
-Version:       1.8.2
+Version:       1.9.1
 Release:       1
 License:       BSD
 Group:         Applications/Network
 Source0:       http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 3b2f1024df47ccc59a8100c3b40c6dc1
+# Source0-md5: 5d954920d192b33f7c88f015dd969940
 Source1:       %{name}.init
 Source2:       %{name}.service
 Source3:       https://data.iana.org/root-anchors/icannbundle.pem
 # Source3-md5: 24a426d59b61524623695f1b849f159b
 Source4:       ftp://ftp.internic.net/domain/named.cache
-# Source4-md5: a2d36ae713cf5e8ea59641b320b6ec5d
+# Source4-md5: 60cbad328adbff5e9313fef5cd9a8d1d
 Patch0:                %{name}-default_trust_anchor.patch
 Patch1:                %{name}-sh.patch
 Patch2:                %{name}-pythondir.patch
@@ -30,18 +31,19 @@ URL:                http://unbound.net/
 BuildRequires: autoconf >= 2.56
 BuildRequires: automake
 BuildRequires: bison
-BuildRequires: expat-devel
+BuildRequires: expat-devel >= 1.95
 BuildRequires: flex
 %{?with_dnstap:BuildRequires:  fstrm-devel}
+%{?with_redis:BuildRequires:   hiredis-devel}
 BuildRequires: libevent-devel
 BuildRequires: libtool
-BuildRequires: openssl-devel >= 1.0
+BuildRequires: openssl-devel >= 1.0.0
 %{?with_dnstap:BuildRequires:  protobuf-c-devel}
 BuildRequires: rpmbuild(macros) >= 1.671
 %{?with_systemd:BuildRequires: systemd-devel}
 %if %{with python}
 BuildRequires: python-devel >= 1:2.4.0
-BuildRequires: swig-python
+BuildRequires: swig-python >= 2.0.1
 %endif
 Provides:      user(unbound)
 Requires(post,preun):  /sbin/chkconfig
@@ -94,7 +96,7 @@ Summary:      Header files for unbound library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki unbound
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
-Requires:      openssl-devel
+Requires:      openssl-devel >= 1.0.0
 
 %description devel
 Header files for unbound library.
@@ -141,12 +143,14 @@ Pythonowy interfejs do biblioteki unbound.
 %configure \
        %{?with_dnstap:--enable-dnstap} \
        %{?with_systemd:--enable-systemd} \
-       %{__with_without python pyunbound} \
-       %{__with_without python pythonmodule} \
-       --with-libevent \
-       --with-pidfile=/run/%{name}.pid \
        --with-chroot-dir="" \
        --with-conf-file=%{_sysconfdir}/%{name}/%{name}.conf \
+       --with-libevent=/usr \
+       --with-libexpat=/usr \
+       %{?with_redis:--with-libhiredis=/usr} \
+       --with-pidfile=/run/%{name}.pid \
+       %{__with_without python pyunbound} \
+       %{__with_without python pythonmodule} \
        --with-rootkey-file=/var/lib/%{name}/root.key \
        --with-rootcert-file=%{_sysconfdir}/%{name}/icannbundle.pem
 
This page took 0.073452 seconds and 4 git commands to generate.