aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-03-27 11:49:51 +0800
committerpetef <petef@FreeBSD.org>2003-03-27 11:49:51 +0800
commitdc9af1f1adb7184d608f24da7a870c538484e1cc (patch)
treedeceb2d295ad88d61c355b55e13f3ee384e7c1b6 /security/amavisd-new
parentcf2bc1105d54b1e23b10fa3ba0f5cabbe3d4374c (diff)
downloadfreebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.tar.gz
freebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.tar.zst
freebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.zip
Fix a bug where non-RFC 2822 compliant mails were generated when a
non-US locale was in use. PR: 50028 Submitted by: maintainer
Diffstat (limited to 'security/amavisd-new')
-rw-r--r--security/amavisd-new/Makefile1
-rw-r--r--security/amavisd-new/files/amavisd.sh.tmpl3
2 files changed, 4 insertions, 0 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index b2c6b1523528..bde8de772283 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -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 --git a/security/amavisd-new/files/amavisd.sh.tmpl b/security/amavisd-new/files/amavisd.sh.tmpl
index 5c49ebf710e1..b69db78402ca 100644
--- a/security/amavisd-new/files/amavisd.sh.tmpl
+++ b/security/amavisd-new/files/amavisd.sh.tmpl
@@ -18,6 +18,9 @@ start)
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
;;