summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-31 20:42:08 +0000
committerjlam <jlam>2002-01-31 20:42:08 +0000
commiteaa5edbaacb6910031fa3fe919dba42b28f70c9f (patch)
treec03f694e2723072187f7292538cbe9d70a3844be /security/cyrus-sasl/Makefile
parentc0c4014364207dd2c90a0cef5a2587b63f18d8f4 (diff)
downloadpkgsrc-eaa5edbaacb6910031fa3fe919dba42b28f70c9f.tar.gz
* Create the link /usr/lib/sasl -> ${PREFIX}/lib/sasl as it's where SASL-
aware applications look for authentication mechanisms by default. * Warn package admin if ${PREFIX}/lib/sasl is non-empty after deinstallation, as it may contain service config files. * Purge use of PKGDIR.
Diffstat (limited to 'security/cyrus-sasl/Makefile')
-rw-r--r--security/cyrus-sasl/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 2c1529f0666..3252441a305 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2002/01/31 19:52:02 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2002/01/31 20:42:09 jlam Exp $
DISTNAME= cyrus-sasl-1.5.27
SVR4_PKGNAME= csasl
@@ -33,7 +33,7 @@ FILES_SUBST+= PWCHECKDIR=${PWCHECKDIR}
BUILD_DEFS+= CYRUS_USER CYRUS_GROUP
-PLIST_SRC= ${PKGDIR}/PLIST.common
+PLIST_SRC= ${.CURDIR}/PLIST.common
CONFIGURE_ARGS+= --with-pwcheck=${PWCHECKDIR}
CONFIGURE_ARGS+= --with-dblib=ndbm
@@ -55,12 +55,12 @@ CONFIGURE_ARGS+= --disable-krb4 # --- no KERBEROS_V4
.if defined(SASL_USE_GSSAPI) && ${SASL_USE_GSSAPI} == "YES"
CONFIGURE_ARGS+= --enable-gssapi=/usr # GSSAPI
-PLIST_SRC+= ${PKGDIR}/PLIST.krb5
+PLIST_SRC+= ${.CURDIR}/PLIST.krb5
.else
CONFIGURE_ARGS+= --disable-gssapi # --- no GSSAPI
.endif
-PLIST_SRC+= ${PKGDIR}/PLIST.plugins
+PLIST_SRC+= ${.CURDIR}/PLIST.plugins
.if defined(USE_PAM)
.include "../../security/PAM/buildlink.mk"
@@ -71,9 +71,11 @@ CONFIGURE_ARGS+= --with-pam=${PREFIX}
PKG_GROUPS= ${CYRUS_GROUP}
PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH}
RCD_SCRIPTS= sasl_pwcheck
+OWN_DIRS= ${PREFIX}/lib/sasl
OWN_DIRS_PERMS= ${PWCHECKDIR} ${CYRUS_USER} ${ROOT_GROUP} 0700
-DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
+DEINSTALL_EXTRA_TMPL= ${.CURDIR}/DEINSTALL
+INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
post-extract:
cd ${WRKSRC}; ${RM} -f include/md5.h