From 32b3f6df373d1065019c6f1500b1bb33e1579fc4 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 2 May 2004 18:40:41 +0000 Subject: Add patches fixing these bugs: - In certain conditions the update_virus_scanners script cannot kill the lock-file. Therefore all future updates of virus signatures fail. - If a mail contained too many attachment, it was blocked but the report was empty, confusing the sender. PR: ports/66046 Submitted by: Jan-Peter Koopmann (maintainer) --- mail/mailscanner/files/patch-bin:update_virus_scanners | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mail/mailscanner/files/patch-bin:update_virus_scanners (limited to 'mail/mailscanner/files/patch-bin:update_virus_scanners') diff --git a/mail/mailscanner/files/patch-bin:update_virus_scanners b/mail/mailscanner/files/patch-bin:update_virus_scanners new file mode 100644 index 000000000000..a160c97304cc --- /dev/null +++ b/mail/mailscanner/files/patch-bin:update_virus_scanners @@ -0,0 +1,12 @@ +--- ../MailScanner-4.29.7.orig/bin/update_virus_scanners Wed Apr 28 13:38:29 2004 ++++ bin/update_virus_scanners Wed Apr 28 13:39:10 2004 +@@ -8,7 +8,8 @@ + # the lockfile is not meant to be perfect, it's just in case the + # two cron scripts get run close to each other to keep them from + # stepping on each other's toes. +-[ -f $LOCKFILE ] && exit 0 ++ ++[ -f $LOCKFILE ] && [ "`find $LOCKFILE -type f -mmin +60 -print`" = "" ] && exit 0 + trap "rm -f $LOCKFILE" EXIT + touch $LOCKFILE + -- cgit v1.2.3