Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: pkgsrc-changes
Date: 02/03/2004 20:49:34
Module Name:	pkgsrc
Committed By:	hubertf
Date:		Tue Feb  3 20:49:34 UTC 2004

Modified Files:
	pkgsrc/doc: CHANGES
	pkgsrc/mail/spamprobe: Makefile distinfo
Removed Files:
	pkgsrc/mail/spamprobe/patches: patch-aa

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.4674 -r1.4675 pkgsrc/doc/CHANGES
cvs rdiff -r1.7 -r1.8 pkgsrc/mail/spamprobe/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/mail/spamprobe/distinfo
cvs rdiff -r1.1 -r0 pkgsrc/mail/spamprobe/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.