bind9/lib/ns/tests
Evan Hunt 6a7e805796 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 fea6b5bf10)
2019-06-27 16:25:28 -07:00
..
testdata Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
Kyuafile Add ns_plugin_expandpath() 2019-03-05 16:52:49 -08:00
listenlist_test.c set up hooks.c to enable setting hook points and loading modules 2018-12-06 10:29:05 -08:00
Makefile.in add a search for GeoIP2 libraries in configure 2019-06-27 16:25:28 -07:00
notify_test.c set up hooks.c to enable setting hook points and loading modules 2018-12-06 10:29:05 -08:00
nstest.c make hook actions return an enum instead of a bool 2018-12-06 10:36:50 -08:00
nstest.h make hook actions return an enum instead of a bool 2018-12-06 10:36:50 -08:00
plugin_test.c add noreturn attribute 2019-03-08 12:13:18 +11:00
query_test.c copy ns_hook objects before adding them to a hook table 2018-12-06 10:29:12 -08:00