Date: Wed, 10 Nov 2004 08:44:01 +0100 (CET) From: Jan-Peter Koopmann <j.koopmann@seceidos.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/73762: [MAINTAINER] mail/MailScanner: update to 4.35.11 Message-ID: <200411100744.iAA7i1DK079696@services.intern.seceidos.de> Resent-Message-ID: <200411100750.iAA7oWoh019507@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73762 >Category: ports >Synopsis: [MAINTAINER] mail/MailScanner: update to 4.35.11 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Nov 10 07:50:32 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.35.11 - Improvement to Phishing-Mail Detection Added file(s): - files/patch-lib:MailScanner:Message.pm Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- MailScanner-4.35.11.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 Mon Nov 1 21:10:10 2004 +++ /server-root/ports/mail/mailscanner/Makefile Wed Nov 10 08:30:33 2004 @@ -6,7 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.35.9 +PORTVERSION= 4.35.11 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 Mon Nov 1 21:10:10 2004 +++ /server-root/ports/mail/mailscanner/distinfo Wed Nov 10 08:30:42 2004 @@ -1,2 +1,2 @@ -MD5 (MailScanner-install-4.35.9-1.tar.gz) = 4e3a0739cec1cc0bd94e24fb8ac558db -SIZE (MailScanner-install-4.35.9-1.tar.gz) = 5480916 +MD5 (MailScanner-install-4.35.11-1.tar.gz) = 2ce8d93b6526c33791ad696a7e61cc7d +SIZE (MailScanner-install-4.35.11-1.tar.gz) = 5508189 diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-lib:MailScanner:Message.pm /server-root/ports/mail/mailscanner/files/patch-lib:MailScanner:Message.pm --- /server-root/ports/mail/mailscanner.orig/files/patch-lib:MailScanner:Message.pm Thu Jan 1 01:00:00 1970 +++ /server-root/ports/mail/mailscanner/files/patch-lib:MailScanner:Message.pm Wed Nov 10 08:33:53 2004 @@ -0,0 +1,24 @@ +--- ../MailScanner-install-4.35.11.orig/lib/MailScanner/Message.pm Wed Nov 10 08:31:01 2004 ++++ lib/MailScanner/Message.pm Wed Nov 10 08:33:19 2004 +@@ -4043,6 +4043,8 @@ + $squashedtext =~ s#%([0-9a-f][0-9a-f])#chr(hex('0x' . $1))#gei; # Unescape + $squashedtext =~ s/\s+//g; # Remove any whitespace + $squashedtext =~ s/\\/\//g; ++ $squashedtext =~ s/(\<\/?[^>]*\>)*//ig; # Remove tags ++ #$squashedtext =~ s/^(\<\/?(br|p|ul)\>)*//ig; # Remove leading br, p, ul tags + #print STDERR "Text = \"$text\"\n"; + #print STDERR "1SquashedText = \"$squashedtext\"\n"; + #print STDERR "1LinkURL = \"$DisarmLinkURL\"\n"; +@@ -4055,9 +4057,11 @@ + $linkurl =~ s/\%a0//g; + $linkurl =~ s#%([0-9a-f][0-9a-f])#chr(hex('0x' . $1))#gei; # Unescape + $linkurl =~ s/\s+//; # Remove any whitespace ++ #$linkurl =~ s/(\<\/?[^>]*\>)*//ig; # Remove tags ++ #$linkurl =~ s/^(\<\/?(br|p|ul)\>)*//ig; # Remove leading br, p, ul tags + $linkurl =~ s/^(https?|ftp):\/\///; + $linkurl =~ s/\/.*$//; # Only compare up to the first '/' (hostname only) +- $linkurl =~ s/\<\/?(br|p)\>$//i; # Remove trailing <br> and <p> tags ++ $linkurl =~ s/(\<\/?(br|p|ul)\>)*$//ig; # Remove trailing br, p, ul tags + $linkurl =~ s/\/$//; # LinkURL is trimmed -- note + #print STDERR "2SquashedText = \"$squashedtext\"\n"; + #print STDERR "2LinkURL = \"$linkurl\"\n"; --- MailScanner-4.35.11.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?200411100744.iAA7i1DK079696>