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) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
bsfilter Bayesian spam filter written in Ruby
1.0.19_3 mail on this many watch lists=0 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 1.0.19_3Version 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: 2004-03-01 09:01:18
Last Update: 2023-01-14 23:08:33
Commit Hash: 18c6e18
Also Listed In: ruby
License: GPLv2
WWW:
https://en.sourceforge.jp/projects/bsfilter/
Description:
bsfilter is a spam filter using Bayesian(statistical) algorithm. - a filter which distinguishes spam and non-spam mail - support mails written in English and Japanese language - written in Ruby - support 3 methods for access -- traditional Unix-style filter. study and judge local files or pipe -- IMAP. study and judge mails in an IMAP server. IMAP over SSL supported -- POP proxy. run between POP server and MUA. POP over SSL supported - distributed under GPL
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 (22 items)
Collapse this list.
  1. /usr/local/share/licenses/bsfilter-1.0.19_3/catalog.mk
  2. /usr/local/share/licenses/bsfilter-1.0.19_3/LICENSE
  3. /usr/local/share/licenses/bsfilter-1.0.19_3/GPLv2
  4. bin/bsfilter
  5. share/examples/bsfilter/bsfilter.conf.sample
  6. share/examples/bsfilter/dot-qmail.sample
  7. share/examples/bsfilter/mda/maildrop/mailfilter.header
  8. share/examples/bsfilter/mda/procmail/procmailrc.black_gray
  9. share/examples/bsfilter/mda/procmail/procmailrc.header
  10. share/examples/bsfilter/mda/procmail/procmailrc.status
  11. share/examples/bsfilter/mua/mew3/bs_clean
  12. share/examples/bsfilter/mua/mew3/bs_mark
  13. share/examples/bsfilter/mua/mew3/bs_spam
  14. share/examples/bsfilter/mua/mew3/mew.el
  15. share/examples/bsfilter/mua/mew4/emacs.el
  16. share/examples/bsfilter/mua/mew4/mew.el
  17. share/examples/bsfilter/mua/mew5/mew.el
  18. share/examples/bsfilter/mua/mew6/mew.el
  19. share/examples/bsfilter/mua/mew6.4/mew.el
  20. @owner
  21. @group
  22. @mode
Collapse this list.
Dependency lines:
  • bsfilter>0:mail/bsfilter
To install the port:
cd /usr/ports/mail/bsfilter/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/bsfilter
  • pkg install bsfilter
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: bsfilter
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (bsfilter-1.0.19.tgz) = 8aa1d713cc848b20d678eb7a5f24bec1879860d023701644bfd426a587998ac9 SIZE (bsfilter-1.0.19.tgz) = 78660

Packages (timestamps in pop-ups are UTC):
bsfilter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.19_31.0.19_31.0.19_31.0.19_31.0.19_3-1.0.19_3-
FreeBSD:13:quarterly1.0.19_31.0.19_31.0.19_31.0.19_31.0.19_31.0.19_31.0.19_31.0.19_3
FreeBSD:14:latest1.0.19_31.0.19_31.0.19_31.0.19_31.0.19_31.0.19_3-1.0.19_3
FreeBSD:14:quarterly1.0.19_31.0.19_3-1.0.19_31.0.19_31.0.19_31.0.19_31.0.19_3
FreeBSD:15:latest1.0.19_31.0.19_3n/a1.0.19_3n/a1.0.19_31.0.19_31.0.19_3
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby30 : lang/ruby30
Runtime dependencies:
  1. rubygem-gdbm>=2.0.0,2 : databases/rubygem-gdbm
  2. ruby30 : lang/ruby30
  3. rubygem-sdbm>=1.0.0 : databases/rubygem-sdbm
Patch dependencies:
  1. ruby30 : lang/ruby30
Extract dependencies:
  1. ruby30 : lang/ruby30
This port is required by:
for Run
  1. mail/claws-mail-bsfilter

Configuration Options:
===> The following configuration options are available for bsfilter-1.0.19_3: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
mail_bsfilter
USES:
ruby shebangfix tar:tgz
pkg-message:
For install:
Before actually using it, it is necessary to prepare a word database. 1. The word contained in clean mail is counted. $ bsfilter --add-clean ~/Maildir/cur/* or $ cd ~/Maildir/cur/ ; ls | xargs bsfilter -c 2. The word in spam is counted. $ bsfilter --add-spam ~/Maildir/.spam/cur/* or $ cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s 3. A database is updated for every word. $ bsfilter -u
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://osdn.net/dl/bsfilter/
Collapse this list.

Number of commits found: 46

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.19_3
14 Jan 2023 23:08:33
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby

Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
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)
1.0.19_3
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)
1.0.19_3
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)
1.0.19_3
23 Apr 2022 14:11:44
commit hash: 755b965d7fa034bea2e87da4cb0df86de0862167commit hash: 755b965d7fa034bea2e87da4cb0df86de0862167commit hash: 755b965d7fa034bea2e87da4cb0df86de0862167commit hash: 755b965d7fa034bea2e87da4cb0df86de0862167 files touched by this commit
MANTANI Nobutaka (nobutaka) search for other commits by this committer
mail/bsfilter: Add RUN_DEPENDS on databases/rubygem-sdbm for Ruby 3.x.
1.0.19_3
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.
1.0.19_3
24 Jul 2020 06:28:59
Revision:543005Original commit files touched by this commit
rigoletto search for other commits by this committer
Mk/bsd.sites.mk: Update URL of MASTER_SITE_OSDN to one that supports
geographical load balancing

- update all affected ports

PR:		244164
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Differential Revision:	https://reviews.freebsd.org/D24955
1.0.19_3
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)
1.0.19_3
02 Apr 2019 08:02:30
Revision:497555Original commit files touched by this commit
meta search for other commits by this committer
databases/ruby-gdbm: Gemify gdbm

since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also
use the gdbm gem because it is a gem!

- Add MOVED entry
- Bump PORTEPOCH because PORTVERSION goes barwards
- Update pkg-descr and WWW
- Remove unnecessary pkg-message

[1] https://bugs.ruby-lang.org/issues/5481

Update lang/ruby* ports:

- Do not build gdbm together with Ruby interpreter, but build as a rubygem
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.19_2
24 Mar 2018 21:12:13
Revision:465484Original commit files touched by this commit
sunpoet search for other commits by this committer
Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN

PR:		225609
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
1.0.19_2
24 Jun 2017 16:32:00
Revision:444228Original commit files touched by this commit
sunpoet search for other commits by this committer
Pass maintainership to ports@

PR:		220255
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
1.0.19_2
28 Jan 2017 11:07:27
Revision:432618Original commit files touched by this commit
rene search for other commits by this committer
mail/bsfilter: remove optional dependency on expired japanese/ruby-mecab and
bump PORTREVISION
1.0.19_1
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.0.19_1
19 Oct 2015 14:50:52
Revision:399684Original commit files touched by this commit
amdmi3 search for other commits by this committer
Improve shebangfix framework

- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
1.0.19_1
20 Sep 2015 20:54:09
Revision:397461Original commit files touched by this commit
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (G-P).
1.0.19_1
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
1.0.19_1
18 Oct 2014 06:47:26
Revision:371093Original commit files touched by this commit
marino search for other commits by this committer
mail/bsfilter: Remove @dirrm, unmask cmds, use COPYTREE over CP

PR:		194370
submitted by:	maintainer (Yasuhiro KIMURA)
1.0.19_1
29 Jul 2014 19:11:53
Revision:363374Original commit files touched by this commit
adamw search for other commits by this committer
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...

Approved by:	portmgr (not really, but touches unstaged ports)
1.0.19_1
30 Mar 2014 13:47:39
Revision:349619Original commit files touched by this commit
swills search for other commits by this committer
- Include ruby_OLD_CMD so that shebangfix works properly
- Bump PORTREVISION due to package change

PR:		ports/183204
Reported by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer, submitter)
Pointyhat to:	swills
1.0.19
30 Mar 2014 00:13:14
Revision:349599Original commit files touched by this commit
swills search for other commits by this committer
- Update to 1.0.19
- Stage
- Use more proper EXAMPLES option instead of DOCS
- Assign maintainership to submitter

PR:		ports/183204
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	maintainer timeout (info@otsune.com, >5 months)
1.0.17
15 Feb 2014 10:12:46
Revision:344344Original commit files touched by this commit
miwi search for other commits by this committer
- Stage support
1.0.17
11 Feb 2014 09:28:58
Revision:343723Original commit files touched by this commit
miwi search for other commits by this committer
- Stage support
1.0.17
11 Oct 2013 01:51:26
Revision:330043Original commit files touched by this commit
tabthorpe search for other commits by this committer
- Remove dependency on japanese/ruby-chasen
- Option is off by default, no PORTREVISION bump

With hat:	portmgr
1.0.17
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)
1.0.17
15 Jan 2013 00:26:07
Revision:310418Original commit files touched by this commit
jgh search for other commits by this committer
- adopt optionsNG, trim historical header and add license
- while here depend on pkgnames for dependencies, fix WWW address
  and shorten mastersite

PR:		175206
Submitted by:	yasu@utahime.org
Approved by:	maintainer, info@otsune.com
1.0.17
29 Jul 2012 11:17:04
Original commit files touched by this commit
cs search for other commits by this committer
Fix typos in COMMENT

Approved by:	portmgr@ (implicit)
1.0.17
03 Aug 2011 06:38:39
Original commit files touched by this commit
bapt search for other commits by this committer
Remove KAKASI option, as ruby-kakasi has expired
1.0.17
10 Dec 2010 23:06:36
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update to 1.0.17

PR:             ports/152470
Submitted by:   Yasuhiro KIMURA <yasu@utahime.org>
Approved by:    maintainer timeout (info@otsune.com ; 17 days)
1.0.16
11 Mar 2008 01:09:00
Original commit files touched by this commit
beech search for other commits by this committer
- Update to 1.0.16

PR:             ports/121297
Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
Approved by:    Masafumi Otsune <info@otsune.com> (maintainer)
1.0.15
25 Sep 2006 01:23:41
Original commit files touched by this commit
alepulver search for other commits by this committer
- Update to 1.0.15.

PR:             ports/103565
Submitted by:   Masafumi Otsune <info@otsune.com> (maintainer)
1.0.14
21 May 2006 19:28:08
Original commit files touched by this commit
pav search for other commits by this committer
- Update to 1.0.14

PR:             ports/97567
Submitted by:   Masafumi Otsune <info@otsune.com> (maintainer)
1.0.13
24 Apr 2006 23:01:31
Original commit files touched by this commit
okazaki search for other commits by this committer
Upgrade to 1.0.13.

PR:             ports/96155
Submitted by:   KIMURA Yasuhiro
Approved by:    maintainer
1.0.12
08 Feb 2006 14:49:22
Original commit files touched by this commit
lawrance search for other commits by this committer
Update to 1.0.12.

PR:             ports/92500
Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
Approved by:    Masafumi Otsune <info@otsune.com> (maintainer)
1.0.11
15 Jan 2006 16:05:10
Original commit files touched by this commit
pav search for other commits by this committer
- Update to 1.0.11

PR:             ports/91816
Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
Approved by:    otsune <info@otsune.com> (maintainer)
1.0.10
10 Dec 2005 18:03:20
Original commit files touched by this commit
ehaupt search for other commits by this committer
Update to 1.0.10

PR:             90186
Submitted by:   Masafumi Otsune <info@otsune.com> (maintainer)
1.0.9
25 Jul 2005 13:45:30
Original commit files touched by this commit
sem search for other commits by this committer
- Update to 1.0.9 (bug fix release)

PR:             ports/83973
Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
Approved by:    Masafumi Otsune <info@otsune.com> (maintainer)
1.0.8
20 Jul 2005 15:23:15
Original commit files touched by this commit
novel search for other commits by this committer
Update to 1.0.8.

PR:             83784
Submitted by:   Masafumi Otsune (maintainer)
1.0.7
13 Jun 2005 09:31:05
Original commit files touched by this commit
pav search for other commits by this committer
- Update to 1.0.7

PR:             ports/82159
Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
Approved by:    Masafumi Otsune <info@otsune.com> (maintainer)
1.0.6
21 Dec 2004 09:38:46
Original commit files touched by this commit
sem search for other commits by this committer
- Fix pkg-plist

Submitted by:   pointyhat via kris
1.0.6
19 Dec 2004 22:07:20
Original commit files touched by this commit
sem search for other commits by this committer
- Update to 1.0.6

PR:             ports/75245
Submitted by:   maintainer
1.0.4
24 Aug 2004 19:38:56
Original commit files touched by this commit
sem search for other commits by this committer
- Fix OPTIONS
- Remove pre-build

PR:             ports/70911
Submitted by:   maintainer
1.0.4
20 Aug 2004 14:01:52
Original commit files touched by this commit
sem search for other commits by this committer
- Update to 1.0.4
- OPTIONS was added.
- Since "japanese/ruby-chasen" had BROKEN, it deleted from KNOB.
- The sample file was added.
- pkg-descr was updated according to official site.

PR:             ports/70664
Submitted by:   maintainer
1.0.3
25 Jun 2004 07:43:26
Original commit files touched by this commit
krion search for other commits by this committer
Update to version 1.0.3

PR:             ports/68293
Submitted by:   maintainer
1.0.2
10 May 2004 11:46:05
Original commit files touched by this commit
krion search for other commits by this committer
- Update to 1.0.2

PR:             ports/66447
Submitted by:   maintainer
1.0.1
31 Mar 2004 08:33:11
Original commit files touched by this commit
krion search for other commits by this committer
- Update to version 1.0.1

PR:             ports/64958
Submitted by:   maintainer
1.0.0
01 Mar 2004 08:59:44
Original commit files touched by this commit
krion search for other commits by this committer
Add bsfilter 1.0.0, a bayesian spam filter written in Ruby.

PR:             ports/63573
Submitted by:   Masafumi Otsune <info@otsune.com>

Number of commits found: 46