Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 04:08:44 GMT
From:      Sahil Tandon <sahil@tandon.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/135273: [MAINTAINER-UPDATE] mail/postfix: 2.6.1 to 2.6.2
Message-ID:  <200906050408.n5548ivg010720@www.freebsd.org>
Resent-Message-ID: <200906050410.n554A2VH019429@freefall.freebsd.org>

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

>Number:         135273
>Category:       misc
>Synopsis:       [MAINTAINER-UPDATE] mail/postfix: 2.6.1 to 2.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 05 04:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD internal.hamla.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
>Description:
Postfix stable release 2.6.2 fixes one defect in SASL support:

With plaintext SMTP sessions AND smtpd_tls_auth_only=yes AND
smtp_sasl_auth_enable=yes, the SMTP server logged warnings for
reject_*_sender_login_mismatch, instead of enforcing them.

 I also took this opportunity to roll back the default alias_database and alias_maps paths to /etc/aliases (instead of /etc/mail/aliases) -- the change to the latter was introduced in the "refactoring" patch (ports/ports/134728) and is incompatible with older versions of mail/postfix on FreeBSD and inconsistent with how the software is designed to work upstream.

Finally, we IGNORE= when WITH_VDA is set until the VDA folks release a patch that definitely works with 2.6.2.  Although I suspect the 2.6.1 patch would work, I think it's better form to let the VDA folks update their patch.
>How-To-Repeat:

>Fix:
Apply attached CVS patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/postfix/Makefile,v
retrieving revision 1.146
diff -u -r1.146 Makefile
--- Makefile	4 Jun 2009 07:45:27 -0000	1.146
+++ Makefile	5 Jun 2009 03:51:28 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	postfix
-PORTVERSION=	2.6.1
-PORTREVISION=	1
+PORTVERSION=	2.6.2
 PORTEPOCH=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@@ -99,7 +98,6 @@
 			-DDEF_DATA_DIR=\\\"/var/db/postfix\\\" \
 			-DDEF_MAIL_OWNER=\\\"postfix\\\" \
 			-DDEF_SGID_GROUP=\\\"maildrop\\\" \
-			-DALIAS_DB_MAP=\\\"hash:/etc/mail/aliases\\\"
 
 # Default requirement for postfix rc script
 _REQUIRE=		LOGIN cleanvar
@@ -194,6 +192,7 @@
 .endif
 
 .if defined(WITH_VDA)
+IGNORE=			wait for a new VDA patch that works with ${PORTVERSION}
 PATCH_SITES+=		http://vda.sourceforge.net/VDA/
 PATCHFILES+=		postfix-${PORTVERSION}-vda-ng.patch.gz
 PATCH_DIST_STRIP=	-p1
@@ -232,7 +231,6 @@
 		s!^(manpage_directory =)!\1 ${PREFIX}/man!g;\
 		s!^((html|readme)_directory =)!\1 ${READMEDIR}!g;\
 		\!^\#alias_database = dbm:/etc/mail/aliases$$!d;\
-		s!/etc/aliases!/etc/mail/aliases!g;\
 		s!(:|= )/etc/postfix!\1$$config_directory!g;\
 		s!/etc/postfix!${ETCDIR}!g;\
 		s!^(sample_directory =)!\1 ${ETCDIR}!g;\
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/postfix/distinfo,v
retrieving revision 1.100
diff -u -r1.100 distinfo
--- distinfo	26 May 2009 13:36:08 -0000	1.100
+++ distinfo	5 Jun 2009 03:51:28 -0000
@@ -1,6 +1,3 @@
-MD5 (postfix/postfix-2.6.1.tar.gz) = 737bbc245da9c72c174893397f70ae86
-SHA256 (postfix/postfix-2.6.1.tar.gz) = ccad7fb855e31c57f3551244b76be5906fcdcde09d5a6ccd144ae144e1df203c
-SIZE (postfix/postfix-2.6.1.tar.gz) = 3324194
-MD5 (postfix/postfix-2.6.1-vda-ng.patch.gz) = 33d62623badc3f754ac9620e3ed2c3b8
-SHA256 (postfix/postfix-2.6.1-vda-ng.patch.gz) = cbc924891385b1ca7ca82b5bce89b9eadac53eca772c1291db1307b8a2eef720
-SIZE (postfix/postfix-2.6.1-vda-ng.patch.gz) = 12662
+MD5 (postfix/postfix-2.6.2.tar.gz) = 1f0edbd521d2b0473626f4d61e8bb4eb
+SHA256 (postfix/postfix-2.6.2.tar.gz) = 025acf080bbe279cbc6e8e6806ecd0f99af41c8ca384fcb2f7631988f73d5f7c
+SIZE (postfix/postfix-2.6.2.tar.gz) = 3323255


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



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