diff --git a/bind.spec b/bind.spec index 149e8c2..46c9a43 100644 --- a/bind.spec +++ b/bind.spec @@ -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 - 32:9.14.4-1 - Update to 9.14.4 +- Add GeoLite2 support * Wed Jan 08 2020 Petr Menšík - 32:9.14.0-1 - Update to 9.14.0, disabled SDB and DLZ