aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-03-27 03:49:51 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-03-27 03:49:51 +0000
commit7ba8228af8c1361c0941e4d53ec028fc72b05b43 (patch)
tree9601ba273686242289a3b1fa1794f8ab1e627930 /security
parent30367412d84992af547ed5aa60307a1519d6a076 (diff)
downloadports-7ba8228af8c1361c0941e4d53ec028fc72b05b43.tar.gz
ports-7ba8228af8c1361c0941e4d53ec028fc72b05b43.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
Notes
Notes: svn path=/head/; revision=77514
Diffstat (limited to 'security')
-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
;;