diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/cy-login/Makefile | 10 | ||||
-rw-r--r-- | security/openssh+gssapi/Makefile | 10 |
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 |