From root@corp.grupos.com.br  Thu Mar 24 17:09:28 2005
Return-Path: <root@corp.grupos.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C459216A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Mar 2005 17:09:28 +0000 (GMT)
Received: from gwmail1.grupos.com.br (gwmail1.grupos.com.br [66.90.64.125])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4DFCC43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Mar 2005 17:09:28 +0000 (GMT)
	(envelope-from root@corp.grupos.com.br)
Received: from corp.grupos.com.br (unknown [150.162.166.55])
	by gwmail1.grupos.com.br (Postfix) with ESMTP id 59F9E3C1A2;
	Thu, 24 Mar 2005 14:09:27 -0300 (BRT)
Received: by corp.grupos.com.br (Postfix, from userid 0)
	id AC91120A25; Thu, 24 Mar 2005 14:09:26 -0300 (BRT)
Message-Id: <20050324170926.AC91120A25@corp.grupos.com.br>
Date: Thu, 24 Mar 2005 14:09:26 -0300 (BRT)
From: Marcus Grando <marcus@corp.grupos.com.br>
Reply-To: Marcus Grando <marcus@corp.grupos.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc: vivek@khera.org
Subject: Update port: mail/postfix fix VDA with old gcc
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79207
>Category:       ports
>Synopsis:       Update port: mail/postfix fix VDA with old gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 24 17:10:02 GMT 2005
>Closed-Date:    Tue Apr 05 22:03:48 GMT 2005
>Last-Modified:  Tue Apr 05 22:03:48 GMT 2005
>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 #43: Sun Mar 13 23:23:17 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update port: mail/postfix fix VDA with old gcc

- Fix VDA patch with old gcc

Note: If need, change PORTREVISION.

	
>How-To-Repeat:
	
>Fix:

	

--- postfix.patch begins here ---
diff -ruN postfix.orig/files/vda_old_gcc.patch postfix/files/vda_old_gcc.patch
--- postfix.orig/files/vda_old_gcc.patch	Wed Dec 31 21:00:00 1969
+++ postfix/files/vda_old_gcc.patch	Thu Mar 24 13:54:11 2005
@@ -0,0 +1,18 @@
+--- src/virtual/maildir.c.orig	Thu Mar 24 13:51:25 2005
++++ src/virtual/maildir.c	Thu Mar 24 13:53:15 2005
+@@ -225,7 +225,6 @@
+     int     copy_flags;
+     struct stat st;
+     struct timeval starttime;
+-    GETTIMEOFDAY(&starttime);
+ 
+     /* Maildir Quota */
+     const char *limit_res;             /* Limit from map */
+@@ -239,6 +238,7 @@
+     struct   stat sizefile_stat;       /* To check the size of the maildirsize file (cannot be larger than 5k) */
+     time_t   tm;
+ 
++    GETTIMEOFDAY(&starttime);
+ 
+     /*
+      * Make verbose logging easier to understand.
diff -ruN postfix.orig/scripts/configure.postfix postfix/scripts/configure.postfix
--- postfix.orig/scripts/configure.postfix	Sat Mar 19 20:17:54 2005
+++ postfix/scripts/configure.postfix	Thu Mar 24 14:02:41 2005
@@ -212,6 +212,7 @@
 		VDA)
 			/bin/echo "PATCH_SITES+=	http://web.onda.com.br/nadal/postfix/VDA/"
 			/bin/echo "PATCHFILES+=		postfix-2.2.0-vda.patch.gz"
+			/bin/echo "EXTRA_PATCHES+=	${FILESDIR}/vda_old_gcc.patch"
 			/bin/echo "PATCH_DIST_STRIP=	-p1"
 			;;
 		Test)
--- postfix.patch ends here ---


>Release-Note:
>Audit-Trail:

From: Vivek Khera <vivek@khera.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Marcus Grando <marcus@corp.grupos.com.br>
Subject: Re: ports/79207: Update port: mail/postfix fix VDA with old gcc
Date: Thu, 31 Mar 2005 10:32:55 -0500

 Please commit this patch.  Thanks.
 
 Vivek Khera, Ph.D.
 +1-301-869-4449 x806
 

From: Marcus Grando <marcus@corp.grupos.com.br>
To: freebsd-gnats-submit@FreeBSD.org, vivek@khera.org
Cc:  
Subject: Re: ports/79207: Update port: mail/postfix fix VDA with old gcc
Date: Thu, 31 Mar 2005 13:42:01 -0300

 This is a multi-part message in MIME format.
 --------------040301080504070209050206
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Please apply this new attached patch.
 
 Thanks
 
 -- 
 Marcus Grando
 Grupos Internet S/A
 marcus(at)corp.grupos.com.br
 
 --------------040301080504070209050206
 Content-Type: text/plain;
  name="postfix.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="postfix.patch"
 
 diff -ruN postfix.orig/distinfo postfix/distinfo
 --- postfix.orig/distinfo	Sat Mar 19 20:17:54 2005
 +++ postfix/distinfo	Thu Mar 31 13:36:44 2005
 @@ -2,5 +2,5 @@
  SIZE (postfix/postfix-2.2.1.tar.gz) = 2407157
  MD5 (postfix/postfix-libspf2-2.2.0-5.patch) = 80be36e0f14e1a1f39a3b30b9b2d4115
  SIZE (postfix/postfix-libspf2-2.2.0-5.patch) = 26077
 -MD5 (postfix/postfix-2.2.0-vda.patch.gz) = 894915546a4e2bc378d69798dabd58d1
 -SIZE (postfix/postfix-2.2.0-vda.patch.gz) = 7785
 +MD5 (postfix/postfix-2.2.1-vda.patch.gz) = d4ee910876119dde7635d0d6ae27351d
 +SIZE (postfix/postfix-2.2.1-vda.patch.gz) = 7798
 diff -ruN postfix.orig/files/vda_old_gcc.patch postfix/files/vda_old_gcc.patch
 --- postfix.orig/files/vda_old_gcc.patch	Wed Dec 31 21:00:00 1969
 +++ postfix/files/vda_old_gcc.patch	Thu Mar 31 13:35:38 2005
 @@ -0,0 +1,18 @@
 +--- src/virtual/maildir.c.orig	Thu Mar 24 13:51:25 2005
 ++++ src/virtual/maildir.c	Thu Mar 24 13:53:15 2005
 +@@ -225,7 +225,6 @@
 +     int     copy_flags;
 +     struct stat st;
 +     struct timeval starttime;
 +-    GETTIMEOFDAY(&starttime);
 + 
 +     /* Maildir Quota */
 +     const char *limit_res;             /* Limit from map */
 +@@ -239,6 +238,7 @@
 +     struct   stat sizefile_stat;       /* To check the size of the maildirsize file (cannot be larger than 5k) */
 +     time_t   tm;
 + 
 ++    GETTIMEOFDAY(&starttime);
 + 
 +     /*
 +      * Make verbose logging easier to understand.
 diff -ruN postfix.orig/scripts/configure.postfix postfix/scripts/configure.postfix
 --- postfix.orig/scripts/configure.postfix	Sat Mar 19 20:17:54 2005
 +++ postfix/scripts/configure.postfix	Thu Mar 31 13:35:59 2005
 @@ -211,7 +211,8 @@
  			;;
  		VDA)
  			/bin/echo "PATCH_SITES+=	http://web.onda.com.br/nadal/postfix/VDA/"
 -			/bin/echo "PATCHFILES+=		postfix-2.2.0-vda.patch.gz"
 +			/bin/echo "PATCHFILES+=		postfix-2.2.1-vda.patch.gz"
 +			/bin/echo "EXTRA_PATCHES+=	${FILESDIR}/vda_old_gcc.patch"
  			/bin/echo "PATCH_DIST_STRIP=	-p1"
  			;;
  		Test)
 
 --------------040301080504070209050206--

From: Marcus Grando <marcus@corp.grupos.com.br>
To: freebsd-gnats-submit@FreeBSD.org, vivek@khera.org
Cc:  
Subject: Re: ports/79207: Update port: mail/postfix fix VDA with old gcc
Date: Sat, 02 Apr 2005 13:22:24 -0300

 This is a multi-part message in MIME format.
 --------------040908070409090702090406
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Update port: mail/postfix to 2.2.2
 
 - Update postfix to 2.2.2
 - Update VDA patch to 2.2.1
 - Fix compile with old GCC
 - Include patch from this PR: ports/79447
 
 Thanks
 
 -- 
 Marcus Grando
 Grupos Internet S/A
 marcus(at)corp.grupos.com.br
 
 --------------040908070409090702090406
 Content-Type: text/plain;
  name="postfix.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="postfix.patch"
 
 diff -ruN postfix.orig/Makefile postfix/Makefile
 --- postfix.orig/Makefile	Sat Mar 19 20:17:54 2005
 +++ postfix/Makefile	Sat Apr  2 12:56:25 2005
 @@ -15,7 +15,7 @@
  # NOTE: PCRE is enabled by default unless you specifically disable it.
  
  PORTNAME=	postfix
 -PORTVERSION=	2.2.1
 +PORTVERSION=	2.2.2
  PORTEPOCH=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
 diff -ruN postfix.orig/distinfo postfix/distinfo
 --- postfix.orig/distinfo	Sat Mar 19 20:17:54 2005
 +++ postfix/distinfo	Sat Apr  2 12:56:52 2005
 @@ -1,6 +1,6 @@
 -MD5 (postfix/postfix-2.2.1.tar.gz) = 36b982392b2a490f3c861e5e609124cc
 -SIZE (postfix/postfix-2.2.1.tar.gz) = 2407157
 +MD5 (postfix/postfix-2.2.2.tar.gz) = 1f5f54ec8a832af7faaa71607475b19b
 +SIZE (postfix/postfix-2.2.2.tar.gz) = 2408375
  MD5 (postfix/postfix-libspf2-2.2.0-5.patch) = 80be36e0f14e1a1f39a3b30b9b2d4115
  SIZE (postfix/postfix-libspf2-2.2.0-5.patch) = 26077
 -MD5 (postfix/postfix-2.2.0-vda.patch.gz) = 894915546a4e2bc378d69798dabd58d1
 -SIZE (postfix/postfix-2.2.0-vda.patch.gz) = 7785
 +MD5 (postfix/postfix-2.2.1-vda.patch.gz) = d4ee910876119dde7635d0d6ae27351d
 +SIZE (postfix/postfix-2.2.1-vda.patch.gz) = 7798
 diff -ruN postfix.orig/files/vda_old_gcc.patch postfix/files/vda_old_gcc.patch
 --- postfix.orig/files/vda_old_gcc.patch	Wed Dec 31 21:00:00 1969
 +++ postfix/files/vda_old_gcc.patch	Sat Apr  2 12:55:30 2005
 @@ -0,0 +1,18 @@
 +--- src/virtual/maildir.c.orig	Thu Mar 24 13:51:25 2005
 ++++ src/virtual/maildir.c	Thu Mar 24 13:53:15 2005
 +@@ -225,7 +225,6 @@
 +     int     copy_flags;
 +     struct stat st;
 +     struct timeval starttime;
 +-    GETTIMEOFDAY(&starttime);
 + 
 +     /* Maildir Quota */
 +     const char *limit_res;             /* Limit from map */
 +@@ -239,6 +238,7 @@
 +     struct   stat sizefile_stat;       /* To check the size of the maildirsize file (cannot be larger than 5k) */
 +     time_t   tm;
 + 
 ++    GETTIMEOFDAY(&starttime);
 + 
 +     /*
 +      * Make verbose logging easier to understand.
 diff -ruN postfix.orig/pkg-install postfix/pkg-install
 --- postfix.orig/pkg-install	Sat Mar 19 20:17:54 2005
 +++ postfix/pkg-install	Sat Apr  2 12:56:15 2005
 @@ -29,7 +29,7 @@
  	question=$1
  	default=$2
  	if [ -z "${PACKAGE_BUILDING}" -a x${BATCH} = xno ]; then
 -		/usr/bin/read -p "${question} [${default}]? " answer
 +		read -p "${question} [${default}]? " answer
  	fi
  	if [ x${answer} = x ]; then
  		answer=${default}
 diff -ruN postfix.orig/scripts/configure.postfix postfix/scripts/configure.postfix
 --- postfix.orig/scripts/configure.postfix	Sat Mar 19 20:17:54 2005
 +++ postfix/scripts/configure.postfix	Sat Apr  2 12:55:30 2005
 @@ -211,7 +211,8 @@
  			;;
  		VDA)
  			/bin/echo "PATCH_SITES+=	http://web.onda.com.br/nadal/postfix/VDA/"
 -			/bin/echo "PATCHFILES+=		postfix-2.2.0-vda.patch.gz"
 +			/bin/echo "PATCHFILES+=		postfix-2.2.1-vda.patch.gz"
 +			/bin/echo "EXTRA_PATCHES+=	${FILESDIR}/vda_old_gcc.patch"
  			/bin/echo "PATCH_DIST_STRIP=	-p1"
  			;;
  		Test)
 
 --------------040908070409090702090406--

From: Marcus Grando <marcus@corp.grupos.com.br>
To: freebsd-gnats-submit@FreeBSD.org, vivek@khera.org
Cc:  
Subject: Re: ports/79207: Update port: mail/postfix fix VDA with old gcc
Date: Tue, 05 Apr 2005 12:33:00 -0300

 This is a multi-part message in MIME format.
 --------------040605080505070904060004
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Update port: mail/postfix to 2.2.2
 
 - Update postfix to 2.2.2
 - Update VDA patch to 2.2.2 (Fix compile with old GCC)
 - Include patch from this PR: ports/79447
 
 Vivek, please approve this patch.
 
 -- 
 Marcus Grando
 Grupos Internet S/A
 marcus(at)corp.grupos.com.br
 
 --------------040605080505070904060004
 Content-Type: text/plain;
  name="postfix.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="postfix.patch"
 
 diff -ruN postfix.orig/Makefile postfix/Makefile
 --- postfix.orig/Makefile	Sat Mar 19 20:17:54 2005
 +++ postfix/Makefile	Tue Apr  5 12:26:28 2005
 @@ -15,7 +15,7 @@
  # NOTE: PCRE is enabled by default unless you specifically disable it.
  
  PORTNAME=	postfix
 -PORTVERSION=	2.2.1
 +PORTVERSION=	2.2.2
  PORTEPOCH=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
 diff -ruN postfix.orig/distinfo postfix/distinfo
 --- postfix.orig/distinfo	Sat Mar 19 20:17:54 2005
 +++ postfix/distinfo	Tue Apr  5 12:28:04 2005
 @@ -1,6 +1,6 @@
 -MD5 (postfix/postfix-2.2.1.tar.gz) = 36b982392b2a490f3c861e5e609124cc
 -SIZE (postfix/postfix-2.2.1.tar.gz) = 2407157
 +MD5 (postfix/postfix-2.2.2.tar.gz) = 1f5f54ec8a832af7faaa71607475b19b
 +SIZE (postfix/postfix-2.2.2.tar.gz) = 2408375
  MD5 (postfix/postfix-libspf2-2.2.0-5.patch) = 80be36e0f14e1a1f39a3b30b9b2d4115
  SIZE (postfix/postfix-libspf2-2.2.0-5.patch) = 26077
 -MD5 (postfix/postfix-2.2.0-vda.patch.gz) = 894915546a4e2bc378d69798dabd58d1
 -SIZE (postfix/postfix-2.2.0-vda.patch.gz) = 7785
 +MD5 (postfix/postfix-2.2.2-vda.patch.gz) = 816fb00f211de8f8d3703ecd4ccf40a5
 +SIZE (postfix/postfix-2.2.2-vda.patch.gz) = 7752
 diff -ruN postfix.orig/pkg-install postfix/pkg-install
 --- postfix.orig/pkg-install	Sat Mar 19 20:17:54 2005
 +++ postfix/pkg-install	Tue Apr  5 12:26:28 2005
 @@ -29,7 +29,7 @@
  	question=$1
  	default=$2
  	if [ -z "${PACKAGE_BUILDING}" -a x${BATCH} = xno ]; then
 -		/usr/bin/read -p "${question} [${default}]? " answer
 +		read -p "${question} [${default}]? " answer
  	fi
  	if [ x${answer} = x ]; then
  		answer=${default}
 diff -ruN postfix.orig/scripts/configure.postfix postfix/scripts/configure.postfix
 --- postfix.orig/scripts/configure.postfix	Sat Mar 19 20:17:54 2005
 +++ postfix/scripts/configure.postfix	Tue Apr  5 12:27:11 2005
 @@ -211,7 +211,7 @@
  			;;
  		VDA)
  			/bin/echo "PATCH_SITES+=	http://web.onda.com.br/nadal/postfix/VDA/"
 -			/bin/echo "PATCHFILES+=		postfix-2.2.0-vda.patch.gz"
 +			/bin/echo "PATCHFILES+=		postfix-2.2.2-vda.patch.gz"
  			/bin/echo "PATCH_DIST_STRIP=	-p1"
  			;;
  		Test)
 
 --------------040605080505070904060004--

From: Vivek Khera <vivek@khera.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Marcus Grando <marcus@corp.grupos.com.br>
Subject: Re: ports/79207: Update port: mail/postfix fix VDA with old gcc
Date: Tue, 5 Apr 2005 17:30:40 -0400

 Please apply the patch above to update postfix to 2.2.2.
 
 Thanks.
 
 Vivek Khera, Ph.D.
 +1-301-869-4449 x806
 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Apr 5 22:03:38 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79207 
>Unformatted:
