Add JSON statistics support

Optional support for HTTP statistics. For now it is still disabled.
This commit is contained in:
Petr Menšík 2018-10-15 17:15:26 +02:00
parent ad7b3b8f12
commit eba5779fc1

View File

@ -17,6 +17,7 @@
%bcond_without PKCS11
%bcond_without DEVEL
%bcond_with LMDB
%bcond_with JSON
%bcond_with DLZ
%bcond_without EXPORT_LIBS
%if 0%{?fedora} >= 17
@ -52,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: MPLv2.0
Version: 9.11.5
Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
#
@ -183,6 +184,9 @@ BuildRequires: krb5-devel
%if %{with LMDB}
BuildRequires: lmdb-devel
%endif
%if %{with JSON}
BuildRequires: json-c-devel
%endif
# Needed to regenerate dig.1 manpage
BuildRequires: docbook-style-xsl, libxslt
@ -321,6 +325,9 @@ Requires: krb5-devel%{?_isa}
%if %{with LMDB}
Requires: lmdb-devel
%endif
%if %{with JSON}
Requires: json-c-devel%{?_isa}
%endif
%description lite-devel
The bind-lite-devel package contains lite version of the header
@ -595,6 +602,9 @@ export LIBDIR_SUFFIX
%else
--with-lmdb=no \
%endif
%if %{with JSON}
--with-libjson \
%endif
%if %{with UNITTEST}
--with-atf=${ATF_PATH} \
%endif
@ -1446,6 +1456,9 @@ rm -rf ${RPM_BUILD_ROOT}
%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
- Update to 9.11.5