mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
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)
11 lines
274 B
Text
11 lines
274 B
Text
--- 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
|