pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33115: update to mail/postfix-current for SASL via Dovecot



>Number:         33115
>Category:       pkg
>Synopsis:       update to mail/postfix-current for SASL via Dovecot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 21 11:40:01 +0000 2006
>Originator:     Brad Volz
>Release:        2.0_BETA
>Organization:
>Environment:
System: NetBSD mx1.affectation.org 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Mon 
Apr 19 16:43:09 PDT 2004 
bradv%mx1.affectation.org@localhost:/usr/NetBSD/obj/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        This update allows for the use of Dovecot's [mail/dovecot] 
authentication
        framework to determine if a client can relay through Postfix after 
        successful SMTP AUTH.  Here is a pointer to the Postfix documentation
        on this particular feature:  http://www.postfix.org/SASL_README.html
>How-To-Repeat:
>Fix:
bradv:mx1:$ cvs diff -u options.mk
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/postfix-current/options.mk,v
retrieving revision 1.12
diff -u -r1.12 options.mk
--- options.mk  10 Jan 2006 06:39:00 -0000      1.12
+++ options.mk  21 Mar 2006 10:51:45 -0000
@@ -3,7 +3,9 @@
 # Global and legacy options
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.postfix
-PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls
+PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl-dovecot sasl tls
+PKG_OPTIONS_OPTIONAL_GROUPS= sasl
+PKG_OPTIONS_GROUP.sasl= sasl-dovecot sasl
 .include "../../mk/bsd.options.mk"
 
 ###
@@ -81,6 +83,13 @@
 .endif
 
 ###
+### SASL support for SMTP authentication - Dovecot version.
+###
+.if !empty(PKG_OPTIONS:Msasl-dovecot)
+CCARGS+=        -DUSE_SASL_AUTH -DDEF_SASL_SERVER=\"dovecot\"
+.endif
+
+###
 ### SASL support for SMTP authentication.
 ###
 .if !empty(PKG_OPTIONS:Msasl)





Home | Main Index | Thread Index | Old Index