aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailscanner
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-09-02 21:27:44 +0800
committerarved <arved@FreeBSD.org>2004-09-02 21:27:44 +0800
commitca0a354b2ac046e9d859499be989f1361b30cdd3 (patch)
tree0666d5a388e22fdee1b9e8afb40b3c12311bbe64 /mail/mailscanner
parent53acd9247d8999705d75f5dd0d1919aa4d2f5cce (diff)
downloadfreebsd-ports-graphics-ca0a354b2ac046e9d859499be989f1361b30cdd3.tar.gz
freebsd-ports-graphics-ca0a354b2ac046e9d859499be989f1361b30cdd3.tar.zst
freebsd-ports-graphics-ca0a354b2ac046e9d859499be989f1361b30cdd3.zip
Update to 4.33.3
PR: 71192 Submitted by: Jan-Peter Koopmann <j.koopmann@seceidos.de>
Diffstat (limited to 'mail/mailscanner')
-rw-r--r--mail/mailscanner/Makefile3
-rw-r--r--mail/mailscanner/distinfo4
-rw-r--r--mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm44
-rw-r--r--mail/mailscanner/pkg-plist2
4 files changed, 5 insertions, 48 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index 3d1fcd79ee0..a43fd9d1ffa 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -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 --git a/mail/mailscanner/distinfo b/mail/mailscanner/distinfo
index 25b860a8fc9..84f9e32bb2d 100644
--- a/mail/mailscanner/distinfo
+++ b/mail/mailscanner/distinfo
@@ -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 --git a/mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm b/mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm
deleted file mode 100644
index 405562c8f97..00000000000
--- a/mail/mailscanner/files/patch-lib:MailScanner:SweepViruses.pm
+++ /dev/null
@@ -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 --git a/mail/mailscanner/pkg-plist b/mail/mailscanner/pkg-plist
index 9f393e31296..efb44ef85fa 100644
--- a/mail/mailscanner/pkg-plist
+++ b/mail/mailscanner/pkg-plist
@@ -80,6 +80,8 @@ libexec/MailScanner/rav-autoupdate.sample
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