ports/79777: Update port: mail/postfix-current to 2.3-20050404
Marcus Grando
marcus at corp.grupos.com.br
Mon Apr 11 03:30:27 UTC 2005
>Number: 79777
>Category: ports
>Synopsis: Update port: mail/postfix-current to 2.3-20050404
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 11 03:30:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #47: Thu Apr 7 19:39:31 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: mail/postfix-current to 2.3-20050404
- Update to 2.3-20050404
- Fix compile with old gcc (FreeBSD 4.x)
Add files:
files/patch-src::lmtp::lmtp_sasl_glue.c
files/patch-src::smtp::smtp_sasl_glue.c
>How-To-Repeat:
>Fix:
--- postfix-current.patch begins here ---
diff -ruN postfix-current.orig/Makefile postfix-current/Makefile
--- postfix-current.orig/Makefile Tue Apr 5 12:36:32 2005
+++ postfix-current/Makefile Sun Apr 10 22:57:18 2005
@@ -32,7 +32,7 @@
MAINTAINER= marcus at corp.grupos.com.br
COMMENT= A secure alternative to widely-used Sendmail
-PORTVERSIONRAW= 2.3-20050401
+PORTVERSIONRAW= 2.3-20050404
CONFLICTS= courier-0.* postfix-1.* postfix-2.0.* postfix-2.1.* postfix-2.2.* \
sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*
diff -ruN postfix-current.orig/distinfo postfix-current/distinfo
--- postfix-current.orig/distinfo Tue Apr 5 12:36:32 2005
+++ postfix-current/distinfo Sun Apr 10 22:57:56 2005
@@ -1,2 +1,2 @@
-MD5 (postfix/postfix-2.3-20050401.tar.gz) = b0760635e7e767e67c0ee39056819388
-SIZE (postfix/postfix-2.3-20050401.tar.gz) = 2442891
+MD5 (postfix/postfix-2.3-20050404.tar.gz) = ed014027f63626bffe5dd7dd3a4e187b
+SIZE (postfix/postfix-2.3-20050404.tar.gz) = 2442512
diff -ruN postfix-current.orig/files/patch-src::lmtp::lmtp_sasl_glue.c postfix-current/files/patch-src::lmtp::lmtp_sasl_glue.c
--- postfix-current.orig/files/patch-src::lmtp::lmtp_sasl_glue.c Wed Dec 31 21:00:00 1969
+++ postfix-current/files/patch-src::lmtp::lmtp_sasl_glue.c Mon Apr 11 00:10:04 2005
@@ -0,0 +1,32 @@
+--- src/lmtp/lmtp_sasl_glue.c.orig Mon Apr 11 00:08:53 2005
++++ src/lmtp/lmtp_sasl_glue.c Mon Apr 11 00:09:03 2005
+@@ -292,6 +292,14 @@
+
+ void lmtp_sasl_initialize(void)
+ {
++ /*
++ * Global callbacks. These have no per-session context.
++ */
++ static sasl_callback_t callbacks[] = {
++ {SASL_CB_LOG, &lmtp_sasl_log, 0},
++ {SASL_CB_LIST_END, 0, 0}
++ };
++
+ #if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR >= 2 \
+ || (SASL_VERSION_MINOR == 1 && SASL_VERSION_STEP >= 19))
+ int sasl_major;
+@@ -313,14 +321,6 @@
+ SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP,
+ sasl_major, sasl_minor, sasl_step);
+ #endif
+-
+- /*
+- * Global callbacks. These have no per-session context.
+- */
+- static sasl_callback_t callbacks[] = {
+- {SASL_CB_LOG, &lmtp_sasl_log, 0},
+- {SASL_CB_LIST_END, 0, 0}
+- };
+
+ /*
+ * Sanity check.
diff -ruN postfix-current.orig/files/patch-src::smtp::smtp_sasl_glue.c postfix-current/files/patch-src::smtp::smtp_sasl_glue.c
--- postfix-current.orig/files/patch-src::smtp::smtp_sasl_glue.c Wed Dec 31 21:00:00 1969
+++ postfix-current/files/patch-src::smtp::smtp_sasl_glue.c Mon Apr 11 00:10:23 2005
@@ -0,0 +1,32 @@
+--- src/smtp/smtp_sasl_glue.c.orig Mon Apr 11 00:09:17 2005
++++ src/smtp/smtp_sasl_glue.c Mon Apr 11 00:09:30 2005
+@@ -321,6 +321,14 @@
+
+ void smtp_sasl_initialize(void)
+ {
++ /*
++ * Global callbacks. These have no per-session context.
++ */
++ static sasl_callback_t callbacks[] = {
++ {SASL_CB_LOG, &smtp_sasl_log, 0},
++ {SASL_CB_LIST_END, 0, 0}
++ };
++
+ #if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR >= 2 \
+ || (SASL_VERSION_MINOR == 1 && SASL_VERSION_STEP >= 19))
+ int sasl_major;
+@@ -342,14 +350,6 @@
+ SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP,
+ sasl_major, sasl_minor, sasl_step);
+ #endif
+-
+- /*
+- * Global callbacks. These have no per-session context.
+- */
+- static sasl_callback_t callbacks[] = {
+- {SASL_CB_LOG, &smtp_sasl_log, 0},
+- {SASL_CB_LIST_END, 0, 0}
+- };
+
+ /*
+ * Sanity check.
--- postfix-current.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list