Enable GeoLite2 support
Make GeoIP support controlled by bcond, defaults to off now. Instead enable GeoLite2 support.
This commit is contained in:
parent
eeb7df78d9
commit
cc967eb09e
11
bind.spec
11
bind.spec
@ -25,6 +25,10 @@
|
|||||||
%bcond_with BDB
|
%bcond_with BDB
|
||||||
# skip DLZ for now
|
# skip DLZ for now
|
||||||
%bcond_with DLZ
|
%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.
|
# Support for builds without threads removed. DHCP no longer needs it anyway.
|
||||||
%bcond_with EXPORT_LIBS
|
%bcond_with EXPORT_LIBS
|
||||||
# Legacy GeoIP support
|
# Legacy GeoIP support
|
||||||
@ -402,6 +406,12 @@ Requires: json-c-devel%{?_isa}
|
|||||||
%if %{with DNSTAP}
|
%if %{with DNSTAP}
|
||||||
Requires: fstrm-devel%{?_isa} protobuf-c-devel%{?_isa}
|
Requires: fstrm-devel%{?_isa} protobuf-c-devel%{?_isa}
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with GEOIP}
|
||||||
|
Requires: GeoIP-devel%{?_isa}
|
||||||
|
%endif
|
||||||
|
%if %{with GEOIP2}
|
||||||
|
Requires: libmaxminddb-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
|
||||||
@ -1597,6 +1607,7 @@ fi;
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.4-1
|
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.4-1
|
||||||
- Update to 9.14.4
|
- Update to 9.14.4
|
||||||
|
- Add GeoLite2 support
|
||||||
|
|
||||||
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.0-1
|
* Wed Jan 08 2020 Petr Menšík <pemensik@redhat.com> - 32:9.14.0-1
|
||||||
- Update to 9.14.0, disabled SDB and DLZ
|
- Update to 9.14.0, disabled SDB and DLZ
|
||||||
|
Loading…
Reference in New Issue
Block a user