]> git.ipfire.org Git - thirdparty/bind9.git/commit
add a search for GeoIP2 libraries in configure
authorEvan Hunt <each@isc.org>
Tue, 11 Jun 2019 22:59:31 +0000 (15:59 -0700)
committerEvan Hunt <each@isc.org>
Thu, 27 Jun 2019 21:58:13 +0000 (14:58 -0700)
commitfea6b5bf101b1fd034a6aaf6c61c688934b07724
treea02d839d9dfc552b9ebdbf9664da9bb060eaace8
parentcc1292d694e468beddf8e483c7e1a74ce607a735
add a search for GeoIP2 libraries in configure

- "--with-geoip" is used to enable the legacy GeoIP library.
- "--with-geoip2" is used to enable the new GeoIP2 library
  (libmaxminddb), and is on by default if the library is found.
- using both "--with-geoip" and "--with-geoip2" at the same time
  is an error.
- an attempt is made to determine the default GeoIP2 database path at
  compile time if pkg-config is able to report the module prefix. if
  this fails, it will be necessary to set the path in named.conf with
  geoip-directory
- Makefiles have been updated, and a stub lib/dns/geoip2.c has been
  added for the eventual GeoIP2 search implementation.
33 files changed:
bin/check/Makefile.in
bin/confgen/Makefile.in
bin/delv/Makefile.in
bin/dig/Makefile.in
bin/dnssec/Makefile.in
bin/named/Makefile.in
bin/named/config.c
bin/nsupdate/Makefile.in
bin/plugins/Makefile.in
bin/rndc/Makefile.in
bin/tests/Makefile.in
bin/tests/optional/Makefile.in
bin/tests/system/conf.sh.in
bin/tests/system/pipelined/Makefile.in
bin/tests/system/rsabigexponent/Makefile.in
bin/tests/system/tkey/Makefile.in
bin/tools/Makefile.in
config.h.in
configure
configure.ac
fuzz/Makefile.in
lib/bind9/Makefile.in
lib/dns/Makefile.in
lib/dns/geoip2.c [new file with mode: 0644]
lib/dns/tests/Makefile.in
lib/irs/tests/Makefile.in
lib/isccfg/Makefile.in
lib/isccfg/tests/Makefile.in
lib/ns/Makefile.in
lib/ns/tests/Makefile.in
lib/samples/Makefile.in
make/rules.in
util/copyrights