| Port details on branch 2026Q3 |
- bogofilter-lmdb1 Fast, teachable, learning spam detector (LMDB 1.0 database)
- 1.3.0.r1_1 mail
=0 1.3.0.r1_1Version of this port present on the latest quarterly branch. DEPRECATED: This port will be renamed to bogofilter at some point, see UPDATING
EXPIRATION DATE: 2026-12-31
- Maintainer: mandree@FreeBSD.org
 - Port Added: 2026-07-27 21:36:17
- Last Update: 2026-07-24 18:59:24
- Commit Hash: 0ef4282
- License: GPLv2+
- WWW:
- https://bogofilter.sourceforge.io/
- 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.
The upstream version would theoretically also support QDBM and
Tokyo Cabinet, but these are not currently available as FreeBSD ports.
Berkeley DB support is being phased out.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- bogofilter-lmdb1>0:mail/bogofilter-lmdb1
- Conflicts:
- CONFLICTS_INSTALL:
- bogofilter
- bogofilter-kc
- bogofilter-sqlite
- To install the port:
- cd /usr/ports/mail/bogofilter-lmdb1/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/bogofilter-lmdb1
- pkg install bogofilter-lmdb1
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: bogofilter-lmdb1
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1744986765
SHA256 (bogofilter-1.3.0.rc1.tar.xz) = 0bc4b8300a106e7c5a4110c052272cfe64bb096ec5e7f552a44c3f41b574b29b
SIZE (bogofilter-1.3.0.rc1.tar.xz) = 764724
Packages (timestamps in pop-ups are UTC):
- Master port: mail/bogofilter
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- perl5>=5.42.r<5.43 : lang/perl5.42
- Library dependencies:
-
- liblmdb.so.1 : databases/lmdb
- libgsl.so : math/gsl
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for bogofilter-lmdb1-1.3.0.r1_1:
DOCS=on: Build and/or install documentation
GSL=on: Link with system-wide GSL dynamically (recommended)
UNICODE=on: Normalize tokens to Unicode (UTF-8) (recommended)
===> Use 'make config' to modify these settings
- Options name:
- mail_bogofilter-lmdb1
- USES:
- cpe perl5 shebangfix tar:xz iconv
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| This is a slave port. You may also want to view the commits to the master port: mail/bogofilter |
| Commit | Credits | Log message |
1.3.0.r1_1 24 Jul 2026 18:59:24
    |
Gleb Popov (arrowd)  Author: Matthias Andree |
mail/bogofilter*: fix unaligned access on some databases
This was found with the undefined behavior sanitizer,
and affects the generic code (independent of the concrete database
back-end in use) so we need to bump all PORTREVISIONS.
The bug was that internal code was casting a void * to a uint32_t *
without ensuring alignment of the source value.
Let's use memcpy to a statically-sized array and let the optimizer
handle it for us. Adds files/patch-src_datastore.c.
PR: 297024
MFH: 2026Q3
(cherry picked from commit edee11f3ade730ece6643703213c3823d67b8138) |
1.3.0.r1 24 Jul 2026 18:55:23
    |
Gleb Popov (arrowd)  Author: Matthias Andree |
mail/bogofilter*: Prepare LMDB 1.0 transition
Here's what we do now:
- mail/bogofilter currently depends on lmdb0, a 0.9.X port, so
it continues to work as before
- add a new mail/bogofilter-lmdb1 port that depends on lmdb, the 1.0
version of the LMDB database.
- add the upstream patch for bogofilter 1.3.0.rc1 that I made and
that delphij@ prepared for integration into the ports tree - thanks!
Here's the plan for end of 2026:
- AT THE SAME TIME:
- upgrade mail/bogofilter to depend on LMDB 1.0
- portrm mail/bogofilter-lmdb1
- add a MOVED entry to redirect from bogofilter-lmdb1 to bogofilter.
While here, clean up and rearrange the Makefiles.
PR: 296519
Reviewed by: arrowd
Pull Request: https://github.com/freebsd/freebsd-ports/pull/551
(cherry picked from commit 9d0203aad0254f4adb0e81c242ad6ec8717647a5) |