FreeBSD Bugzilla – Attachment 78218 Details for
Bug 112522
mail/Razor-agents has performance problem with SpamAssassin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.26 KB, created by
Michael Scheidell
on 2007-05-08 15:30:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Michael Scheidell
Created:
2007-05-08 15:30:05 UTC
Size:
2.26 KB
patch
obsolete
>--- /var/tmp/razor/Makefile Tue May 8 10:24:03 2007 >+++ ./Makefile Tue May 8 10:21:27 2007 >@@ -7,6 +7,7 @@ > > PORTNAME= razor-agents > PORTVERSION= 2.82 >+PORTREVISION= 1 > CATEGORIES= mail > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= razor >diff -bBru /var/tmp/razor/files/patch-Wiplash ./files/patch-Wiplash >--- /var/tmp/razor/files/patch-Wiplash Tue May 8 10:26:32 2007 >+++ ./files/patch-Wiplash Tue May 8 10:08:09 2007 >@@ -0,0 +1,13 @@ >+--- olib/Razor2/Signature/Whiplash.pm 10 Jun 2005 19:00:41 -0000 >1.1.1.3 >++++ lib/Razor2/Signature/Whiplash.pm 19 Apr 2007 11:04:08 -0000 >+@@ -789,8 +789,8 @@ >+ } >+ } >+ >+- last unless $text =~ m"http://"; >+- $text = $'; >++ last unless $text =~ m"http://(.*)"; >++ $text = $1; >+ >+ } >+ >diff -bBru /var/tmp/razor/files/patch-deBase64 ./files/patch-deBase64 >--- /var/tmp/razor/files/patch-deBase64 Tue May 8 10:26:23 2007 >+++ ./files/patch-deBase64 Tue May 8 10:08:41 2007 >@@ -0,0 +1,15 @@ >+--- olib/Razor2/Preproc/deBase64.pm 8 Jun 2002 01:51:54 -0000 >1.1.1.1 >++++ lib/Razor2/Preproc/deBase64.pm 19 Apr 2007 11:04:08 -0000 >+@@ -36,8 +36,9 @@ >+ sub extract_base64 { >+ my ($self, $text) = @_; >+ >+- if ($$text =~ /Content-Transfer-Encoding: base64/si) { >+- $' =~ /\r?\n\r?\n([^=]*)/s; # match to end of data or '=' >++ if ($$text =~ /Content-Transfer-Encoding: base64(.*)$/si) { >++ my $rhs = $1; >++ $rhs =~ /\r?\n\r?\n([^=]*)/s; # match to end of data or '=' >+ return $1 . "=="; >+ } >+ return undef; >+ >diff -bBru /var/tmp/razor/files/patch-deQP ./files/patch-deQP >--- /var/tmp/razor/files/patch-deQP Tue May 8 10:26:11 2007 >+++ ./files/patch-deQP Tue May 8 10:08:28 2007 >@@ -0,0 +1,15 @@ >+--- olib/Razor2/Preproc/deQP.pm 10 Aug 2002 21:36:24 -0000 >1.1.1.1 >++++ lib/Razor2/Preproc/deQP.pm 19 Apr 2007 11:04:08 -0000 >+@@ -34,8 +34,9 @@ >+ sub extract_qp { >+ my ($self, $text) = @_; >+ >+- if ($$text =~ /Content-Transfer-Encoding: quoted-printable/sim) { >+- $' =~ /\r?\n\r?\n(.*)$/s; >++ if ($$text =~ /Content-Transfer-Encoding: >quoted-printable(.*)$/sim) { >++ my $rhs = $1; >++ $rhs =~ /\r?\n\r?\n(.*)$/s; >+ return $1; >+ } >+ return undef; >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 112522
: 78218