From owner-freebsd-ports-bugs Sat Mar 15 9:40:10 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A558C37B404 for ; Sat, 15 Mar 2003 09:40:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 038E843FB1 for ; Sat, 15 Mar 2003 09:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2FHe2NS056516 for ; Sat, 15 Mar 2003 09:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2FHe23m056515; Sat, 15 Mar 2003 09:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B8E637B401 for ; Sat, 15 Mar 2003 09:33:37 -0800 (PST) Received: from stingray.amis.net (stingray.amis.net [212.18.32.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A42543FAF for ; Sat, 15 Mar 2003 09:33:36 -0800 (PST) (envelope-from blaz.zupan@amis.net) Received: from localhost (localhost [127.0.0.1]) by stingray.amis.net (Postfix) with ESMTP id 4175538659F for ; Sat, 15 Mar 2003 18:33:35 +0100 (CET) Received: from stingray.amis.net ([127.0.0.1]) by localhost (stingray.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 89923-02 for ; Sat, 15 Mar 2003 18:33:34 +0100 (CET) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by stingray.amis.net (Postfix) with ESMTP id DB837386599 for ; Sat, 15 Mar 2003 18:33:34 +0100 (CET) Received: by titanic.medinet.si (Postfix, from userid 1000) id C162C55417; Sat, 15 Mar 2003 18:33:34 +0100 (CET) Message-Id: <20030315173334.C162C55417@titanic.medinet.si> Date: Sat, 15 Mar 2003 18:33:34 +0100 (CET) From: Blaz Zupan Reply-To: Blaz Zupan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50028: MAINTAINER UPDATE: bugfix for amavisd-new non-RFC compliance Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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