pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update spamprobe to 0.9h. ChangeLog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23ba138096a1
branches:  trunk
changeset: 467600:23ba138096a1
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Tue Feb 03 20:49:34 2004 +0000

description:
Update spamprobe to 0.9h. ChangeLog:

* New manual page
* spamprobe.cc (process_stream): Added -o tokenized option
  to allow people to use an external tokenizer with spamprobe.
* SpamFilter.cc (scoreToken): Reduced sorting overhead by
  pre-computing and integer sort value with sorting priorities
  reflected in the value.  This eliminates several calculations
  inside of the sort routine.
* SpamFilter.cc (computeRatio): Capped ratios in calculations to
  within MIN_PROB and MAX_PROB.  Widened that range.  This avoids
  problems with div/0 and makes it easier to sort terms.
* spamprobe.cc (dump_words): dump command can now optionally
  accept a regular expression as an argument and will only dump
  terms matching the regular expression.
  (purge_terms): Added purge-terms command to purge from the
  database all terms matching a regular expression.

Patch submitted by Ossi Herrala <PGP: 0x78CD0337> in private email.

diffstat:

 doc/CHANGES                     |   3 ++-
 mail/spamprobe/Makefile         |   4 ++--
 mail/spamprobe/distinfo         |   7 +++----
 mail/spamprobe/patches/patch-aa |  25 -------------------------
 4 files changed, 7 insertions(+), 32 deletions(-)

diffs (67 lines):

diff -r 73a19b202927 -r 23ba138096a1 doc/CHANGES
--- a/doc/CHANGES       Tue Feb 03 20:38:39 2004 +0000
+++ b/doc/CHANGES       Tue Feb 03 20:49:34 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4674 2004/02/03 17:49:53 xtraeme Exp $
+$NetBSD: CHANGES,v 1.4675 2004/02/03 20:49:34 hubertf Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -561,3 +561,4 @@
        Added libgdiplus-0.1 [recht 2004-02-03]
        Added mini_httpd-1.19 [reed 2004-02-03]
        Updated dosbox to 0.61 [xtraeme 2004-02-03]
+       Updated spamprobe to 0.9h [hubertf 2004-02-03]
diff -r 73a19b202927 -r 23ba138096a1 mail/spamprobe/Makefile
--- a/mail/spamprobe/Makefile   Tue Feb 03 20:38:39 2004 +0000
+++ b/mail/spamprobe/Makefile   Tue Feb 03 20:49:34 2004 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2004/01/20 23:47:23 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2004/02/03 20:49:34 hubertf Exp $
 
-DISTNAME=      spamprobe-0.9g2
+DISTNAME=      spamprobe-0.9h
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=spamprobe/}
 
diff -r 73a19b202927 -r 23ba138096a1 mail/spamprobe/distinfo
--- a/mail/spamprobe/distinfo   Tue Feb 03 20:38:39 2004 +0000
+++ b/mail/spamprobe/distinfo   Tue Feb 03 20:49:34 2004 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/01/20 23:47:23 hubertf Exp $
+$NetBSD: distinfo,v 1.5 2004/02/03 20:49:34 hubertf Exp $
 
-SHA1 (spamprobe-0.9g2.tar.gz) = 2e2c495d41b9f6560b420c1c577969ae0c160d8b
-Size (spamprobe-0.9g2.tar.gz) = 154996 bytes
-SHA1 (patch-aa) = eb8e7de9a55156911d69ecfd63cb640d80cf9053
+SHA1 (spamprobe-0.9h.tar.gz) = 34a4d5dc622570cc109a92f1a4b2222d4d3b08ff
+Size (spamprobe-0.9h.tar.gz) = 161164 bytes
diff -r 73a19b202927 -r 23ba138096a1 mail/spamprobe/patches/patch-aa
--- a/mail/spamprobe/patches/patch-aa   Tue Feb 03 20:38:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/01/20 03:03:46 lukem Exp $
-
---- spamprobe.1.orig   2003-08-03 01:25:53.000000000 +1000
-+++ spamprobe.1
-@@ -121,7 +121,7 @@ the database directory does not already 
- .TP
- .BI -d " directory"
- By default SpamProbe stores its database in a directory named
--\.spamprobe under your home directory.  The -d option allows you to
-+\&.spamprobe under your home directory.  The -d option allows you to
- specify a different directory to use.  This is necessary if your
- home directory is NFS mounted for example.
- .TP
-@@ -467,9 +467,11 @@ That having been said, my .procmailrc fi
- MAILDIR=$HOME/IMAP
- .IP
- :0 c
-+.br
- saved
- .IP
- :0
-+.br
- SCORE=| /home/brian/bin/spamprobe receive
- .br
- :0 wf



Home | Main Index | Thread Index | Old Index