logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 047766ac84c936de289f18232c283bf1bfa36869
parent 1f607ba8cb9a8b45427af6d083b02a64b329514d
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 27 Mar 2020 16:44:25 +0100

Change GEOIP2DIR default value to "${CMAKE_INSTALL_PREFIX}/share/dbip".

Diffstat:
MCMakeLists.txt | 2+-
MREADME.md | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -65,7 +65,7 @@ if(NOT HAVE_STRTONUM) set (SRC ${SRC} compat/strtonum.c) endif() -set(GEOIP2DIR ${CMAKE_INSTALL_PREFIX}/share/GeoIP2 +set(GEOIP2DIR ${CMAKE_INSTALL_PREFIX}/share/dbip CACHE PATH "Path to GeoIP2 databases") set(GEOIP2DB "dbip-country-lite.mmdb" CACHE PATH "GeoIP2 database file") diff --git a/README.md b/README.md @@ -106,8 +106,8 @@ Packages are available for the following operating systems: ### GeoIP2 databases -Logswan looks for GeoIP2 databases in `${CMAKE_INSTALL_PREFIX}/share/GeoIP2` by -default, which points to `/usr/local/share/GeoIP2`. +Logswan looks for GeoIP2 databases in `${CMAKE_INSTALL_PREFIX}/share/dbip` by +default, which points to `/usr/local/share/dbip`. A custom directory can be set using the `GEOIP2DIR` variable when invoking CMake: