Add JSON statistics support
Optional support for HTTP statistics. For now it is still disabled.
This commit is contained in:
parent
ad7b3b8f12
commit
eba5779fc1
15
bind.spec
15
bind.spec
@ -17,6 +17,7 @@
|
|||||||
%bcond_without PKCS11
|
%bcond_without PKCS11
|
||||||
%bcond_without DEVEL
|
%bcond_without DEVEL
|
||||||
%bcond_with LMDB
|
%bcond_with LMDB
|
||||||
|
%bcond_with JSON
|
||||||
%bcond_with DLZ
|
%bcond_with DLZ
|
||||||
%bcond_without EXPORT_LIBS
|
%bcond_without EXPORT_LIBS
|
||||||
%if 0%{?fedora} >= 17
|
%if 0%{?fedora} >= 17
|
||||||
@ -52,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
|||||||
Name: bind
|
Name: bind
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
Version: 9.11.5
|
Version: 9.11.5
|
||||||
Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||||
Epoch: 32
|
Epoch: 32
|
||||||
Url: http://www.isc.org/products/BIND/
|
Url: http://www.isc.org/products/BIND/
|
||||||
#
|
#
|
||||||
@ -183,6 +184,9 @@ BuildRequires: krb5-devel
|
|||||||
%if %{with LMDB}
|
%if %{with LMDB}
|
||||||
BuildRequires: lmdb-devel
|
BuildRequires: lmdb-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with JSON}
|
||||||
|
BuildRequires: json-c-devel
|
||||||
|
%endif
|
||||||
# Needed to regenerate dig.1 manpage
|
# Needed to regenerate dig.1 manpage
|
||||||
BuildRequires: docbook-style-xsl, libxslt
|
BuildRequires: docbook-style-xsl, libxslt
|
||||||
|
|
||||||
@ -321,6 +325,9 @@ Requires: krb5-devel%{?_isa}
|
|||||||
%if %{with LMDB}
|
%if %{with LMDB}
|
||||||
Requires: lmdb-devel
|
Requires: lmdb-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with JSON}
|
||||||
|
Requires: json-c-devel%{?_isa}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description lite-devel
|
%description lite-devel
|
||||||
The bind-lite-devel package contains lite version of the header
|
The bind-lite-devel package contains lite version of the header
|
||||||
@ -595,6 +602,9 @@ export LIBDIR_SUFFIX
|
|||||||
%else
|
%else
|
||||||
--with-lmdb=no \
|
--with-lmdb=no \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with JSON}
|
||||||
|
--with-libjson \
|
||||||
|
%endif
|
||||||
%if %{with UNITTEST}
|
%if %{with UNITTEST}
|
||||||
--with-atf=${ATF_PATH} \
|
--with-atf=${ATF_PATH} \
|
||||||
%endif
|
%endif
|
||||||
@ -1446,6 +1456,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 25 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.5-2
|
||||||
|
- Add optional support for JSON statistics
|
||||||
|
|
||||||
* Wed Oct 24 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.5-1
|
* Wed Oct 24 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.5-1
|
||||||
- Update to 9.11.5
|
- Update to 9.11.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user