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
===> The following configuration options are available for bsfilter-1.0.20_1:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
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
mail/bsfilter: Update to 1.0.20
- Remove the local patch because it was obtained from the old OSDN
repository
and the new version includes all the changes
- Change MASTER_SITES to Github
- Update WWW
Changelog: https://github.com/nbkenichi/bsfilter/compare/v1.0.19...v1.0.20
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
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)
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 )
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 )
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 )
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
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
- 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
- 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
- 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