From: Francis Dupont Date: Mon, 17 Jun 2019 13:47:32 +0000 (+0200) Subject: [538-kea-should-not-store-anything-in-var-kea-lsb-violation] Explained DATA_DIR usage... X-Git-Tag: Kea-1.6.0-beta2~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928b9ae57452aae1dff92ad689ba180fa975381c;p=thirdparty%2Fkea.git [538-kea-should-not-store-anything-in-var-kea-lsb-violation] Explained DATA_DIR usages (*plural*) --- diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am index 0db7d30fc3..486dd7eff2 100644 --- a/src/lib/dhcpsrv/Makefile.am +++ b/src/lib/dhcpsrv/Makefile.am @@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = subdir-objects SUBDIRS = . testutils tests benchmarks +# DATA_DIR is the directory where to put default CSV files and the DHCPv6 +# server ID file (i.e. the file where the server finds its DUID at startup). dhcp_data_dir = @localstatedir@/lib/@PACKAGE@ kea_lfc_location = @prefix@/sbin/kea-lfc diff --git a/src/lib/process/Makefile.am b/src/lib/process/Makefile.am index 29b3868032..9e8f66f147 100644 --- a/src/lib/process/Makefile.am +++ b/src/lib/process/Makefile.am @@ -1,4 +1,5 @@ SUBDIRS = . testutils tests +# DATA_DIR is the directory where to put PID files. dhcp_data_dir = @runstatedir@/@PACKAGE@ AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib AM_CPPFLAGS += -DDATA_DIR="\"$(dhcp_data_dir)\""