Date: Tue, 31 Aug 2004 15:35:01 +0200 (CEST) From: Jan-Peter Koopmann <j.koopmann@seceidos.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71192: [MAINTAINER] mail/MailScanner: update to 4.33.3 Message-ID: <200408311335.i7VDZ111091340@services.intern.seceidos.de> Resent-Message-ID: <200408311340.i7VDeHIP058898@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71192 >Category: ports >Synopsis: [MAINTAINER] mail/MailScanner: update to 4.33.3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 31 13:40:17 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jan-Peter Koopmann >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 5 10:56:46 CET >Description: - Update to 4.33.3 Please remove files/patch-lib:MailScanner:SweepViruses.pm from CVS. The full Changelog is here: * New Features and Improvements * - When converting an HTML message to plain text, HTML comments are removed. - Now prints more realistic Perl version with -v, and includes Net::DNS. - Custom Functions can now take parameters. These are passed to the Init and End functions corresponding to each Custom Function. - Updated Czech translations. - McAfee -autoupdate script improved to handle situation where McAfee upgrade was manually installed and previous installation was not removed first. - Added all the MCP settings to the shipped MailScanner.conf file. - Added support for the "Symantec Scan Engine" scanner. - Non-RPM installer never opts for RPM install. - Upgraded Archive::Zip to 1.13. - Improved "MailScanner -v" output so it gives kernel and OS release information if it can find any. Also now logs version of MIME::Base64. - Added setting to SpamAssassin so that Version 3.0 will use fast non-NFS file locking, as most MailScanner users don't access Bayes across NFS. - Configuration compiler much more tolerant of errors and missing files. * Fixes * - AntiVir is now forced to run in English. - RAR archives that cannot be handled by ClamAV's internal RAR unpacker are now handled properly. - Couple of minor fixes to ZMailer support. - Added a space in the Postmaster report to improve formatting. - Fixed bug in spam score number formatting. - Now set the charset in messages that are "notices to". - Now catch the case where SpamAssassin fails to set the autolearn status. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- MailScanner-4.33.3.patch begins here --- diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/Makefile /server-root/ports/mail/mailscanner/Makefile --- /server-root/ports/mail/mailscanner.orig/Makefile Sat Aug 21 12:15:49 2004 +++ /server-root/ports/mail/mailscanner/Makefile Tue Aug 31 15:28:47 2004 @@ -6,8 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.32.5 -PORTREVISION= 1 +PORTVERSION= 4.33.3 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/distinfo /server-root/ports/mail/mailscanner/distinfo --- /server-root/ports/mail/mailscanner.orig/distinfo Sun Aug 8 19:16:18 2004 +++ /server-root/ports/mail/mailscanner/distinfo Tue Aug 31 15:28:57 2004 @@ -1,2 +1,2 @@ -MD5 (MailScanner-install-4.32.5-1.tar.gz) = 4cb194671412ca2eb79cc9e18cd21733 -SIZE (MailScanner-install-4.32.5-1.tar.gz) = 5330121 +MD5 (MailScanner-install-4.33.3-1.tar.gz) = a1b1a5e297c849f430c91b12ced59f7a +SIZE (MailScanner-install-4.33.3-1.tar.gz) = 5339017 diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-lib:MailScanner:SweepViruses.pm /server-root/ports/mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm --- /server-root/ports/mail/mailscanner.orig/files/patch-lib:MailScanner:SweepViruses.pm Sat Aug 21 12:15:49 2004 +++ /server-root/ports/mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm Thu Jan 1 01:00:00 1970 @@ -1,44 +0,0 @@ ---- ../MailScanner-install-4.32.5.orig/lib/MailScanner/SweepViruses.pm Mon Aug 16 18:57:47 2004 -+++ lib/MailScanner/SweepViruses.pm Mon Aug 16 18:58:17 2004 -@@ -2195,7 +2195,7 @@ - MailScanner::Log::InfoLog("ProcessClamAVOutput: %s", $1); - return 0; - } -- return 0 if /^ /; # " inflating", " deflating.." from --unzip -+ return 0 if /^ |^Extracting|module failure$/; # " inflating", " deflating.." from --unzip - if ($clamav_archive && /^$clamav_archive:/) - { - $clamav_archive = ""; -@@ -2206,6 +2206,22 @@ - - MailScanner::Log::InfoLog("%s", $line); - -+ #(Real infected archive: /var/spool/MailScanner/incoming/19746/./i75EFmSZ014248/eicar.rar) -+ if (/^\(Real infected archive: (.*)\)$/) -+ { -+ my ($file, $ReportStart); -+ $file = $1; -+ $file =~ s/^(.\/)?$BaseDir\/?//; -+ $file =~ s/^\.\///; -+ my ($id,$part) = split /\//, $file, 2; -+ -+ $ReportStart = $part; -+ $ReportStart = $Name . ': ' . $ReportStart if $Name; -+ $infections->{"$id"}{"$part"} .= "$ReportStart contains a virus\n"; -+ $types->{"$id"}{"$part"} .= "v"; -+ return 1; -+ } -+ - if (/^(\(raw\) )?(.*?): (.*) FOUND$/) - { - my ($file, $subfile, $virus, $report, $ReportStart); -@@ -2457,6 +2473,9 @@ - # Sample output: - #./1B978O-0000g2-Iq/eicar.com Virus identified EICAR_Test (+2) - #./1B978O-0000g2-Iq/eicar.zip:\eicar.com Virus identified EICAR_Test (+2) -+ -+ # Remove all the duff carriage-returns from the line -+ $line =~ s/[\r\n]//g; - - #print STDERR "Line: $line\n"; - return 0 unless $line =~ /Virus identified (.+)$/; diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/pkg-plist /server-root/ports/mail/mailscanner/pkg-plist --- /server-root/ports/mail/mailscanner.orig/pkg-plist Fri Jun 4 02:08:06 2004 +++ /server-root/ports/mail/mailscanner/pkg-plist Tue Aug 31 15:31:53 2004 @@ -80,6 +80,8 @@ libexec/MailScanner/rav-wrapper.sample libexec/MailScanner/sophos-autoupdate.sample libexec/MailScanner/sophos-wrapper.sample +libexec/MailScanner/symscanengine-wrapper.sample +libexec/MailScanner/symscanengine-autoupdate.sample libexec/MailScanner/trend-autoupdate.sample libexec/MailScanner/trend-wrapper.sample libexec/MailScanner/vexira-wrapper.sample --- MailScanner-4.33.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408311335.i7VDZ111091340>