BSD Ports

mail/bogofilter-bdb 1.3.0.r1 MidnightBSD

Fast, teachable, learning spam detector

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
b2dfe62186
License
gpl2
Categories
mail

Description

Bogofilter is a trainable email spam detector.

Bogofilter takes an email message or other text on standard input, parses it into words, does a statistical check against databases of "good" and "bad" words, and returns a status code indicating whether or not the message is spam. Bogofilter decodes base64 or quoted-printable encoded texts and ignores non-text attachments and HTML comments.

The supported database backends are LMDB, Kyoto Cabinet and SQLite3, and for a while still Berkeley DB. The upstream version would theoretically also support QDBM and Tokyo Cabinet, but these are not currently available as FreeBSD ports.

Version history 1

  1. 1.3.0.rc1 b2dfe62186

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install bogofilter-bdb

From mports:

cd /usr/mports/mail/bogofilter-bdb && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bogofilter-bdb>0:mail/bogofilter-bdb

Dependencies

No port depends on this one.

Configuration

Options name: mail_bogofilter

OptionDefaultDescription
DOCSoff
GSLonLink with system-wide GSL dynamically (recommended)
UNICODEonNormalize tokens to Unicode (UTF-8) (recommended)
USES
cpe perl5 shebangfix tar:xz
Service scripts
none
Conflicts with
bogofilter-sqlite bogofilter bogofilter-kc

Files

Manual pages 8
  • bf_compact(1)
  • bf_copy(1)
  • bf_tar(1)
  • bogofilter(1)
  • bogolexer(1)
  • bogotune(1)
  • bogoupgrade(1)
  • bogoutil(1)
pkg-plist 18
  • bin/bf_compact
  • bin/bf_copy
  • bin/bf_tar
  • bin/bogofilter
  • bin/bogogrep
  • bin/bogolexer
  • bin/bogotune
  • bin/bogoutil
  • bin/bogoupgrade
  • etc/bogofilter.cf.example
  • share/man/man1/bf_compact.1.gz
  • share/man/man1/bf_copy.1.gz
  • share/man/man1/bf_tar.1.gz
  • share/man/man1/bogofilter.1.gz
  • share/man/man1/bogolexer.1.gz
  • share/man/man1/bogotune.1.gz
  • share/man/man1/bogoupgrade.1.gz
  • share/man/man1/bogoutil.1.gz
distinfo 1
FileSizeSHA256
bogofilter-1.3.0.rc1.tar.xz7647240bc4b8300a106e7c5a4110c052272cfe64bb096ec5e7f552a44c3f41b574b29b
Master sites 2
  • SF/bogofilter/bogofilter-current/bogofilter-1.3.0.beta/
  • https://gitlab.com/-/project/12408342/uploads/647db3bd2f28a1f91bdd3bb1945d91fe/

Commit history 1

DateCommitCreditsLog message
b2dfe62186 Lucas Holt mail/bogofilter-bdb: update to 1.3.0.rc1 (#732)
Update `mail/bogofilter-bdb` (master) and its `mail/bogofilter` slave from 1.2.5 to 1.3.0.rc1, matching FreeBSD. ## The real bug this bump exposed **bogofilter 1.3.0 changed configure's default backend from `db` to `sqlite3`** (`WITH_DB_ENGINE=sqlite3` at `configure:9554`). The mports master never passed `--with-database` — it relied on the 1.2.5 default. The first master build therefore produced a **SQLite** binary that still linked `libdb-5.3` via `BF_LIBS` and **passed its entire test suite**. Only `bogofilter -V` reporting `bogofilter-sqlite … Database: SQLite 3.50.4` caught it. Fixed with an explicit `--with-database=db` inside the master's `.if MASTERDIR == .CURDIR` guard; it now reports `Database: Berkeley DB 5.3.28`. …