]> 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>
Tue, 2 Jul 2019 19:28:14 +0000 (12:28 -0700)
commit7de12aaa34fd6cce1bf186d3ddae66f23e9744ab
tree3a48214d41cf99e860f74f31e5ef1553b1495135
parentd10137736d17906a1e7c94c581c73831cf2d1086
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.

(cherry picked from commit fea6b5bf101b1fd034a6aaf6c61c688934b07724)
(cherry picked from commit 6a7e80579680244444b9337d05bae38472b9a0c7)
31 files changed:
aclocal.m4
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/rndc/Makefile.in
bin/tests/Makefile.in
bin/tests/optional/Makefile.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
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/samples/Makefile.in
m4/ax_restore_flags.m4 [new file with mode: 0644]
m4/ax_save_flags.m4 [new file with mode: 0644]
make/rules.in
util/copyrights