summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-25 18:59:45 +0000
committerjlam <jlam@pkgsrc.org>2001-11-25 18:59:45 +0000
commitffceca11a9acb11623d00829c993ca1022b4d164 (patch)
tree78f3dfe5e355bfe3bf2e730202f3d29cb7da98d5 /security
parentcfd5b704a70497d2c14d5e85256db8adea34f050 (diff)
downloadpkgsrc-ffceca11a9acb11623d00829c993ca1022b4d164.tar.gz
PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl/Makefile4
-rw-r--r--security/pks/Makefile4
-rw-r--r--security/sudo/Makefile6
3 files changed, 7 insertions, 7 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index aa88f9094e3..4ce2be0e963 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2001/11/21 22:22:10 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2001/11/25 18:59:47 jlam Exp $
DISTNAME= cyrus-sasl-1.5.24
PKGNAME= ${DISTNAME}nb3
@@ -38,7 +38,7 @@ PLIST_SRC= ${PKGDIR}/PLIST.common
CONFIGURE_ARGS+= --with-pwcheck=${PWCHECKDIR}
CONFIGURE_ARGS+= --with-dblib=ndbm
-CONFIGURE_ARGS+= --with-dbpath=${CONFDIR}/sasldb
+CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb
CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/sasl
CONFIGURE_ARGS+= --with-rc4=${BUILDLINK_DIR}
diff --git a/security/pks/Makefile b/security/pks/Makefile
index 12ef1627b38..f2669bc5119 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/11/21 15:44:23 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/11/25 18:59:47 jlam Exp $
DISTNAME= pks-0.9.4
CATEGORIES= security www
@@ -27,7 +27,7 @@ CONFIGURE_ARGS+= --localstatedir=/var/pks
CONFIGURE_ARGS+= --sysconfdir=${EGDIR}
EGDIR= ${PREFIX}/share/examples
-CONF_FILES= ${EGDIR}/pksd.conf ${CONFDIR}/pksd.conf
+CONF_FILES= ${EGDIR}/pksd.conf ${PKG_SYSCONFDIR}/pksd.conf
RCD_SCRIPTS= pksd
OWN_DIRS= /var/pks /var/pks/db /var/pks/incoming
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index ab035440e6f..c22128e783b 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2001/11/19 17:27:23 jlam Exp $
+# $NetBSD: Makefile,v 1.40 2001/11/25 18:59:47 jlam Exp $
#
DISTNAME= sudo-1.6.3p7
@@ -18,7 +18,7 @@ GNU_CONFIGURE= # defined
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ARGS+= --sysconfdir=${CONFDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-skey
@@ -40,7 +40,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES_PERMS= ${EGDIR}/sudoers ${CONFDIR}/sudoers 0 0 0440
+CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers 0 0 0440
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}