summaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-01-20 23:47:23 +0000
committerhubertf <hubertf@pkgsrc.org>2004-01-20 23:47:23 +0000
commite5f178c51f57512a0368c3b78c14ca7233be2915 (patch)
treeba00f98ff2378afeef25502d2e32f10de42bea4f /mail/spamprobe
parentd74ecbc8384467e34aa67af1b2cebceb4454979b (diff)
downloadpkgsrc-e5f178c51f57512a0368c3b78c14ca7233be2915.tar.gz
Update spamprobe to 0.9g2.
Patch provided by Ossi Herrala <$MAINTAINER> in private mail. CHANGED: * This release moves from Paul's original formula to a slightly modified one that yields more evenly distributed scores. To continue using old formula, use -o orig-score command line option. ADDED: * -C <number> command line option. This tells SpamProbe to assign a default, somewhat neutral, probability to any term that does not have a weighted (good count doubled) count of at least specified number in the database. This prevents terms which have been seen only a few times from having an unreasonable influence on the score of an email containing them. Default count have changed. It is now 5. Old was 3. * Added -o <option_name> command line option to specify alternate way of scoring. Consult README.txt for more info. * Added -l <number> command line option. Changes the spam probability threshold for emails from the default (0.7) to <number>. * Added tokenize command. Prints the tokens found in the file one word per line in human readable format with spam probability, good count, spam count, message count, and word in columns separated by whitespace. IMPROVED: * -H command line option to add more headers to scan. * Improved performance by removing some redundant calculations and reducing the amount of I/O in train-* mode.
Diffstat (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/Makefile5
-rw-r--r--mail/spamprobe/distinfo6
2 files changed, 6 insertions, 5 deletions
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 412754f34b9..d1caa0bb48f 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2004/01/05 22:11:15 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2004/01/20 23:47:23 hubertf Exp $
-DISTNAME= spamprobe-0.9e
+DISTNAME= spamprobe-0.9g2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=spamprobe/}
@@ -13,6 +13,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-default-8bit
CONFIGURE_ARGS+= --with-db=${BUILDLINK_PREFIX.db4}/include/db4
.include "../../databases/db4/buildlink3.mk"
diff --git a/mail/spamprobe/distinfo b/mail/spamprobe/distinfo
index 9f7084e53fe..d697129bdb2 100644
--- a/mail/spamprobe/distinfo
+++ b/mail/spamprobe/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/01/20 03:03:46 lukem Exp $
+$NetBSD: distinfo,v 1.4 2004/01/20 23:47:23 hubertf Exp $
-SHA1 (spamprobe-0.9e.tar.gz) = 1b16747ae8edc520c30d3921229342097afadf04
-Size (spamprobe-0.9e.tar.gz) = 147172 bytes
+SHA1 (spamprobe-0.9g2.tar.gz) = 2e2c495d41b9f6560b420c1c577969ae0c160d8b
+Size (spamprobe-0.9g2.tar.gz) = 154996 bytes
SHA1 (patch-aa) = eb8e7de9a55156911d69ecfd63cb640d80cf9053