Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2010 13:19:14 GMT
From:      Pascal Vizeli <pvizeli@yahoo.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152921: [patch] Add dovecot2 to postfix
Message-ID:  <201012081319.oB8DJEVD048266@red.freebsd.org>
Resent-Message-ID: <201012081320.oB8DK78c064481@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152921
>Category:       ports
>Synopsis:       [patch] Add dovecot2 to postfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 08 13:20:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pascal Vizeli
>Release:        8.1
>Organization:
>Environment:
FreeBSD iris.syshack.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Wed Dec  1 22:07:01 CET 2010     pvizeli@iris.syshack.org:/usr/obj/usr/src/sys/VMWARE  amd64

>Description:
Add dovecot2 support to postfix
>How-To-Repeat:

>Fix:
--- /tmp/Makefile       2010-12-08 13:58:23.000000000 +0100
+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/mail/postfix/Makefile 2010-12-08 14:00:17.000000000 +0100
@@ -42,6 +42,8 @@
 OPTIONS=       PCRE            "Perl Compatible Regular Expressions"          on \
                SASL2           "Cyrus SASLv2 (Simple Auth. and Sec. Layer)"   ${STATUS_SASL2} \
                DOVECOT         "Dovecot SASL authentication method"           off \
+               DOVECOT2        "Dovecot2 SASL authentication method"          off \
+               SASLKRB5        "If your SASL req. Kerberos5 select this option"${STATUS_SASLKRB5} \
                SASLKRB5        "If your SASL req. Kerberos5 select this option"${STATUS_SASLKRB5} \
                SASLKMIT        "If your SASL req. MIT Kerberos5 select this option"    ${STATUS_SASLKRB5MIT} \
                TLS             "Enable SSL and TLS support"                   ${STATUS_TLS} \
@@ -128,6 +130,12 @@
 _REQUIRE+=             dovecot
 .endif

+.if defined(WITH_DOVECOT2)
+RUN_DEPENDS+=          dovecot:${PORTSDIR}/mail/dovecot2
+POSTFIX_CCARGS+=       -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"
+_REQUIRE+=             dovecot2
+.endif
+
 .if defined(WITH_SASLKRB5)
 .if defined(WITH_SASLKMIT)
 BROKEN=                        Select only one SASL Kerberos option


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012081319.oB8DJEVD048266>