diff options
author | manu <manu> | 2003-04-03 12:06:07 +0000 |
---|---|---|
committer | manu <manu> | 2003-04-03 12:06:07 +0000 |
commit | f108aab7a5a73483c9c556e375bbc1057a30f06d (patch) | |
tree | 95f682b5910e756fc1029badb2a06a856b6ffda3 | |
parent | 2695094c811617efb8e8670f109628a04609aef8 (diff) | |
download | pkgsrc-f108aab7a5a73483c9c556e375bbc1057a30f06d.tar.gz |
Bayesian spam filter written in C
-rw-r--r-- | mail/bogofilter/DESCR | 20 | ||||
-rw-r--r-- | mail/bogofilter/Makefile | 20 | ||||
-rw-r--r-- | mail/bogofilter/PLIST | 10 | ||||
-rw-r--r-- | mail/bogofilter/distinfo | 4 |
4 files changed, 54 insertions, 0 deletions
diff --git a/mail/bogofilter/DESCR b/mail/bogofilter/DESCR new file mode 100644 index 00000000000..baa9a60ff37 --- /dev/null +++ b/mail/bogofilter/DESCR @@ -0,0 +1,20 @@ +Bogofilter is a mail filter that classifies mail as spam or ham +(non-spam) by a statistical analysis of the message's header and +content (body). The program is able to learn from the user's +classifications and corrections. + +The statistical technique is known as the Bayesian technique and +its use for spam was first described by Paul Graham in his article +A Plan For Spam. Gary Robinson, in his weblog Rants, suggests some +refinements for improved discrimination between spam and ham. +Bogofilter's primary algorithm uses the f(w) parameter and the +Fisher inverse chi-square technique that he describes. + +Bogofilter is run by an MDA script to classify an incoming message +as spam or ham (using wordlists stored by BerkeleyDB). Bogofilter +provides processing for plain text and html. It supports multi-part +mime message with decoding of base64, quoted-printable, and +uuencoded text and ignores attachments, such as images. + +Bogofilter is written in C. Supported platforms: Linux, FreeBSD, +Solaris, OS X, HP-UX, AIX, ... diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile new file mode 100644 index 00000000000..d1ed4f2a5e5 --- /dev/null +++ b/mail/bogofilter/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/03 12:06:07 manu Exp $ +# + +DISTNAME= bogofilter-0.11.1.3 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bogofilter/} + +MAINTAINER= manu@netbsd.org +HOMEPAGE= http://bogofilter.sourceforge.net +COMMENT= Bayesian spam filter written in C + +DEPENDS+= db4:../../databases/db4 + +HAS_CONFIGURE= YES + +CONFIGURE_ARGS+= --with-db=${BUILDLINK_PREFIX.db4}/include/db4 +CONFIGURE_ARGS+= --prefix=${PREFIX} + +.include "../../databases/db4/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/bogofilter/PLIST b/mail/bogofilter/PLIST new file mode 100644 index 00000000000..29c25db9efb --- /dev/null +++ b/mail/bogofilter/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/03 12:06:07 manu Exp $ +bin/bogofilter +bin/bogoutil +bin/bogolexer +bin/bogoupgrade +etc/bogofilter.cf.example +man/man1/bogofilter.1 +man/man1/bogoutil.1 +man/man1/bogoupgrade.1 +man/man1/bogolexer.1 diff --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo new file mode 100644 index 00000000000..57abf18a46c --- /dev/null +++ b/mail/bogofilter/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/03 12:06:07 manu Exp $ + +SHA1 (bogofilter-0.11.1.3.tar.gz) = 3a3e32c02b6ea545e1fba45be54dc63b33e476f4 +Size (bogofilter-0.11.1.3.tar.gz) = 447122 bytes |