Annotation of pkgsrc/security/cyrus-saslauthd/options.mk, Revision 1.4
1.4 ! jlam 1: # $NetBSD: options.mk,v 1.3 2004/11/17 19:56:49 xtraeme Exp $
1.1 jlam 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-saslauthd
4: PKG_SUPPORTED_OPTIONS= PAM kerberos ldap gssapi
5: .include "../../mk/bsd.options.mk"
6:
7: ###
8: ### PAM (Pluggable Authentication Mechanism)
9: ###
10: .if !empty(PKG_OPTIONS:MPAM)
11: . include "../../security/PAM/buildlink3.mk"
1.4 ! jlam 12: CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.linux-pam}
1.1 jlam 13: .endif
14:
15: ###
16: ### Authentication against information stored in an LDAP directory
17: ###
18: .if !empty(PKG_OPTIONS:Mldap)
19: . include "../../databases/openldap/buildlink3.mk"
20: . include "../../security/cyrus-sasl2/buildlink3.mk"
21: BUILDLINK_INCDIRS.cyrus-sasl= include/sasl
22: CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
23: PLIST_SUBST+= LDAP=
24: .else
25: PLIST_SUBST+= LDAP="@comment "
26: .endif
27:
28: ###
29: ### Kerberos authentication is via GSSAPI.
30: ###
31: .if !empty(PKG_OPTIONS:Mkerberos)
32: . if empty(PKG_OPTIONS:Mgssapi)
33: PKG_OPTIONS+= gssapi
34: . endif
35: .endif
36:
37: ###
38: ### Authentication via GSSAPI (which supports primarily Kerberos 5)
39: ###
40: .if !empty(PKG_OPTIONS:Mgssapi)
41: . include "../../mk/krb5.buildlink3.mk"
42: CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
43: CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
44: GSSIMPL.heimdal= heimdal
45: GSSIMPL.mit-krb5= mit
46: .endif
CVSweb <webmaster@jp.NetBSD.org>