- enable event api
- enable dnstap support OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=23
This commit is contained in:
parent
e8dcb7b00a
commit
3c1260178e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 4 13:37:38 UTC 2015 - mrueckert@suse.de
|
||||
|
||||
- enable event api
|
||||
- enable dnstap support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 10:16:32 UTC 2015 - michael@stroeder.com
|
||||
|
||||
|
17
unbound.spec
17
unbound.spec
@ -20,6 +20,12 @@
|
||||
%bcond_without munin
|
||||
%bcond_without hardened_build
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
%bcond_without dnstap
|
||||
%else
|
||||
%bcond_with dnstap
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1230
|
||||
%bcond_without systemd
|
||||
%else
|
||||
@ -58,8 +64,12 @@ BuildRequires: libevent-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python-devel
|
||||
%if %{with dnstap}
|
||||
BuildRequires: protobuf-c >= 1.0.0
|
||||
BuildRequires: libprotobuf-c-devel >= 1.0.0
|
||||
BuildRequires: libfstrm-devel
|
||||
%endif
|
||||
%if %{with python}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: swig
|
||||
%endif
|
||||
PreReq: pwdutils
|
||||
@ -186,6 +196,10 @@ export CXXFLAGS="%{optflags} -fPIE -pie"
|
||||
--enable-sha2 \
|
||||
--enable-gost \
|
||||
--enable-ecdsa \
|
||||
--enable-event-api \
|
||||
%if %{with dnstap}
|
||||
--enable-dnstap \
|
||||
%endif
|
||||
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
|
||||
--with-pidfile=%{piddir}%{name}/%{name}.pid \
|
||||
%if %{with python}
|
||||
@ -368,6 +382,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/unbound.conf
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/unbound.h
|
||||
%{_includedir}/unbound-event.h
|
||||
%{_libdir}/libunbound.so
|
||||
%{_mandir}/man3/libunbound.3*
|
||||
%{_mandir}/man3/ub_*.3*
|
||||
|
Loading…
Reference in New Issue
Block a user