Date: Tue, 18 Jan 2022 06:50:10 GMT From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 02ad51df301f - main - security/clamassassin: fix non-compliant email header Message-ID: <202201180650.20I6oAbM072781@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=02ad51df301f8d70e32382580d4018ab0ba730e3 commit 02ad51df301f8d70e32382580d4018ab0ba730e3 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2022-01-17 08:39:58 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-01-18 06:48:34 +0000 security/clamassassin: fix non-compliant email header The X-Virus-Checker-Version: header added by clamassassin contains a newline if clamd is down. This creates a non-compliant email header (because it doesn't end with a colon). PR: 261131 Reported by: martin@lispworks.com Approved by: chalpin@cs.wisc.edu (maintainer, timeout > 1 week) --- security/clamassassin/files/patch-clamassassin.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/security/clamassassin/files/patch-clamassassin.in b/security/clamassassin/files/patch-clamassassin.in new file mode 100644 index 000000000000..e99f320686b6 --- /dev/null +++ b/security/clamassassin/files/patch-clamassassin.in @@ -0,0 +1,11 @@ +--- clamassassin.in.orig 2007-03-05 04:19:48 UTC ++++ clamassassin.in +@@ -132,7 +132,7 @@ ${CAT} > ${MSGTMP} + bailiferr $? + + # Set version header string +-CLAMVERS=`${CLAMSCAN} -V --stdout` ++CLAMVERS=`${CLAMSCAN} -V --stdout | tail -1` + + if [ ${ADDSCANNERFLAG} != 0 ] + then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201180650.20I6oAbM072781>