pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/PAM First cut at supporting the built-in PAM ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b872f7f4c38
branches: trunk
changeset: 479326:0b872f7f4c38
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Aug 12 10:09:49 2004 +0000
description:
First cut at supporting the built-in PAM on MacOS X. It's not the
same as Linux-PAM, but it's close enough for the purposes of compiling
programs.
diffstat:
security/PAM/builtin.mk | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 4ed5dfa87795 -r 0b872f7f4c38 security/PAM/builtin.mk
--- a/security/PAM/builtin.mk Thu Aug 12 10:07:28 2004 +0000
+++ b/security/PAM/builtin.mk Thu Aug 12 10:09:49 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: builtin.mk,v 1.6 2004/08/06 15:43:09 jlam Exp $
+# $NetBSD: builtin.mk,v 1.7 2004/08/12 10:09:49 jlam Exp $
.include "../../mk/bsd.prefs.mk"
+_PAM_PAM_APPL_H= /usr/include/pam/pam_appl.h
_SECURITY_PAM_APPL_H= /usr/include/security/pam_appl.h
@@ -12,4 +13,22 @@
. endif
.endif # IS_BUILTIN.pam
+.if !defined(USE_BUILTIN.pam)
USE_BUILTIN.pam?= ${IS_BUILTIN.pam}
+. if empty(_PAM_PAM_APPL_H:M${LOCALBASE}/*) && exists(${_PAM_PAM_APPL_H})
+#
+# Treat MacOS X's PAM implementation as Linux-PAM-compatible.
+#
+USE_BUILTIN.pam= yes
+. endif
+.endif
+
+CHECK_BUILTIN.pam?= no
+.if !empty(CHECK_BUILTIN.pam:M[nN][oO])
+
+.if !empty(USE_BUILTIN.pam:M[yY][eE][sS])
+BUILDLINK_TRANSFORM.pam+= -e "s|/include/pam/|/include/security/|"
+BUILDLINK_FILES.pam+= include/pam/*.h
+.endif
+
+.endif # CHECK_BUILTIN.pam
Home |
Main Index |
Thread Index |
Old Index