From kiwi@kiwi.oav.net  Fri Jul  9 11:18:12 2004
Return-Path: <kiwi@kiwi.oav.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DAABE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jul 2004 11:18:11 +0000 (GMT)
Received: from kiwi.oav.net (kiwi.oav.net [82.225.248.92])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3F0D943D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jul 2004 11:18:11 +0000 (GMT)
	(envelope-from kiwi@kiwi.oav.net)
Received: by kiwi.oav.net (Postfix, from userid 501)
	id 85E8D7E825; Fri,  9 Jul 2004 13:18:02 +0200 (CEST)
Message-Id: <20040709111802.85E8D7E825@kiwi.oav.net>
Date: Fri,  9 Jul 2004 13:18:02 +0200 (CEST)
From: Xavier Beaudouin <kiwi@oav.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] mail/lmtpd: update to 0.9.18
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68851
>Category:       ports
>Synopsis:       [MAINTAINER] mail/lmtpd: update to 0.9.18
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 09 11:20:33 GMT 2004
>Closed-Date:    Mon Jul 12 15:37:36 GMT 2004
>Last-Modified:  Mon Jul 12 15:37:36 GMT 2004
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD plonk.home.oav.net 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #0: Sun May 30 22:14:12 CEST 2004
>Description:
- Update to 0.9.18

ChangeLog :

=== version 0.9.18

  * vacation.cache.create configuration directive. If this boolean is true
    vacation.cache file is created on first vacation message send.
    The user still has to erase it on his next vacation.
    Default is false.

=== version 0.9.17

  * bug fix in global final delivery detection when mail is bouncing
    (virus.keeper or av.checkall did not handle bounced messages)

  * experimental support of libtre (approximative regexp)
    as libtre may redefine system regexp functions,
    convenience libltdl is used do dynamicaly load used functions only.

  * new user commands "archive" and "archive2" who deliver the message
    in a time formated argument mbox.

  * allow domains with '--' sequence.

  * fix data timeout return handle when multiple recipients.

  * remove temporary file when error occurs in mailbox delivery.

  * quota.timefatal.acl configuration directive. Set the delay from which
    an overquota condition produce a persistant error per mailbox.
    (quota.timefatal will become obsolete in future)



Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- lmtpd-0.9.18.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/lmtpd.old/Makefile /usr/ports/mail/lmtpd/Makefile
--- /usr/ports/mail/lmtpd.old/Makefile	Thu Jul  8 23:40:31 2004
+++ /usr/ports/mail/lmtpd/Makefile	Fri Jul  9 13:14:49 2004
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	lmtpd
-PORTVERSION=	0.9.16
-PORTREVISION=	1
+PORTVERSION=	0.9.18
 CATEGORIES=	mail
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	ftp://ftp.oav.net/pll/ ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pll
 
 MAINTAINER=	kiwi@oav.net
@@ -23,6 +22,7 @@
 OPTIONS+=	MYSQL "Support for MySQL Queries and Logs" on
 OPTIONS+=	DB3 "Support for DB3" on
 OPTIONS+=	DB4 "Support for DB4" off
+OPTIONS+=	TRE "Support for TRE regexp (Approx regexp)" on
 
 .include <bsd.port.pre.mk>
 
@@ -35,6 +35,13 @@
 CONFIGURE_ARGS+=	--with-pcre
 .else
 CONFIGURE_ARGS+=	--without-pcre
+.endif
+
+.if defined(WITH_TRE)
+LIB_DEPENDS+=	tre:${PORTSDIR}/textproc/libtre/
+CONFIGURE_ARGS+=	--with-tre
+.else
+CONFIGURE_ARGS+=	--without-tre
 .endif
 
 .if defined(WITH_MYSQL)
diff -ruN --exclude=CVS /usr/ports/mail/lmtpd.old/distinfo /usr/ports/mail/lmtpd/distinfo
--- /usr/ports/mail/lmtpd.old/distinfo	Thu Jul  8 23:40:31 2004
+++ /usr/ports/mail/lmtpd/distinfo	Thu Jul  8 23:42:55 2004
@@ -1,2 +1,2 @@
-MD5 (lmtpd-0.9.16.tar.gz) = 5df6bcdbdc68ecdb6cca8ad237076b4a
-SIZE (lmtpd-0.9.16.tar.gz) = 274224
+MD5 (lmtpd-0.9.18.tar.gz) = 45cc49c3b1bc85a3de35d2ada8f9fa1e
+SIZE (lmtpd-0.9.18.tar.gz) = 446618
diff -ruN --exclude=CVS /usr/ports/mail/lmtpd.old/pkg-plist /usr/ports/mail/lmtpd/pkg-plist
--- /usr/ports/mail/lmtpd.old/pkg-plist	Thu Jul  8 23:40:31 2004
+++ /usr/ports/mail/lmtpd/pkg-plist	Fri Jul  9 13:14:23 2004
@@ -3,30 +3,6 @@
 bin/lmtpdlogsum
 etc/lmtpd.conf.dist
 libexec/lmtpd
-share/nls/C/filtercheck.cat
-share/nls/en_AU.ISO8859-1/filtercheck.cat
-share/nls/en_AU.ISO8859-15/filtercheck.cat
-share/nls/en_AU.US-ASCII/filtercheck.cat
-share/nls/en_CA.ISO8859-1/filtercheck.cat
-share/nls/en_CA.ISO8859-15/filtercheck.cat
-share/nls/en_CA.US-ASCII/filtercheck.cat
-share/nls/en_GB.ISO8859-1/filtercheck.cat
-share/nls/en_GB.ISO8859-15/filtercheck.cat
-share/nls/en_GB.US-ASCII/filtercheck.cat
-share/nls/en_NZ.ISO8859-1/filtercheck.cat
-share/nls/en_NZ.ISO8859-15/filtercheck.cat
-share/nls/en_NZ.US-ASCII/filtercheck.cat
-share/nls/en_US.ISO8859-1/filtercheck.cat
-share/nls/en_US.ISO8859-15/filtercheck.cat
-share/nls/fr_BE.ISO8859-1/filtercheck.cat
-share/nls/fr_BE.ISO8859-15/filtercheck.cat
-share/nls/fr_CA.ISO8859-1/filtercheck.cat
-share/nls/fr_CA.ISO8859-15/filtercheck.cat
-share/nls/fr_CH.ISO8859-1/filtercheck.cat
-share/nls/fr_CH.ISO8859-15/filtercheck.cat
-share/nls/fr_FR.ISO8859-1/filtercheck.cat
-share/nls/fr_FR.ISO8859-15/filtercheck.cat
-share/nls/fr_FR.ISO_8859-1/filtercheck.cat
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
--- lmtpd-0.9.18.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Mon Jul 12 11:30:33 GMT 2004 
State-Changed-Why:  
Build error on 4.10 


Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Mon Jul 12 11:30:33 GMT 2004 
Responsible-Changed-Why:  
Build error on 4.10 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68851 

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, kiwi@oav.net
Cc:  
Subject: Re: ports/68851: [MAINTAINER] mail/lmtpd: update to 0.9.18
Date: Mon, 12 Jul 2004 13:30:17 +0200

   cc -I.. -Wall -I/usr/local/include/db3 -I/usr/local/include/mysql  
 -I/usr/local/include -I/usr/local/include -I/usr/local/include -O -pipe -g  
 -I/usr/local/include -O -pipe -g -c re-tre.c -o .libs/re-tre.o
 re-tre.c: In function `re_exec':
 re-tre.c:134: syntax error before `int'
 re-tre.c:135: `ret' undeclared (first use in this function)
 re-tre.c:135: (Each undeclared identifier is reported only once
 re-tre.c:135: for each function it appears in.)
 re-tre.c:119: warning: unused variable `regamatch'
 re-tre.c:136: warning: control reaches end of non-void function
 re-tre.c: In function `re_tre_params':
 re-tre.c:141: syntax error before `int'
 re-tre.c:142: `counter' undeclared (first use in this function)
 re-tre.c:143: syntax error before `int'
 re-tre.c:145: `end' undeclared (first use in this function)
 *** Error code 1
 
 Stop in /usr/ports/mail/lmtpd/work/lmtpd-0.9.18/re.
 
 Can you check if this is a gcc 2.x-problem, please?
 
 Volker

From: Xavier Beaudouin <kiwi@oav.net>
To: "Volker Stolz" <vs@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/68851: [MAINTAINER] mail/lmtpd: update to 0.9.18
Date: Mon, 12 Jul 2004 14:26:57 +0200

 --Apple-Mail-1--341132011
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=ISO-8859-1;
 	format=flowed
 
 
 Le 12 juil. 04, =E0 13:30, Volker Stolz a =E9crit :
 
 >  cc -I.. -Wall -I/usr/local/include/db3 -I/usr/local/include/mysql=20
 > -I/usr/local/include -I/usr/local/include -I/usr/local/include -O=20
 > -pipe -g -I/usr/local/include -O -pipe -g -c re-tre.c -o=20
 > .libs/re-tre.o
 > re-tre.c: In function `re_exec':
 > re-tre.c:134: syntax error before `int'
 > re-tre.c:135: `ret' undeclared (first use in this function)
 > re-tre.c:135: (Each undeclared identifier is reported only once
 > re-tre.c:135: for each function it appears in.)
 > re-tre.c:119: warning: unused variable `regamatch'
 > re-tre.c:136: warning: control reaches end of non-void function
 > re-tre.c: In function `re_tre_params':
 > re-tre.c:141: syntax error before `int'
 > re-tre.c:142: `counter' undeclared (first use in this function)
 > re-tre.c:143: syntax error before `int'
 > re-tre.c:145: `end' undeclared (first use in this function)
 > *** Error code 1
 >
 > Stop in /usr/ports/mail/lmtpd/work/lmtpd-0.9.18/re.
 >
 > Can you check if this is a gcc 2.x-problem, please?
 
 This is really a gcc 2.x problem.
 Since I'm not a specialist about gcc breakage, I have desactived TRE=20
 regexp per default and add a check about FreeBSD 5.0 ..
 
 Here is a patch to it (attached to this mail).
 
 /Xavier
 
 --
 Xavier Beaudouin - Unix System Administrator & Projects Leader.
 President of Kazar Organization : http://www.kazar.net/
 Please visit http://caudium.net/, home of Caudium & Camas projects
 
 --Apple-Mail-1--341132011
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0444;
 	name="lmtpd.diff"
 Content-Disposition: attachment;
 	filename=lmtpd.diff
 
 diff -u --recursive --new-file lmtpd.old/Makefile lmtpd/Makefile
 --- lmtpd.old/Makefile	Fri Jul  9 13:14:49 2004
 +++ lmtpd/Makefile	Mon Jul 12 14:12:01 2004
 @@ -22,7 +22,7 @@
  OPTIONS+=	MYSQL "Support for MySQL Queries and Logs" on
  OPTIONS+=	DB3 "Support for DB3" on
  OPTIONS+=	DB4 "Support for DB4" off
 -OPTIONS+=	TRE "Support for TRE regexp (Approx regexp)" on
 +OPTIONS+=	TRE "Support for TRE regexp (experimental)" off
  
  .include <bsd.port.pre.mk>
  
 @@ -38,8 +38,12 @@
  .endif
  
  .if defined(WITH_TRE)
 +.if ${OSVERSION} > 500000
  LIB_DEPENDS+=	tre:${PORTSDIR}/textproc/libtre/
  CONFIGURE_ARGS+=	--with-tre
 +.else
 +CONFIGURE_ARGS+=	--without-tre
 +.endif
  .else
  CONFIGURE_ARGS+=	--without-tre
  .endif
 
 --Apple-Mail-1--341132011--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: vs 
State-Changed-When: Mon Jul 12 15:37:02 GMT 2004 
State-Changed-Why:  
Committed, thanks! 
Greylisting-induced-pain-level: 9.0 

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