Bug 112522 - mail/Razor-agents has performance problem with SpamAssassin
Summary: mail/Razor-agents has performance problem with SpamAssassin
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-08 15:30 UTC by Michael Scheidell
Modified: 2007-06-15 17:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (2.26 KB, patch)
2007-05-08 15:30 UTC, Michael Scheidell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2007-05-08 15:30:05 UTC
(Vipul, thanks for releasing razor for public use)

from INSTALL on Spam Assassin 3.20:

  - Razor2

    If you plan to use Vipul's Razor, note that versions up to and
    including version 2.82 include a bug that will slow down the entire
    perl interpreter.  This bug has more details, and a patch:

    http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312

Fix: Patches to update Razor to 2.82_1
How-To-Repeat: use spamassassin ;-)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-08 22:27:25 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Michael Scheidell 2007-06-06 00:23:49 UTC
Any problem with this patch?

as the official maintainer of p5-Mail-SpamAssassin, I found a huge performance increase with these well documented, well tested patches.

for background, see this bug report on spamassassin bugtraq:

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312

We have been using these patches in two dozen production systems for almost a month.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-06 01:23:16 UTC
State Changed
From-To: feedback->open

maintainer timeout, feel free to commit!
Comment 4 Nils Vogels 2007-06-06 06:37:10 UTC
Edwin Groothuis wrote on 8-5-2007 23:27:
> Maintainer of mail/razor-agents,
>
> Please note that PR ports/112522 has just been submitted.
>   
My mail carrying the approval must have gotten lost in transit. No
problems with this patch at all!

Greets,

Nils
Comment 5 Michael Scheidell 2007-06-07 14:02:01 UTC
If not commited, please wait:

razor 2.8.4 fixes problems without patches.

see perldoc Changes:
       2.84 (May 10, 2007)
       o   Update discovery hostname.
       2.83 (May 8, 2007)
       o   Remove all uses of $' from code.  This removes a global regex
           engine slowdown.  [issues.apache.org #5312]
       o   Comment out or replace shell commands with Perl equivalents. 
This
           removes the prerequisites of uname(1) and GNU mkdir(1).

here are patches for 2.8.4: (delete the files/* patches I submitted, not 
needed anymore, already fixed: in 2.8.4)

diff -bBru /var/tmp/razor/Makefile ./Makefile
--- /var/tmp/razor/Makefile     Tue May  8 10:24:03 2007
+++ ./Makefile  Thu Jun  7 08:52:21 2007
@@ -6,7 +6,7 @@
 #

 PORTNAME=      razor-agents
-PORTVERSION=   2.82
+PORTVERSION=   2.84
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    razor
diff -bBru /var/tmp/razor/distinfo ./distinfo
--- /var/tmp/razor/distinfo     Fri Jun  2 20:26:24 2006
+++ ./distinfo  Thu Jun  7 08:53:43 2007
@@ -1,3 +1,3 @@
-MD5 (razor-agents-2.82.tar.bz2) = a79a798e52426261c6a2c4089b33872f
-SHA256 (razor-agents-2.82.tar.bz2) = 
e423d6abab60318700573978954b02e1d64f5061e0df762e8688208598ab7a02
-SIZE (razor-agents-2.82.tar.bz2) = 79021
+MD5 (razor-agents-2.84.tar.bz2) = 8b9a11a6ce020383c32c45d1530d77c2
+SHA256 (razor-agents-2.84.tar.bz2) = 
1e9eb8e4d562de79f01e059a7885e5e2a87f47688f146310a0400893edf3077c
+SIZE (razor-agents-2.84.tar.bz2) = 79196
Comment 6 Michael Scheidell 2007-06-13 01:55:32 UTC
freebsd committers:

still wanting for commit for either the 2.8.2_1 patches (or better yet) the update to 2.8.4 (which includes these patches)

Will be needing either 2.8.2_1 or 2.8.4 for my patches for SpamAssassin 3.2.1 (I am maintainer for p5-Mail-SpamAssassin)
both set in pr.

Can someone investigate this and commit or not?
Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-15 15:15:05 UTC
Nivo,

do you approve 2.84 update, as filed in audit trail of this PR?

http://www.freebsd.org/cgi/query-pr.cgi?pr=112522

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Define universe and tell me three examples.
Comment 8 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-15 15:17:09 UTC
State Changed
From-To: open->feedback

Maintainer's approval for 2.84 update requested 


Comment 9 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-15 15:17:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Maintainer's approval for 2.84 update requested
Comment 10 Nils Vogels 2007-06-15 16:51:34 UTC
Hey Pav,

Pav Lucistnik wrote on 15-6-2007 16:15:
> Nivo,
>
> do you approve 2.84 update, as filed in audit trail of this PR?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=112522
>
>   
Yes, approved!

Gr,

Nils
Comment 11 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-15 17:30:48 UTC
State Changed
From-To: feedback->open

Approved
Comment 12 Pav Lucistnik freebsd_committer freebsd_triage 2007-06-15 17:42:52 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 13 dfilter service freebsd_committer freebsd_triage 2007-06-15 17:43:40 UTC
pav         2007-06-15 16:43:34 UTC

  FreeBSD ports repository

  Modified files:
    mail/razor-agents    Makefile distinfo 
  Log:
  - Update to 2.84
  
  PR:             ports/112522
  Submitted by:   Michael Scheidell <scheidell@secnap.net>
  Approved by:    Nils Vogels <nivo@is-root.com> (maintainer)
  
  Revision  Changes    Path
  1.44      +1 -1      ports/mail/razor-agents/Makefile
  1.22      +3 -3      ports/mail/razor-agents/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"