diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2015-10-09 14:35:09 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2015-10-09 14:35:09 +0000 |
commit | a7dcb782282fd0c7f687a72b9768806a8768713c (patch) | |
tree | 29a81519a2467f11b1e6f6f410bbf75061b932e1 /security/cyrus-sasl2-saslauthd | |
parent | 14e92b77324e8636741fb535b4b4b350b28c919f (diff) | |
download | ports-a7dcb782282fd0c7f687a72b9768806a8768713c.tar.gz ports-a7dcb782282fd0c7f687a72b9768806a8768713c.zip |
- Use USES=gssapi.
- OPTIONSfy Kerberos.
Notes
Notes:
svn path=/head/; revision=398920
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r-- | security/cyrus-sasl2-saslauthd/Makefile | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile index a3534454f30d..63d2dbf8e7a1 100644 --- a/security/cyrus-sasl2-saslauthd/Makefile +++ b/security/cyrus-sasl2-saslauthd/Makefile @@ -53,6 +53,25 @@ OPENLDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} HTTPFORM_DESC= Enable HTTP form authentication HTTPFORM_CONFIGURE_ENABLE=httpform +OPTIONS_RADIO= KERBEROS +OPTIONS_RADIO_KERBEROS= HEIMDAL MIT +.if exists(/usr/lib/libkrb5.a) +OPTIONS_RADIO_KERBEROS+=BASE +OPTIONS_DEFAULT+= BASE +.endif +BASE_DESC= Use Heimdal in base +BASE_USES= gssapi:base +BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ + --with-gss_impl=heimdal +HEIMDAL_DESC= Use Heimdal from ports +HEIMDAL_USES= gssapi:heimdal,flags +HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ + --with-gss_impl=heimdal +MIT_DESC= Use MIT Kerberos V5 +MIT_USES= gssapi:mit +MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ + --with-gss_impl=mit + .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MBDB} @@ -65,15 +84,8 @@ WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} .endif .endif -.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) -CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} --with-gss_impl=mit -LDFLAGS+= -Wl,-rpath,${KRB5_HOME}/lib -.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a) -CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal -.elif !defined(WITHOUT_GSSAPI) && exists(/usr/lib/libkrb5.a) -CONFIGURE_ARGS+=--enable-gssapi=/usr -CFLAGS+= -nostdinc -I/usr/include -.else +.if !${PORT_OPTIONS:MBASE} && !${PORT_OPTIONS:MHEIMDAL} && \ + !${PORT_OPTIONS:MMIT} CONFIGURE_ARGS+=--disable-gssapi .endif |