notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
bmf Fast Bayesian Mail Filter compatible with maildrop and procmail
0.9.4_1,1 mail on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.4,1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-03-24 05:08:27
Last Update: 2024-02-24 16:41:42
Commit Hash: c8b3562
People watching this port, also watch:: rubygem-amq-protocol, mkvtoolnix, adzap, radns
License: GPLv2
WWW:
https://sourceforge.net/projects/bmf/
Description:
bmf is an extremely efficient Bayesian mail filter based on Paul Graham's article, "A Plan for Spam." It's fast, small, efficient, and more versatile than other Bayesian filters.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. /usr/local/share/licenses/bmf-0.9.4_1,1/catalog.mk
  2. /usr/local/share/licenses/bmf-0.9.4_1,1/LICENSE
  3. /usr/local/share/licenses/bmf-0.9.4_1,1/GPLv2
  4. bin/bmf
  5. bin/bmfconv
  6. share/man/man1/bmf.1.gz
  7. share/man/man1/bmfconv.1.gz
  8. share/doc/bmf/README
  9. @owner
  10. @group
  11. @mode
Collapse this list.
Dependency lines:
  • bmf>0:mail/bmf
To install the port:
cd /usr/ports/mail/bmf/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/bmf
  • pkg install bmf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: bmf
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1541791646 SHA256 (bmf-0.9.4.tar.gz) = 7eed21802f95df2321ac4c958f99e14d2809852a5708700b633e1abb032c9ce1 SIZE (bmf-0.9.4.tar.gz) = 36740

Packages (timestamps in pop-ups are UTC):
bmf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.9.4_1,10.9.4_1,10.9.4,10.9.4_1,10.9.4_1,1-0.9.4,1-
FreeBSD:13:quarterly0.9.4,10.9.4,10.9.4,10.9.4,10.9.4,10.9.4,10.9.4,10.9.4,1
FreeBSD:14:latest0.9.4_1,10.9.4_1,10.9.4,10.9.4_1,10.9.4_1,10.9.4,1-0.9.4,1
FreeBSD:14:quarterly0.9.4,10.9.4,1-0.9.4,10.9.4,10.9.4,10.9.4,10.9.4,1
FreeBSD:15:latest0.9.4_1,10.9.4_1,1n/a0.9.4,1n/a0.9.4,10.9.4,10.9.4,1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libdb-5.3.so : databases/db5
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for bmf-0.9.4_1,1: BDB=on: Berkeley DB support DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation MANPAGES=on: Build and/or install manual pages MYSQL=off: MySQL database support ===> Use 'make config' to modify these settings
Options name:
mail_bmf
USES:
bdb
pkg-message:
For install:
=== How to integrate bmf === For maildrop(1), use only one of the following examples. The first sample invokes bmf in its normal mode of operation and the second invokes bmf as a filter: ### Sample One # Invoke bmf and use return code to filter spam in one step exception { `bmf` if ( $RETURNCODE == 0 ) to $MAILDIR/spam } ### Sample Two # Invoke bmf as a filter exception { xfilter "bmf -p" if (/^X-Spam-Status: Yes/) to $MAILDIR/spam } For procmail(1), use only one of the following samples. SPAM will be filtered into $MAILDIR/spam. The first sample invokes bmf in its normal mode of operation and the second invokes bmf as a filter. ### begin sample one ### # Invoke bmf and use return code to filter spam in one step :0HB * ? bmf | formail -A"X-Spam-Status: Yes, tests=bmf" >>$MAILDIR/spam ### begin sample two ### # Invoke bmf as a filter :0 fw | bmf -p # Filter spam :0: ^X-Spam-Status: Yes $MAILDIR/spam If you put bmf in your maildrop or procmail scripts as suggested above, it will always register an email as either spam or non-spam. To reverse this registration and train bmf, the following mutt macros may be useful: macro index \ed "<enter-command>unset wait_key\n<pipe-entry>bmf -S\n<enter-command>set wait_key\n<save-message>=spam\n" "Tags a given message as SPAM" macro index \et "<pipe-entry>bmf -t\n<enter-command>set wait_key\n" "Tests a given message to see if it is SPAM" macro index \eu "<pipe-entry>bmf -N\n<enter-command>set wait_key\n<save-message>=inbox\n" "Untags a given message as SPAM" These will override these commands: <Esc>d = de-register as non-spam, register as spam, and move to spam folder. <Esc>t = test for spamicity. <Esc>u = de-register as spam, register as non-spam, and move to inbox folder. Please see the ${PREFIX}/share/bmf/README for further details.
Master Sites:
Expand this list (56 items)
Collapse this list.
  1. http://cfhcable.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  2. http://cytranet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  3. http://deac-ams.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  4. http://deac-fra.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  5. http://deac-riga.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  6. http://downloads.sourceforge.net/project/bmf/bmf/0.9.4/
  7. http://excellmedia.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  8. http://freefr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  9. http://gigenet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  10. http://ixpeering.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  11. http://jaist.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  12. http://jztkft.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  13. http://kumisystems.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  14. http://liquidtelecom.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  15. http://nchc.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  16. http://netactuate.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  17. http://netcologne.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  18. http://netix.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  19. http://onboardcloud.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  20. http://phoenixnap.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  21. http://razaoinfo.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  22. http://sinalbr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  23. http://sitsa.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  24. http://sonik.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  25. http://tenet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  26. http://udomain.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  27. http://ufpr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  28. http://versaweb.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  29. https://cfhcable.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  30. https://cytranet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  31. https://deac-ams.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  32. https://deac-fra.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  33. https://deac-riga.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  34. https://downloads.sourceforge.net/project/bmf/bmf/0.9.4/
  35. https://excellmedia.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  36. https://freefr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  37. https://gigenet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  38. https://ixpeering.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  39. https://jaist.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  40. https://jztkft.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  41. https://kumisystems.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  42. https://liquidtelecom.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  43. https://nchc.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  44. https://netactuate.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  45. https://netcologne.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  46. https://netix.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  47. https://onboardcloud.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  48. https://phoenixnap.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  49. https://razaoinfo.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  50. https://sinalbr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  51. https://sitsa.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  52. https://sonik.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  53. https://tenet.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  54. https://udomain.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  55. https://ufpr.dl.sourceforge.net/project/bmf/bmf/0.9.4/
  56. https://versaweb.dl.sourceforge.net/project/bmf/bmf/0.9.4/
Collapse this list.

Number of commits found: 34

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.4_1,1
24 Feb 2024 16:41:42
commit hash: c8b35623d0f246ce86a9252254c56a84aaed5995commit hash: c8b35623d0f246ce86a9252254c56a84aaed5995commit hash: c8b35623d0f246ce86a9252254c56a84aaed5995commit hash: c8b35623d0f246ce86a9252254c56a84aaed5995 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
mail/bmf: Moved man to share/man

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.9.4,1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.9.4,1
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
mail: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ashish@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam David <adam@FreeBSD.org>
  *  Adam McDougall <mcdouga9@egr.msu.edu>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Deiter <tiamat@komi.mts.ru>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.9.4,1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.9.4,1
23 Sep 2020 18:39:56
Revision:549780Original commit files touched by this commit
0mp search for other commits by this committer
mail/bmf: Revert erroneous update

bmf was incorrectly "updated" from 0.9.4 to 0.84 in r483094. The problem is
that 0.9.4 is a newer version than 0.84. According to Repology[1], other
packaging systems got it right. Let's correct the mistake and introduce
version 0.9.4 back into our ports tree.

[1]: https://repology.org/project/bmf/versions

PR:		232493
Submitted by:	reg@
0.84_1
13 Aug 2019 22:29:43
Revision:508882Original commit files touched by this commit
mat search for other commits by this committer
onvert to UCL & cleanup pkg-message (categories l-m)
0.84_1
28 Oct 2018 09:26:13
Revision:483247Original commit files touched by this commit
tobik search for other commits by this committer
Cleanup mail/bmf

- Cleanup MYSQL option: properly declare libmysqlclient dependency,
  unbreak with other mysql version/variants
- Respect CC and CFLAGS
- Remove post-patch and simplify with BINARY_ALIAS
- Do not strip binaries twice
- Generate manpages and install them again

PR:		232493
0.84
27 Oct 2018 01:57:25
Revision:483094Original commit files touched by this commit
swills search for other commits by this committer
mail/bmf: Update to 0.84

PR:		232493
Submitted by:	Nathan <ndowens@yahoo.com>
0.9.4_3
20 Jan 2017 20:33:31
Revision:431996Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/
0.9.4_3
08 Aug 2016 13:46:50
Revision:419843Original commit files touched by this commit
mat search for other commits by this committer
USE_BDB cleanup.

- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
0.9.4_3
11 Dec 2015 11:09:26
Revision:403518Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE
- Switch to options helpers
0.9.4_3
22 Nov 2014 18:42:44
Revision:373086Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
0.9.4_3
21 Aug 2014 22:50:30
Revision:365599Original commit files touched by this commit
mandree search for other commits by this committer
Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
0.9.4_2
16 Jul 2014 03:00:46
Revision:362023Original commit files touched by this commit
adamw search for other commits by this committer
Add DOCS option for ports with PORTDOCS in plist.
0.9.4_2
18 Apr 2014 02:53:14
Revision:351515Original commit files touched by this commit
adamw search for other commits by this committer
Use OPTIONS helpers, pass proper configure arguments,
and install docs into DOCSDIR, not DATADIR. PORTREVISION
bump for that last change.
0.9.4_1
09 Jan 2014 23:29:32
Revision:339301Original commit files touched by this commit
bapt search for other commits by this committer
Allow packaging as a USER
0.9.4_1
03 Jan 2014 01:00:05
Revision:338512Original commit files touched by this commit
mandree search for other commits by this committer
- Attempt to fix build on systems without gcc (error was:
- Stageify.
- No longer silence post-* targets.
0.9.4_1
20 Sep 2013 19:59:14
Revision:327742Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail)
0.9.4_1
26 Aug 2012 15:06:48
Original commit files touched by this commit
adamw search for other commits by this committer
Convert to new OPTIONS framework.

In the process, this also fixes BDB support, and actually enables
MYSQL support, which as far as I can tell was never actually enabled
in the 9 years this port has been in the tree.
0.9.4_1
28 Sep 2011 06:58:39
Original commit files touched by this commit
vanilla search for other commits by this committer
Fix build error with clang.
0.9.4_1
23 Sep 2011 22:26:39
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
0.9.4_1
03 Jul 2011 13:53:52
Original commit files touched by this commit
ohauer search for other commits by this committer
- remove MD5
0.9.4_1
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
0.9.4_1
22 Aug 2009 00:28:34
Original commit files touched by this commit Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with M
0.9.4_1
13 Dec 2006 16:14:17
Original commit files touched by this commit
linimon search for other commits by this committer
Reset seanc@FreeBSD.or due to maintainer-timeouts and no response to email.

Hat:            portmgr
0.9.4_1
25 Mar 2006 23:32:48
Original commit files touched by this commit
krion search for other commits by this committer
Pet portlint.
0.9.4_1
22 Jan 2006 12:50:54
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
0.9.4_1
08 Jun 2004 14:07:35
Original commit files touched by this commit
vs search for other commits by this committer
Fix typo in conditional.

PR:             ports/65415
Submitted by:   Jos Backus
Approved by:    maintainer-silence
0.9.4_1
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
0.9.4_1
13 Apr 2003 21:56:57
Original commit files touched by this commit
seanc search for other commits by this committer
By default, bmf should use the system's db library and not bdb3.  Not bumping
portversion because I don't know if .db files are compatible from one lib to
the next (I suspect they're not).
0.9.4_1
04 Apr 2003 22:30:16
Original commit files touched by this commit
seanc search for other commits by this committer
Fix bmf to work correctly with db3, db4, and db41.

Noticed by:     Keltia on IRC
0.9.4
25 Mar 2003 00:46:38
Original commit files touched by this commit
seanc search for other commits by this committer
Fix type-o in pkg-message

Submitted by:   Jos Backus <jos@catnook.com>
0.9.4
24 Mar 2003 05:07:52
Original commit files touched by this commit
seanc search for other commits by this committer
Add bmf: a fast (fastest filter I know of) Bayesian Mail Filter (adaptive
spam filter && has hooks for mutt!).  Works well with maildrop, procmail,
and can be integrated with all known mailing list software.

Number of commits found: 34