summaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-02-03 20:49:34 +0000
committerhubertf <hubertf@pkgsrc.org>2004-02-03 20:49:34 +0000
commit9c08e8fe2c966c7eb61f09844cb9e7b4a41399d5 (patch)
treefcbe1821c306f88ea46ef6634c971dc5477afcf9 /mail/spamprobe
parent7312a8a610c5ea9a66ad6ff13eafcb559f74f883 (diff)
downloadpkgsrc-9c08e8fe2c966c7eb61f09844cb9e7b4a41399d5.tar.gz
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 (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/Makefile4
-rw-r--r--mail/spamprobe/distinfo7
-rw-r--r--mail/spamprobe/patches/patch-aa25
3 files changed, 5 insertions, 31 deletions
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index d1caa0bb48f..038074f3b19 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -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 --git a/mail/spamprobe/distinfo b/mail/spamprobe/distinfo
index d697129bdb2..f55be504145 100644
--- a/mail/spamprobe/distinfo
+++ b/mail/spamprobe/distinfo
@@ -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 --git a/mail/spamprobe/patches/patch-aa b/mail/spamprobe/patches/patch-aa
deleted file mode 100644
index 7f01e55b17e..00000000000
--- a/mail/spamprobe/patches/patch-aa
+++ /dev/null
@@ -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