Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 18:33:34 +0100 (CET)
From:      Blaz Zupan <blaz.zupan@amis.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50028: MAINTAINER UPDATE: bugfix for amavisd-new non-RFC compliance
Message-ID:  <20030315173334.C162C55417@titanic.medinet.si>

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

>Number:         50028
>Category:       ports
>Synopsis:       MAINTAINER UPDATE: bugfix for amavisd-new non-RFC compliance
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 09:40:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Blaz Zupan
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD titanic.medinet.si 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #0: Sun Feb 2 17:58:31 CET 2003 root@bigbrother.amis.net:/db/obj/usr/src/sys/TITANIC i386


	
>Description:

The current amavisd-new port version is 20021227.p2, which contains a
bug which causes the software to produce non-RFC 2822 compliant mails
when you have set a non-US locale.

>How-To-Repeat:

Set a different time locale and notice that amavisd-new produces
non-RFC 2822 compliant mail headers (dates are insterted in local
locale format instead of US locale).

>Fix:

As we are currently in ports freeze, a proper update to the latest
amavisd-new release 20030314 is not appropriate, so a temporary fix is
presented here. Please apply the following patch:

diff -urN amavisd-new.old/Makefile amavisd-new/Makefile
--- amavisd-new.old/Makefile	Fri Feb 21 18:54:44 2003
+++ amavisd-new/Makefile	Sat Mar 15 18:26:23 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	amavisd-new
 PORTVERSION=	20021227.p2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.ijs.si/software/amavisd/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.p/-p/}
diff -urN amavisd-new.old/files/amavisd.sh.tmpl amavisd-new/files/amavisd.sh.tmpl
--- amavisd-new.old/files/amavisd.sh.tmpl	Sat Jan  4 12:52:47 2003
+++ amavisd-new/files/amavisd.sh.tmpl	Sat Mar 15 18:23:28 2003
@@ -18,6 +18,9 @@
 		if [ -e $MILTERFLAG ]; then
 			su %%AMAVISUSER%% -c "${PREFIX}/sbin/amavis-milter -D -p $DIR/amavis-milter.sock"
 		fi
+		export LANG="C"
+		export LC_ALL="C"
+		export LC_TIME="C"
 		su %%AMAVISUSER%% -c "${PREFIX}/sbin/amavisd -c ${CONFIGFILE} > /dev/null 2>&1" && echo -n ' amavisd'
 	fi
 	;;
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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