pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kea: fix sysconfdir and varbase if set by user
Module Name: pkgsrc-wip
Committed By: Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By: nros
Date: Thu Dec 5 17:19:06 2019 +0000
Changeset: acefbc314f6663225c6fbf2b65579366b2146ef2
Modified Files:
kea/Makefile
Log Message:
kea: fix sysconfdir and varbase if set by user
Fix installation of conf files and var files if varbase and sysconfdir
is set by user.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=acefbc314f6663225c6fbf2b65579366b2146ef2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kea/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diffs:
diff --git a/kea/Makefile b/kea/Makefile
index bd071b2270..ba0ecf2f8c 100644
--- a/kea/Makefile
+++ b/kea/Makefile
@@ -15,11 +15,12 @@ USE_LIBTOOL= yes
USE_LANGUAGES= c c++
CONFIGURE_ARGS+=--with-openssl --enable-shell
+CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=--localstatedir=${VARBASE}
PY_PATCHPLIST= yes
RCD_SCRIPTS+= kea
-PKG_SYSCONFSUBDIR=kea
EGDIR= share/examples/kea
KEA_CONF= kea-ctrl-agent.conf
KEA_CONF+= kea-dhcp-ddns.conf
@@ -28,9 +29,10 @@ KEA_CONF+= kea-dhcp6.conf
KEA_CONF+= keactrl.conf
.for cf in ${KEA_CONF}
-CONF_FILES+= ${EGDIR}/${cf} ${PKG_SYSCONFDIR}/${cf}
+CONF_FILES+= ${EGDIR}/${cf} ${PKG_SYSCONFDIR}/kea/${cf}
.endfor
+OWN_DIRS+= ${PKG_SYSCONFDIR}/kea
OWN_DIRS+= ${VARBASE}/run/kea
OWN_DIRS+= ${VARBASE}/lib/kea
OWN_DIRS+= ${VARBASE}/log
Home |
Main Index |
Thread Index |
Old Index