Enable GeoLite2 support

Make GeoIP support controlled by bcond, defaults to off now.
Instead enable GeoLite2 support.
This commit is contained in:
Petr Menšík 2019-07-24 14:28:06 +02:00
parent eeb7df78d9
commit cc967eb09e
1 changed files with 11 additions and 0 deletions

View File

@ -25,6 +25,10 @@
%bcond_with BDB
# skip DLZ for now
%bcond_with DLZ
# Legacy GeoIP support
%bcond_with GEOIP
# New MaxMind GeoLite support
%bcond_without GEOIP2
# Support for builds without threads removed. DHCP no longer needs it anyway.
%bcond_with EXPORT_LIBS
# Legacy GeoIP support
@ -402,6 +406,12 @@ Requires: json-c-devel%{?_isa}
%if %{with DNSTAP}
Requires: fstrm-devel%{?_isa} protobuf-c-devel%{?_isa}
%endif
%if %{with GEOIP}
Requires: GeoIP-devel%{?_isa}
%endif
%if %{with GEOIP2}
Requires: libmaxminddb-devel%{?_isa}
%endif
%description lite-devel
The bind-lite-devel package contains lite version of the header
@ -1597,6 +1607,7 @@ fi;
%changelog
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.4-1
- Update to 9.14.4
- Add GeoLite2 support
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.0-1
- Update to 9.14.0, disabled SDB and DLZ