diff options
author | ghen <ghen> | 2008-01-16 14:21:39 +0000 |
---|---|---|
committer | ghen <ghen> | 2008-01-16 14:21:39 +0000 |
commit | ad0f4fc8b3bb1cfedfd2d6fab0bbc47bd707b2a2 (patch) | |
tree | bd45034bf924bf064dea6c782553b9659f9efbd5 /mail/postfix-current | |
parent | dd887f3f2441cc69e9a5eb4eec3c05f971dc72de (diff) | |
download | pkgsrc-ad0f4fc8b3bb1cfedfd2d6fab0bbc47bd707b2a2.tar.gz |
Drop the "dovecot-sasl" option and instead enable dovecot SASL support by
default (this doesn't actually depend on Dovecot for building, the code is
shipped with Postfix).
Set the default value for smtpd_sasl_type to "dovecot" unless cyrus SASL is
enabled, too. This ensures backwards compatibility for most cases.
Ok with martti, joerg.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/Makefile | 4 | ||||
-rw-r--r-- | mail/postfix-current/options.mk | 17 |
2 files changed, 7 insertions, 14 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index cfa79299a58..823b7fc21b9 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.87 2007/10/30 19:31:40 martti Exp $ +# $NetBSD: Makefile,v 1.88 2008/01/16 14:21:44 ghen Exp $ DISTNAME= postfix-2.5-20071006 #PKGREVISION= 1 @@ -30,7 +30,7 @@ BUILD_DEFS+= VARBASE POSTFIX_QUEUE_DIR # CCARGS is a list of options to pass to the preprocessor/compiler. # AUXLIBS is a list of options to pass to the linker. # -CCARGS= # empty +CCARGS= -DUSE_SASL_AUTH AUXLIBS= ${LDFLAGS} FIX_RPATH+= AUXLIBS diff --git a/mail/postfix-current/options.mk b/mail/postfix-current/options.mk index fda06dada81..c629577b77e 100644 --- a/mail/postfix-current/options.mk +++ b/mail/postfix-current/options.mk @@ -1,9 +1,9 @@ -# $NetBSD: options.mk,v 1.16 2007/04/29 19:27:36 tron Exp $ +# $NetBSD: options.mk,v 1.17 2008/01/16 14:21:48 ghen Exp $ # Global and legacy options PKG_OPTIONS_VAR= PKG_OPTIONS.postfix -PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls dovecot-sasl +PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls PKG_SUGGESTED_OPTIONS= tls .include "../../mk/bsd.options.mk" @@ -83,7 +83,8 @@ AUXLIBS+= -L${PGSQL_PREFIX}/lib -lpq \ .endif ### -### SASL support for SMTP authentication. +### Cyrus SASL support for SMTP authentication. +### (Dovcot SASL support is built in by default.) ### .if !empty(PKG_OPTIONS:Msasl) . include "../../security/cyrus-sasl/buildlink3.mk" @@ -100,13 +101,5 @@ MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} MESSAGE_SUBST+= SASLLIBDIR=${SASLLIBDIR} .else PLIST_SUBST+= SASL="@comment " -.endif - -### -### SASL support for SMTP authentication (via Dovecot). -### -.if !empty(PKG_OPTIONS:Mdovecot-sasl) -DEPENDS+= dovecot-[0-9]*:../../mail/dovecot - -CCARGS+= -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" +CCARGS+= -DDEF_SERVER_SASL_TYPE=\"dovecot\" .endif |