summaryrefslogtreecommitdiff
path: root/security/PAM
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-14 05:15:39 +0000
committerjlam <jlam@pkgsrc.org>2005-01-14 05:15:39 +0000
commit1b5734f517b624ae847f6133a3f35f4f2f355ed3 (patch)
tree36720cad74f7b206737993c7c57d987ba77a74d6 /security/PAM
parentfbeaab5d63d7daf862e4fc618fbf96316a9d70cd (diff)
downloadpkgsrc-1b5734f517b624ae847f6133a3f35f4f2f355ed3.tar.gz
Create a pam.buildlink3.mk file that is used by PAM-using packages.
It includes the correct buildlink3.mk file from either Linux-PAM (security/PAM) or OpenPAM (security/openpam) and eventually will support solaris-pam. pam.buildlink3.mk will: * set PAMBASE to the base directory of the PAM files; * set PAM_TYPE to the PAM implementation used. There are two variables that can be used to tweak the selection of the PAM implementation: PAM_DEFAULT is a user-settable variable whose value is the default PAM implementation to use. PAM_ACCEPTED is a package-settable list of PAM implementations that may be used by the package. Modify most packages that include PAM/buildlink3.mk to include pam.buildlink3.mk instead.
Diffstat (limited to 'security/PAM')
-rw-r--r--security/PAM/module.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/PAM/module.mk b/security/PAM/module.mk
index 45e1c420f8b..67cd4cef241 100644
--- a/security/PAM/module.mk
+++ b/security/PAM/module.mk
@@ -1,14 +1,14 @@
-# $NetBSD: module.mk,v 1.3 2005/01/14 00:08:46 jlam Exp $
+# $NetBSD: module.mk,v 1.4 2005/01/14 05:15:39 jlam Exp $
.if !defined(PAM_MODULE_MK)
PAM_MODULE_MK= # defined
.if empty(USE_BUILDLINK3:M[nN][oO])
-. include "../../security/PAM/buildlink3.mk"
+. include "../../mk/pam.buildlink3.mk"
.endif
-.if defined(DEFAULT_VIEW.linux-pam)
-DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.linux-pam}
+.if defined(DEFAULT_VIEW.${PAM_TYPE})
+DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.${PAM_TYPE}}
.endif
PAM_MODULEDIR= ${VIEWBASE}/lib/security