diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2007-04-14 16:45:08 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2007-04-14 16:45:08 +0000 |
commit | 0c43565a879ef67b8a7c54ec3dec8f0df8f0fd9d (patch) | |
tree | fa466d5478813bd88c0c1aa23c6f4030c4464c87 /mail/postfix28 | |
parent | An attempt to fix build on sparc64. (diff) |
- Remove SASL1 support. security/cyrus-sasl will be removed soon.
PR: 111564, 111565, 111566
Submitted by: gabor (partially)
Notified by: gabor
Notes
Notes:
svn path=/head/; revision=189958
Diffstat (limited to 'mail/postfix28')
-rw-r--r-- | mail/postfix28/Makefile | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile index 0bd2cf01c268..4b344d2e7ccb 100644 --- a/mail/postfix28/Makefile +++ b/mail/postfix28/Makefile @@ -32,7 +32,7 @@ USE_RC_SUBR= postfix.sh # back compat pull in settings from POSTFIX_OPTIONS for convenience when # make config is run (happens first time port is built, too) -.for o in SASL SASL2 SASLKRB SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test +.for o in SASL2 SASLKRB SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test STATUS_${o}=off .endfor .if defined(POSTFIX_OPTIONS) @@ -42,7 +42,6 @@ STATUS_${o}=on .endif OPTIONS= PCRE "Perl Compatible Regular Expressions" on \ - SASL "Cyrus SASLv1 (Simple Auth. and Sec. Layer)" ${STATUS_SASL} \ SASL2 "Cyrus SASLv2 (Simple Auth. and Sec. Layer)" ${STATUS_SASL2} \ DOVECOT "Dovecot SASL authentication method" off \ SASLKRB "If your SASL req. Kerberos select this option" ${STATUS_SASLKRB} \ @@ -104,17 +103,8 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre POSTFIX_CCARGS+= -DNO_PCRE .endif -.if defined(WITH_SASL) -.if defined(WITH_SASL2) || defined(WITH_DOVECOT) -BROKEN= Select only one SASL authentication method -.endif -LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl -POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl1 -POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lsasl -lpam -lcrypt -.endif - .if defined(WITH_SASL2) -.if defined(WITH_SASL) || defined(WITH_DOVECOT) +.if defined(WITH_DOVECOT) BROKEN= Select only one SASL authentication method .endif LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 @@ -123,7 +113,7 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lsasl2 -lpam -lcrypt .endif .if defined(WITH_DOVECOT) -.if defined(WITH_SASL) || defined(WITH_SASL2) +.if defined(WITH_SASL2) BROKEN= Select only one SASL authentication method .endif RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot @@ -237,17 +227,6 @@ pre-patch: @sleep 10 .endif -.if defined(WITH_SASL) && !defined(WITH_MYSQL) && exists(${LOCALBASE}/lib/libsasl.a) - @if /usr/bin/nm ${LOCALBASE}/lib/libsasl.a | ${GREP} -wq "mysql_init"; then \ - ${ECHO_MSG}; \ - ${ECHO_MSG} "Your SASL library it's compiled with MYSQL"; \ - ${ECHO_MSG} "If you use MYSQL in ${PORTNAME} consider CTRL+C and"; \ - ${ECHO_MSG} "select MYSQL OPTION in config menu."; \ - ${ECHO_MSG} "# make clean config"; \ - ${ECHO_MSG}; \ - sleep 5; \ - fi -.endif .if defined(WITH_SASL2) && !defined(WITH_MYSQL) && exists(${LOCALBASE}/lib/libsasl2.a) @if /usr/bin/nm ${LOCALBASE}/lib/libsasl2.a | ${GREP} -wq "mysql_init"; then \ ${ECHO_MSG}; \ |