instead of indirectly via bdb.buildlink3.mk. Also, fix compilation
to account for differences beteween db-4.3.x and db-4.2.x. This should
fix PR pkg/28949.
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
exists in the base system, and remove the distinction between
"native" and the other Berkeley DB packages -- we now refer to
db[1234]. This paves the way for any future databases/db1 package.
* USE_DB185 shouldn't need to be set by any packages -- its correct
value is now automatically determined by bdb.buildlink3.mk depending
on whether we explicitly request db1 or not. By default, if you
include bdb.buildlink3.mk, you want DB-1.85 functionality and
USE_DB185 defaults to "yes", but if you explicitly remove db1 from
the list of acceptable DBs, then USE_DB185 defaults to "no".
* Set BDB_LIBS to the library options needed to link against the DB
library when bdb.buildlink3.mk is included.
* We only add the DB library to the linker command automatically if
we want DB-1.85 functionality; otherwise assume that the package
configure process can figure out how to probe for the correct
headers and libraries.
Edit package Makefiles to nuke redundant settings of USE_DB185.
Changes:
* Portability fixes
* Documentation fixes
* '-M' allows processing 1 msg-count file with multiple messages.
Otherwise allow multiple msg-count files with 1 message in each.
* Allow only one of '-d' and '-D' options for bogotune.
* Remove check for bogohome since it breaks "bogotune -D".
* Ignore 'X-Bogosity' lines in mime attachments.
* Bogotune now warns when using '-E' to suppress ESF checking
and non 1.0 esf values are read from the config file.
* Limit bogotune's scanning to rx values between 0.4 and 0.6.
* Fix a potential crash on malformatted input (writing a NUL byte to
the wrong place) in the RFC-2047 decoder. Reported by Clint Adams.
* bogofilter will now properly exit with code 3 when encountering write
errors in pass-through mode. It would use the wrong code, 2, since
the introduction of the "unsure" exit code.
* Properly flush existing data before changing I/O buffer size. Fixes
t.bogodir failure seen, for instance, on Solaris, particularly with
-D and redirected output.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
* Remove 'g', 'r', and 'f' from bogofilter's OPTIONS list as
there's only one scoring algorithm.
* Fixed db_init/db_cleanup problems encountered with multiple
wordlists and concurrent data stores.
* Bugfix: '%I' is now really the Message-ID,
* Feature: '%Q' is now the queue ID
* Use an explicit inputs/outputs directory list to avoid shipping test
files in those directories.
* Miscellaneous cleanups, removed 'degen' code remainders.
* Formatting character changes:
'%A' is now the message's IP address.
'%I' is now the message's ID.
* Remove initialize() function in bogoconfig.c and use
lexer_init() in lexer.c, which provides same functionality.
* Warn on invalid options, rather than exit.
Changes:
* Change default parameters to the results of Greg's 300k ham
and 300k spam bogotune run:
robs robx min_dev spam_co
old 0.010000 0.415000 0.100000 0.950000
new 0.017800 0.520000 0.375000 0.990000
* Fix check for PGP signatures.
* Ignore data portion of PGP signatures.
* Use "mime:" (rather than "head:") to tag mime part headers.
* Fix "Can't find '.MSG_COUNT'" problem in bogotune.
* Fix defect that continues decoding base64/qp after invalid chars.
* Warn if user specified config file doesn't exist.
* Fix tagging of IPAddrs in header lines.
* Fixed minor bogotune problems related to building wordlists.
* Exempt tokens .MSG_COUNT and .ROBX from maintenance operations.
* Remove unused 'active' and 'weight' attributes of wordlists.
* If message uses CRLF, put CRLF after added header lines.
* Removed DEPRECATED CODE.
* Correct SIGSEGV causes by missing environment variables.
* Miscellaneous Portability fixes
* Documentation cleanups.
Changes since 0.15.7:
* Perl 5.6 fixes in bogoupgrade
* Install bogotune and bogotune man page
* The -q and -F flags (both unused) were removed
* Alpha/SH(3?) portability fixes
* Gobs and gobs of bugfixes
* The Graham and Robinson algorithms were removed
* Support for old style (separate good/bad) wordlists was removed
* Support for ignore lists was removed
Primarily portability and minor bug fixes, a few new minor features,
better HTML parsing, nothing dramatic.
Note to self: tell authors about how their config script in 0.15.11
is badly broken WRT needing and figuring out -ldb4 instead of -ldb
before the next upgrade of this package is painful. 0.15.7 is the
current stable version, so this may not be an issue at all.
While updating, make bogofilter use the bsd.pkg.install.mk
framework to install the configuration file into PKG_SYSCONFDIR.
Patch provided by Soren Jacobsen in PR pkg/22983.
Changes:
Changes:
0.14.5.4
* _Really_ fix defective printing in 'bogofilter -Q' output.
0.14.5.3
* Fix parser errors that can cause:
1. Incorrect processing of html comments.
2. "fatal flex scanner internal error--end of buffer missed",
which kills bogofilter.
* Fix defective printing in 'bogofilter -Q' output.
* Compiles with TDB again.
0.14.5.2
* bogominitrain.pl - removed email 'cruft' and revised format
of verbose output.
0.14.5.1
* Fixed parameter type error in dbh_print_names() that causes
segfault.
* Enhanced verbose output of bogominitrain.pl
* Documented '-T' option in man page.
* Fixed parsing error that treated "^From " in encoded text as
a message separator.
* Revised format for '-T'.
* Fixed defect in bogominitrain.pl's norepetition mode.
0.14.5
* Updated bogominitrain.pl to version 1.3.
* Corrected parsing error (in html code) that caused
bogofilter to miss message separators.
* Added '-T' as terse mode (with fixed formatting).
* Revised processing of From and empty lines so that parsing
works correctly with both flex-2.5.4 and flex-2.5.31.
0.14.4
* Revised database API so that there are 3 distinct layers
(program, datastore, and database) with a clean interface
between them.
* Correct exitcodes in bogoutil by using EX_ERROR.
* Fixed token registration bug in 0.14.x versions.
* Fixed seg fault caused by database lock contention.
0.14.3
* Fixed critical locking bug introduced into bogofilter 0.14.0
with the combined-wordlist code: when working with separate
wordlists, bogofilter would lock only the first one opened,
rather than all.
* Documentation updates.
* %g formatting is now supported by bogofilter's formatting functions.
* Merged trio 1.10 (http://ctrio.sourceforge.net/) to support
compilation on ancient systems (Solaris 2.5) that do not have
[v]snprintf functions.
Trio is Copyright (C) 1998-2000 Bjorn Reese and Daniel Stenberg.
* Various documentation updates, including the FAQ.
* The test suite was adjusted for older grep variants (Solaris
2.5) that don't cope with long lines.
* Print database version in print_version().
* Postfix integration instructions have been upgraded.
* Debug output for wordlists and databases was enhanced.
=================
BOGOFILTER NEWS
=================
$Id: CHANGES-0.14,v 1.15 2003/08/03 00:47:28 relson Exp $
0.14.202 2003-08-02
* Replaced use of memcpy() by memmove() in an input routine. The
overlapping copy migh cause data corruption on some systems.
* Fixed "make check" failures for bogoutil introduced with the
"combined wordlist" feature in 0.14.0. There has been a buffer
overflow. All users of bogofilter with combined wordlist prior to
0.14.2 are advised to upgrade.
* Fixed bogus "t.valgrind" test FAILures.
* Fixed uninitialized data in db_get_dbvalue(), for split word lists.
* New file, contrib/vm-bogofilter.el, provides an interface
between the VM mail reader and bogofilter."
* Revised lexer_v3.l for compatibility with flex-2.5.31
* Break up long line in regression test input for Solaris 2.5
compatibility.
0.14.1.1 2003-08-01
* Fixed check for adding spam_subject_tag to Subject: line.
* Updated French version of FAQ.
2003-07-31
* Correct problem with t.degen regression test.
0.14.1 2003-07-31
* Updated English version of FAQ.
2003-07-29
* Initial release of token degeneration code.
2003-07-25
* Revised lexer pattern to better recognize encoded tokens.
2003-07-24
* Implemented named exitcodes, with Unsure having its own
value (2) and changing the value for error from 2 to 3.
0.14.0.1 2003-07-23
* Fix problem with encoded text.
* Fix handling of absolute paths.
* Fix defect in base64 decoding that can cause segfaults.
* Bogoutil now complains before exiting when it can't open a
file.
* Updated bogominitrain.pl to work with combined wordlists.
0.14.0 2003-07-22
* Updated contrib/bogominitrain.pl prints more info and can save
messages used in training.
* Miscellaneous documentation updates.
2003-07-21
* Decode encoded text in header lines.
2003-07-19
* Bogofilter and bogoutil detect whether one or two wordlists
are in BOGOFILTER_DIR and use the appropriate wordlist mode
(combined or separate).
* Bogofilter's -V output now includes algorithm and database
info.
2003-07-18
* Default wordlist mode is single, combined wordlist.
File wordlist.db contains all spam and ham tokens.
2003-07-17
* Added tdb (trivial database) support.
2003-07-16
* Initial release of code allowing bogofilter to use a single,
combined BerkeleyDB database for storing both ham and spam
tokens. The file is named wordlist.db.
0.13.7.2 2003-07-02
* Fixed loop in yyinput() caused by unexpected EOF.
0.13.7.1 2003-06-26
* Update bogotune to version 0.3
* Added '-k size' option to bogofilter and bogoutil for
setting BerkeleyDB's cache size.
2003-06-25
* For bogotune change processing of '-t' switch from pass 1 to
pass 2 so that it supercedes the config file.
* Man pages now use '\ ' when a non-breaking space is needed,
instead of 0xA0.
2003-06-24
* '-Q' processing no longer requires that spamlist.db be present.
0.13.7 2003-06-20
* Replaced tuning/tuning.sh with tuning/bogotune (and related files).
0.13.6.3 2003-06-18
* Minor code rewrites to speed up processing messages, mboxes,
and msg-count files. In particular, tuning/tuning.sh runs
are approx 47% faster than before.
* Fixed several errors in tuning/tuning.sh and reformatted
"Top 10 Results" output.
* Minor changes to bogoutil to support bogotune script.
* Added newlines to correct usage messages.
0.13.6.2 2003-06-05
* Don't allow square brackets in tokens. Do allow dollar
signs in tokens in msg-count files.
* Bogolexer now discards first 'From' token to match scoring
behavior of bogofilter.
0.13.6.1 2003-06-05
* Updated file tuning/README and script tuning/tuning.sh.
0.13.6 2003-06-04
* Fix check for "^From " lines to work properly during base64
decoding.
* End html comment processing when a message header is found.
* Improve README for the tuning scripts and simplify them.
0.13.5 2003-06-03
* Allow terminal exclamation points on tokens.
* Updated contrib/mime.get.rfc822
2003-06-02
* Fixed bogofilter's non-use of message counts in msg-count files.
* Diagnose invalid values of robx.
* Modified rstats_print_histogram() so it doesn't print 'nan's.
* Modified t.frame to find version of grep on Solaris so
t.bulkmode can run successfully.
0.13.4.1 2003-05-31
* Modified t.parsing test so it works with OSX's default file system.
0.13.4 2003-05-30
* Changed default value of ROBS from 0.001 to 0.01
* Fixed options '-M' (mailbox mode) and '-p' (passthrough
mode) so they work properly together.
* Minor cleanups in bogofilter.cf.example
* Added db-3.2 and db-3.1 to list for AC_CHECK_DB in configure.ac
0.13.3 2003-05-28
* Minor code tweaks to quiet gcc-3.3 warnings.
2003-05-26
* Added doc/programmer/README.osx to distribution.
* Corrected FAQ's procmail recipe for training with SpamAssassin.
2003-05-24
* Added -V (version) option to bogolexer.
* Tweaked long line check used to prevent scanner buffer overflow.
0.13.2.1 2003-05-24
* In bulkmode, output filenames to stdout.
* Further fixes for static-build system.
0.13.2 2003-05-24
* Autoconfiguration of BerkeleyDB library has been improved.
* Build procedure for statically linked binaries has been improved.
* Fixed defect in replace_nonascii_characters that was
superseding ignore_case option.
* Portability fix for efence usage in t.frame.
* Added static-build to solve glibc version problem.
0.13.1 2003-05-23
* Modified "make rpm" to also build statically linked binaries.
They're packaged in bogofilter-static-x.y.z-1.i586.rpm
* Fixed bogofilter.spec.in to include files CHANGES-0.13 and
RELEASE.NOTES-0.13 which had been left out.
* tests/t.frame portability fix for non-Linux compatibility.
0.13.0 2003-05-21
* Added file RELEASE.NOTES-0.13. Read it!
* Changed parsing defaults to:
-PI ignore_case (default is disabled)
-Ph header_line_markup (default is enabled)
-Pt tokenize_html_tags (default is enabled)
* Recognize a line of whitespace as ending the message header.
* contrib/randomtrain and contrib/scramble can now process
both mbox and maildir formats.
* Added perl script contrib/mime.get.rfc822 to extract
forwarded messages from with a message.
* Added basic support for emacs RMAIL mailboxes.
* Removed incomplete RMAIL/Babyl-5 support.
* Registration code modified to count unique tokens for each
message and display the total of the counts.
* Added 'bogo-what?' to FAQ.
0.12.3 2003-05-10
* Modified bulk mode code to allow registering maildirs.
* Added options to return tokens from inside HTML tags.
Switch '-Ht' and option "tokenize_html_tags" turn it on.
* Bogofilter's '-e' switch can now be used without '-p'.
* Added doc/integrating-with-postfix.
* Added bogofilter-faq-fr.html, a French translation of the FAQ.
* Revise description of verbose output in FAQ.
* Update man page documentation of bogofilter's switches.
* Added basic memory accounting and debug capability.
* Fixed memory leak in rstats.c
* Fixed defect in handling of folded spam header lines.
* Modified parsing so that yyredo() and yy_use_redo_text()
are no longer needed.
0.12.2 2003-04-30
* Corrected bulkmode problem processing messages without
"^From " lines.
* Corrected alignment of wordprop_t which caused bus error
on risc.
* Added directory to 'Error creating directory' message.
0.12.1 2003-04-25
* Corrected bad BOGOFILTER_DIR value in t.bulkmode
* Subdirectories contrib and tuning now install from rpm
to /usr/share/bogofilter.
0.12.0 2003-04-24
* Corrected some errors in rpm specfile.
2003-04-23
* Added 'tuning' directory with scripts for tuning bogofilter.
(cf. bogofilter-tuning.HOWTO)
2003-04-21
* Added '-M' to allow classification of multiple messages in
mbox formatted files.
* New option '-Q' (query/display config) replaces '-qv'.
* Grouped options into logical groups for help message and
man page. Revised option descriptions.
2003-04-19
* Added bogofilter-tuning.HOWTO as replacement for README.Robinson
2003-04-18
* Added classification support for msg-count formatted files.
* Add bogolex.sh for creating msg-count formatted email file.
2003-04-17
* Added bulk mode procesing for Maildirs.
'-b' reads filenames from stdin.
'-B' gets filenames from the command line.
2003-04-16
* Miscellaneous refactoring in main.c
0.11.2 - stable version
2003-04-13
* Added 'terse' option to bogofilter.cf for selecting format of
X-Bogosity line.
2003-04-11
* Use frexp() to retain maximum precision of floating point results.
0.11.1.9
2003-04-10
* Reformat histogram output (from "-vv") to fit in 80 columns.
* Added sample configuration for maildrop.
2003-04-09
* Added protections against negative token counts to
bogoutil.c and database_db.c
* Additional portability changes made to the regression tests.
* Enhanced '-m' option allows specifying robs value.
0.11.1.8
2003-04-07
* Include 'strict_check' in '-qv' output.
* Correct outdated acinclude.m4, as it causes the configure
script to be invalid.
* Revised UPGRADE document.
* Added contrib/bogotrain.sh
0.11.1.7
2003-04-07
* Change bogoutil's '-p' option to require a database.
* Fix OS X segfault caused by using DB handle after closing database.
2003-04-05
* Improve bogoutil's reporting of a bad directory or filename.
* Simplify configure check for BerkeleyDB.
* Extend configure's compiler checks for AIX.
0.11.1.6
2003-04-01
* Changed default value of 'strict_check' to 'no' (disabled).
2003-03-30
* Added config file option 'strict_check' for processing
html comments. Enabled means to use "<!--" and "-->" to
delimit comments. Disabled uses "<!" and ">".
0.11.1.5
2003-03-28
* Bogofilter now frees _all_ memory that it allocates.
* FAQ reorganized and info added on asian spam, the format of
verbose output, and using SpamAssassin to train bogofilter.
* Fixed processing of '-o' option.
0.11.1.4
2003-03-25
* Cleaned up help messages and added version info.
* Expanded bogofilter-faq.html
* Fixed precedence for directory specifications.
* Fixed processing of folded X-Bogosity line.
* Fixed processing of spam_subject_tag.