diff options
author | ume <ume@FreeBSD.org> | 2004-08-30 15:25:10 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-08-30 15:25:10 +0000 |
commit | 42ddceb69438aae4cd766c64bc611030586e9fd2 (patch) | |
tree | d6d839157f53153b8a409e135c2d5b57dcbbbf0f /mail/cyrus-imapd24 | |
parent | e5f374e774d246102b03c17cccf4ad3d8e9701fc (diff) | |
download | FreeBSD-ports-42ddceb69438aae4cd766c64bc611030586e9fd2.zip FreeBSD-ports-42ddceb69438aae4cd766c64bc611030586e9fd2.tar.gz |
add AUTH_KRB5 option to use Kerberos5 authorization module.
Requested by: Volodymyr Kostyrko <arcade@ints.net>
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index d20a1da..28b3590 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -38,28 +38,29 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL5} +OPTIONS= AUTH_KRB5 "Use Kerberos5 authorization module" off .if defined(WITH_BDB_VER) USE_BDB_VER= ${WITH_BDB_VER} .else USE_BDB_VER= 3 .endif .if ${USE_BDB_VER} == 3 -OPTIONS= BDB_3 "Use BerkeleyDB v3" on \ +OPTIONS+= BDB_3 "Use BerkeleyDB v3" on \ BDB_4 "Use BerkeleyDB v4" off \ BDB_41 "Use BerkeleyDB v4.1" off \ BDB_42 "Use BerkeleyDB v4.2" off .elif ${USE_BDB_VER} == 4 -OPTIONS= BDB_3 "Use BerkeleyDB v3" off \ +OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \ BDB_4 "Use BerkeleyDB v4" on \ BDB_41 "Use BerkeleyDB v4.1" off \ BDB_42 "Use BerkeleyDB v4.2" off .elif ${USE_BDB_VER} == 41 -OPTIONS= BDB_3 "Use BerkeleyDB v3" off \ +OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \ BDB_4 "Use BerkeleyDB v4" off \ BDB_41 "Use BerkeleyDB v4.1" on \ BDB_42 "Use BerkeleyDB v4.2" off .elif ${USE_BDB_VER} == 42 -OPTIONS= BDB_3 "Use BerkeleyDB v3" off \ +OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \ BDB_4 "Use BerkeleyDB v4" off \ BDB_41 "Use BerkeleyDB v4.1" off \ BDB_42 "Use BerkeleyDB v4.2" on @@ -182,10 +183,16 @@ CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} CONFIGURE_ARGS+=--with-snmp=no .endif +.if defined(WITH_AUTH_KRB5) && defined(WITH_LDAP_PTLOADER) +BROKEN= "AUTH_KRB5 and LDAP_PTLOADER are exclusive. Run 'make config' again!" +.endif .if defined(WITH_LDAP_PTLOADER) USE_OPENLDAP= yes CONFIGURE_ARGS+=--with-auth=pts --with-pts=ldap --with-ldap=${LOCALBASE} PLIST_SUB+= LDAP_PTLOADER="" +.elif defined(WITH_AUTH_KRB5) +CONFIGURE_ARGS+=--with-auth=krb5 +PLIST_SUB+= LDAP_PTLOADER="@comment " .else CONFIGURE_ARGS+=--with-auth=unix PLIST_SUB+= LDAP_PTLOADER="@comment " |