summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-02-07 11:35:41 +0000
committerjlam <jlam@pkgsrc.org>2005-02-07 11:35:41 +0000
commitbccaba8d4be2a3c883336ad53db6de460fdb1750 (patch)
tree3fbd25c3d9c76742dee39e150259e83751db0c93 /security
parent05ce7c6c30f28a62778f19a3d886b7217c4fda06 (diff)
downloadpkgsrc-bccaba8d4be2a3c883336ad53db6de460fdb1750.tar.gz
Instantly deprecate USE_PAM from pkgsrc as its value is being set from
within NetBSD-current's bsd.own.mk, which conflicts with its usage in pkgsrc. The package that use USE_PAM have been converted to use the bsd.options.mk framework. This should fix PR pkg/29257.
Diffstat (limited to 'security')
-rw-r--r--security/cy-login/Makefile10
-rw-r--r--security/openssh+gssapi/Makefile10
2 files changed, 14 insertions, 6 deletions
diff --git a/security/cy-login/Makefile b/security/cy-login/Makefile
index 2c6d2885b49..e7902239233 100644
--- a/security/cy-login/Makefile
+++ b/security/cy-login/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/01/14 05:15:39 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2005/02/07 11:35:47 jlam Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy-login/}
PKGREVISION= 1
@@ -12,9 +12,13 @@ SASL_PLUGIN= YES
#
CONFIGURE_ARGS+= --enable-login # LOGIN
CONFIGURE_ARGS+= --enable-plain # PLAIN
-.if defined(USE_PAM)
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.cy-login
+PKG_SUPPORTED_OPTIONS= PAM
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:MPAM)
. include "../../mk/pam.buildlink3.mk"
-BUILD_DEFS+= USE_PAM
CONFIGURE_ARGS+= --with-pam=${PAMBASE}
.endif
diff --git a/security/openssh+gssapi/Makefile b/security/openssh+gssapi/Makefile
index 305ca52ed63..c6a6956e813 100644
--- a/security/openssh+gssapi/Makefile
+++ b/security/openssh+gssapi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/01/14 05:15:40 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2005/02/07 11:35:47 jlam Exp $
# NOTE: This package is modeled on ../openssh, but does not share
# files with it as that package may update faster than the gssapi
@@ -73,8 +73,12 @@ CPPFLAGS+= -I/usr/include/krb5 -I/usr/include/kerberosIV
# XXX: PAM authentication causes memory faults, and I haven't tracked down
# XXX: why yet. For the moment, disable PAM authentication.
#
-#.if defined(USE_PAM)
-#.include "../../mk/pam.buildlink3.mk"
+#PKG_OPTIONS_VAR= PKG_OPTIONS.openssh+gssapi
+#PKG_SUPPORTED_OPTIONS= PAM
+#.include "../../mk/bsd.options.mk"
+#
+#.if !empty(PKG_OPTIONS:MPAM)
+#. include "../../mk/pam.buildlink3.mk"
#CONFIGURE_ARGS+= --with-pam
#PLIST_SRC+= ${.CURDIR}/PLIST.pam
#MESSAGE_SRC+= ${.CURDIR}/MESSAGE.pam