From 1b5734f517b624ae847f6133a3f35f4f2f355ed3 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 14 Jan 2005 05:15:39 +0000 Subject: 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. --- security/openssh/options.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/openssh') diff --git a/security/openssh/options.mk b/security/openssh/options.mk index c03569c661f..3d39929061d 100644 --- a/security/openssh/options.mk +++ b/security/openssh/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2004/12/22 21:46:25 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2005/01/14 05:15:40 jlam Exp $ .include "../../mk/bsd.prefs.mk" @@ -25,7 +25,7 @@ PATCH_DIST_STRIP= -p1 .if !empty(PKG_OPTIONS:MPAM) # XXX: PAM authentication causes memory faults, and haven't tracked down # XXX: why yet. For the moment, disable PAM authentication for non-Linux. -.include "../../security/PAM/buildlink3.mk" +.include "../../mk/pam.buildlink3.mk" CONFIGURE_ARGS+= --with-pam PLIST_SRC+= ${.CURDIR}/PLIST.pam MESSAGE_SRC+= ${.CURDIR}/MESSAGE.pam -- cgit v1.2.3