]> git.pld-linux.org Git - packages/unbound.git/commitdiff
- added dnstap bcond auto/th/unbound-1.5.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Nov 2015 19:11:27 +0000 (20:11 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Nov 2015 19:11:27 +0000 (20:11 +0100)
unbound.spec

index a632084acc33a488f8c40b9ac4645faec1e836ba..d96a0869df9dbf09e2175504d5d9bbf4a0e927a3 100644 (file)
@@ -1,7 +1,7 @@
-# TODO: dnstap? (BR: protobuf-c-devel, libfstrm -devel)
 #
 # Conditional build:
 %bcond_without python  # Python binding
+%bcond_with    dnstap  # dnstap replication support
 #
 Summary:       Recursive, validating DNS resolver
 Summary(pl.UTF-8):     Rekurencyjny, weryfikujÄ…cy resolver DNS
@@ -24,9 +24,11 @@ URL:         http://unbound.net/
 BuildRequires: autoconf >= 2.56
 BuildRequires: automake
 BuildRequires: expat-devel
+%{?with_dnstap:BuildRequires:  fstrm-devel}
 BuildRequires: libevent-devel
 BuildRequires: libtool
 BuildRequires: openssl-devel >= 1.0
+%{?with_dnstap:BuildRequires:  protobuf-c-devel}
 BuildRequires: rpmbuild(macros) >= 1.228
 %if %{with python}
 BuildRequires: python-devel >= 1:2.4.0
@@ -127,6 +129,7 @@ Pythonowy interfejs do biblioteki unbound.
 %{__autoconf}
 %{__autoheader}
 %configure \
+       %{?with_dnstap:--enable-dnstap} \
        %{__with_without python pyunbound} \
        %{__with_without python pythonmodule} \
        --with-pidfile=/run/%{name}.pid \
This page took 0.166941 seconds and 4 git commands to generate.