The NetBSD Project

CVS log for pkgsrc/mail/bogofilter/distinfo

[BACK] Up to [] / pkgsrc / mail / bogofilter

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 26 10:53:55 2021 UTC (2 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 7 14:25:13 2021 UTC (2 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

mail: Remove SHA1 hashes for distfiles

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 3 23:27:01 2015 UTC (8 years ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Add SHA512 digests for distfiles for mail category

Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 22 01:36:43 2014 UTC (9 years ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

1.2.4	2013-07-01 (released)

	* Fix three crashes in command line and environment variable parsers
	  that caused NULL pointer dereferences with long option variants
	  of bogofilter --syslog-tag, or bogoutil --timestamp-date, or when
	  bogotune -M<file> cannot derive the bogofilter directory.
	  Reported by Alexandre Rebert, found with Mayhem tool.

	* Add getopt_long_chk(), a getopt_long variant that checks if the
	  overlapping short and long options agree on whether their argument
	  is not required, mandatory, or optional.  If they disagree, the
	  program aborts.

	* Fix a crash in command line parser that causes a NULL pointer
	  dereference when --db-cachesize is used without argument.
	  Found with getopt_long_chk().

	* Change lexer API/ABI a bit so as to work with flex 2.5.36 generated
	  lexers (for instance, on Fedora 18 "Spherical Cow") that flip the
	  type of yyleng from int to size_t. We use a signed long internally.

	* The bogofilter project was updated to the new
	  platform. This has caused the URLs to change. Use one of these
	  commands for a read-only checkout:
	  svn checkout svn:// bogofilter
	  svn checkout bogofilter

	  And developers would use, replacing joe by their login:
	  svn checkout --username=joe svn+ssh:// bogofilter

	* Add bogofilter-SA-2012-01 (CVE-2012-5468).
	* Fix XML form of Bulgarian FAQ so that it validates;
	  and validate XHTML at build time.
	* Mark Berkeley DB 5.2.42 and 5.3.21 supported.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 26 16:58:27 2012 UTC (10 years, 11 months ago) by darcy
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Upgrade to 1.2.3.

	* Update to avoid autoconf 2.68 warnings, by
	  (a) quoting the first AC_RUN_IFELSE argument, an
	      AC_LANG_PROGRAM(), with [ ], and
	  (b) providing an explicit "true" assumption for Berkeley DB
	      capabilities to avoid cross-compilation warnings.

	* Security bugfix for CVE-2012-5468 (bogofilter-SA-2012-01):
	  Fix a heap corruption in base64 decoder on invalid input.
	  Analysis and patch by Julius Plenz <>.

	* Added bogofilter-faq-bg.html, a Bulgarian translation of the FAQ.
	  (thanks to Albert Ward)

	* Mark "Berkeley DB 5.1.19: (August 27, 2010)" supported.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 24 09:33:09 2010 UTC (13 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.19: +4 -5 lines
Diff to previous 1.19 (colored)

Update bogofilter to 1.2.2.

pkgsrc changes:
 * accept bdb3 and bdb5, rename db4 option to bdb.
 * accept tokyocabinet for db engine.
 * buildlink with libiconv for UNICODE support.

1.2.2	2010-10-08 (released)

	* Use a better PRNG for random sleeps. That is arc4random() where
	  available, and drand48() elsewhere.

	* Assorted fixes for issues found with clang analyzer:
	  + Fix a potential NULL deference
	  + Fix a potential division by zero
	  + Remove dead assignments and increments

	* Update Doxyfile and source contrib/bogogrep.c for docs, too.


	* Security bugfix, CVE-2010-2494:
	  Fix a heap corruption in base64 decoder on invalid input.
	  Analysis and patch by Julius Plenz <>.
	  Please see doc/bogofilter-SA-2010-01 for details.


	* Updated sendmail milter contrib/ to v1.??????
	  (thanks to Jonathan Kamens)


	* Bump supported/minimum SQLite3 versions and warning threshold.
	  See doc/README.sqlite for details.

	* Mark BerkeleyDB 4.8.26 and 5.0.21 supported.

	  Note that Berkeley DB 5.0's SQLite3 compatibility API is NOT
	  supported, it causes shifts in scores and write failures under
	  contention.  Bogofilter can use Berkeley DB 5.0's native interface,
	  and using that is more efficient than the added SQL shim layer.


	* Make t.maint more robust; ignore .ENCODING token. To fix test
	  failures on, for instance, FreeBSD with unicode enabled.


	* Fix several compiler warnings "array subscript has type 'char'", by
	  casting the arguments to unsigned char.
	     A security audit was conducted and showed that all affected
	  functions either received the relevant input from the user running
	  bogofilter, or the input had already been pre-validated by the token


	* Split error messages for ENOENT and EINVAL into new function.
	* Avoid divison by zero in robx computation by checking if there are at
	  least one ham message and one spam message registered.


	* contrib/ updated to version 0.4.0
	  (thanks to Tom Anderson)


	* Updated and integrated Ted Phelps's "Patch to prevent .ENCODING from
	  being discarded by bogoutil -m" (SourceForge Patch #1743984).
	  Thanks to Ted for debugging the issue and providing the patch (which
	  was for bogofilter v1.1.5).

	* Promoted to "stable"

1.2.1	2009-08-01 (released)


	* Update configure to use "host" rather than "target", to match the
	  newer autotools cross-build semantics. Untested.
	  Developers changing the build system and users who build from SVN
	  will now need automake 1.9 and autoconf 2.60.


	* Fix Christian Frommeyer's MIME decoding bug, Ubuntu/Launchpad Bug
	  #320829. As a side effect, also fixes misattribution of MIME bodies
	  as MIME headers with mime: tag.  Original bug report:

	  Before this fix, bogofilter did not properly MIME-decode the first
	  line in a body. This was especially bad with Christian's samples
	  where the whole body was only one long base64 line.


	* Removed two scripts that are auto-built.

	* Added test case for Stephen Davies' Q-P EOL problem (see below).


	* Fixed EOL problem in quoted_printable text. Problem reported by
	  Stephen Davies and identified by Pavel Kankovsky.

	* Promoted to "stable"

1.2.0	2009-02-21 (released) 2009-03-28 (declared stable)

	* Flex-2.5.35 has fix for memory allocation problem in 2.5.4,
          2.5.31, and 2.5.33, making bogofilter's flex patch obsolete.


	* Bogofilter now uses listsort in place of qsort.


	* Added token-count=n, token-count-min=n, and token-count-max=n options.

	* Minor code cleanups.


	* updated to version 0.3.0
	  (thanks to Tom Anderson)


	* For compatibility with Sun's Sun Studio 12 compiler, provide
          a name for the anonymous union in typedef word_t.
	  Patch provided by Jack Bailey.


	* update bf_compact documentation by removing explicit Berkeley DB
	  references, as it has been fixed to work with other database drivers
	  in March 2008.


	* bf_compact, bf_copy and bf_tar now support transformed program names
	  (fixes Debian Bug#501947).

	* Update sqlite3 adaptor to take advantage of sqlite3_prepare_v2()
	  API function that appeared in SQLite 3.3.9. The new _v2 interface
	  allows for more specific error messages when executing SQL
	  statements.  Also enable extended result codes for more precise error


	* Update doc/integrating-with-postfix: the script now suggests sendmail
	  -G -i (where -G will be ignored by Postfix before 2.3) to tell
	  Postfix it's a gateway submission, not an original injection; the
	  filter pipe(8) magic for now suggests flags=Rq (was
	  flags=R), as per Postfix's FILTER_README.


	* Drop support for systems that reverse setvbuf arguments. The last
	  systems to do that are reported to be shipped in 1987 by the autoconf
	  manual, so ditch them.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 15 12:15:40 2008 UTC (15 years, 1 month ago) by martti
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

Updated mail/bogofilter to 1.1.7

* Lots of bug fixes and improvements since 1.0.3

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 2 13:44:02 2008 UTC (15 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Add DESTDIR support,  based on patch in PR 38524.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 16 15:47:39 2007 UTC (16 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Update bogofilter to 1.0.3.
Patch provided by Kimura Fuyuki in PR 35595.
And regen patch-aa.

1.0.3	2006-07-10

	* Released 1.0.3 to provide the bogotune bugfixes to a wider


	* Work around GNU make 3.81 incompatibility in doc/Makefile*
	  (it does not work properly with "}\" at the line ends, but
	   wants "} \" instead).


	* "make rpm" changes:
	  - document use with gpg-agent (see
	  - build static RPMs (these won't fail) before shared RPMs


	* #include cleanups in common.h, system.h and C files.


	* Updated copyright dates.


	* Included additional config file options in bogofilter's
	  --help message.


	* Corrected option parsing in bogotune to support -n ham1 ham2
	  -s spam1 spam2 as suggested by bogotune -h; broken since 0.93.2.


	* Corrected problem with bogotune's -D option (thanks to Jason Smith).

	* Corrected man page description of bogotune's -n and -s options.


	* Fixed bf_compact's test for transactional environment.


	* 1.0.2 Promoted to "Stable" status

1.0.2	2006-03-03


	* Added vm-bogofilter.el for using bogofilter with VM, an
          Emacs mail tool (thanks to Björn Knutsson).
	* Added FAQ question "How do I use bogofilter with VM (an
          Emacs mail tool)?" (thanks to Pimpon).


	* SleepyCat has been acquired by Oracle, who are now providing
	  Berkeley DB. Since most of the references are to actual
	  strings in the programs or addresses that remain unchanged,
	  this will only gradually show in the bogofilter sources and


	* Flush output after writing spam header line and/or message body.
	* When database is near to maximum allowed size, allow reading
	  it and disallow writing to it.


	* Fix formatting of Rtable output when in the message header,
	  this keeps verbose passthrough modes RFC-822/2822 compliant.


	* The configure script, when checking Berkeley DB capabilities,
	  now checks for logging and transactional subsystems rather
	  than the locking subsystem that was abandoned before 1.0.0.
	  This appears a suitable workaround for configure lockups on
	  OpenBSD 3.7 macppc with db 4.2 or 4.3.


	* Only print Berkeley DB file size message once per run.


	* 1.0.1 Promoted to "Stable" status


	* Fixed --input-file and --output-file command line options.


	* Added CVE-2005 identifiers for defects described in

1.0.1	2006-01-01

	* New names for binary rpms:

	  bogofilter-db42 - requires shared library for DB-4.2.52
	  bogofilter-db42-static - statically linked with DB-4.2.52
	  bogofilter-sqlite3 - requires shared library for SQLite3-3.2.8
	  bogofilter-sqlite3-static - statically linked with SQLite3-3.2.8


	* The configure help texts have been revised, the IEEE checks
	  for trio have been simplified (they are no longer nested) and has been updated to quiet autoconf -Wobsolete
	  warnings. The README file now reflects the new requirements.


	* For maintainers: Add, a script to
	  fetch and build static & lean BerkeleyDB and SQLite
	  3.2.8 libraries. Modify some parts of the RPM building so that
	  the binary RPMs are built without external dependencies beyond
	  glibc 2.2. This may render "make rpm" unusable on non-Linux
	  platforms, but you should still be able to "rpmbuild -tb" from
	  the source .tar.gz file.


	* Add '-O' option to direct bogoutil output to a file.
	* Fix building of binary rpms with SQLite support.
	* Include SQLite binary rpm as standard part of "make rpm"


	* Split NEWS file into files NEWS and NEWS.0 for new (version
	  1.0 and after) and old (version 0.x.y) info


	* Capitalize variables in to please RH9's
          RPM 4.2 implementation.


	* Fix bad return code in db_loop() in datastore_sqlite.c
	  (reported by Sami Farin).


	* XML documentation cleanups (thanks to Nicholas Kaiser).


	* was updated to reflect the proper default of
	  db_log_autoremove=yes. It previously claimed the default were "off".

1.0.0	2005-11-30


	* Minor FAQ updates and correctons.
	* Abort if ar(1) is not available during build.


	* bogofilter supports BerkeleyDB 4.4.16. doc/README.db and INSTALL have
	  been updated accordingly.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 21 23:47:02 2005 UTC (18 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.15: +5 -6 lines
Diff to previous 1.15 (colored)

Update to 0.96.6, provided by Geert Hendrickx in private mail:
0.96.6	2005-11-11

	* Fix parsing error after binary attachment.


	* Correct charset_default value in

0.96.5	2005-11-07


	* Fix parsing of config file string options.

	* Fix handling of unknown charset name.

0.96.4	2005-10-31


	* Removed the BUGS section from the bogofilter man page as
          it's now obsolete.


	* The bash-dependent contrib/* scripts were changed so they may now
	  work on regular POSIX compliant sh (NOTE: Solaris has a POSIX sh in
	  /usr/xpg4/bin/sh, Solaris's /bin/sh is unsuitable for bogofilter!)

	* The contrib/ directory is now managed by the top-level,
	  which removes one "make" recursion. This implies that "bogogrep" is
	  now built on the top level rather than in contrib/.

	* Renamed all contrib/ scripts to that their suffix gives a hint what
	  kind of script it is (.pl, .sh).

	* Recognize all image/ types as opaque data that we do not parse,
	  rather than just image/bmp.

0.96.3	2005-10-25 (a.k.a. 1.0.0-rc3)

	* Don't decode mime-audio and mime-video attachments.
	* Remove unused CP866 code.


	* Fix possible SIGSEGV with long html comments.


	* Don't decode mime-image and mime-application attachments.


	* Avoid pointer use after freeing its memory.
	* Avoid buffer overflow during conversion to unicode.


	* Fix program abort when bad options are used.
	* Remove unused Berkeley DB locking options.


	* Fixed sqlite build option in
	  (contributed by Tobias Roppelt)


	* Added contrib scripts bfproxy, spamitarium, and stripsearch
	  (contributed by Tom Anderson)

0.96.2	2005-10-06 - Promoted to Stable Release
        2005-09-25 (a.k.a. 1.0.0-rc2)


	* SQLite3 - no longer using EXCLUSIVE in BEGIN TRANSACTION as
	  it seems unnecessary and it causes trouble on MAC OSX


	* Require sqlite 3.2.6 and print warning if older version installed, to
	  avoid people running into critical bugs in older sqlite3 versions.
	  The test can be defeated by setting the environment variable
	  BF_USE_OLD_SQLITE to any value.  Also warn on 32-bit machines.


	* Fix bogus t.maint failures on some systems that don't use bash for
	  /bin/sh (for instance, FreeBSD).


	* Resurrected atexit() code to ensure databases have been
          closed (needed for rare cases on RISC OS).


	* Perform unicode conversion after base64 and quoted-printable
	  decoding.  (Thanks to Mikhael Zabaluev for the patch)


	* (sqlite3 based builds only) Print reminder to register tokens before
	  scoring if preparing the SELECT statement fails.

	* Avoid "obsolete option -I- used, please use -iquote instead" nagging
	  from GCC version 4. (Heck, autoconf has even reached include lines
	  that worked for ages.)


	* Replace mime stack by linked list (to correct gentoo bug #69893).
	* Fix configure's --with-included-gsl option.  (Thanks to
          Torsten Veller for the patch)

0.96.1	2005-09-05 (a.k.a. 1.0.0-rc1)


	* Fix incompatibility with SunOS make(1S), adding a missing trailing
	  backslash character to src/


	* Update RISC OS versions of Makefile and config.h

0.96.0	2005-08-15


	* When directory name is argument for bogoutil's dump/load
	  option, use "wordlist.db" to avoid a sigsegv.

	* Remove support for TDB, the Trivial Database.


	* db_lock.c: rename "cell_t" to "bf_cell_t" to avoid clashing with
	  IRIX's cell_t. Reported by Daichi Kawahata.

	* MIPS doesn't have extended FP precisiopn. Patch by
	  Daichi Kawahata.


	* bogotune - Restored code for recommending db_cachesize value.


	* Bogofilter now complains if sqlite 3.2.1 or older is used on a
	  machine with a word width greater than 32 bits, but tries to proceed.
	  It may however crash with SIGBUS as sqlite 3.2.1 performs unaligned
	  64-bit accesses.  sqlite 3.2.2 or newer is strongly recommended.


	* Updated history of stable releases (file RELEASES).


	* Switched t.encoding test to use the POSIX utility cksum,
	  rather than OS-specific utilities such as md5sum or md5.

0.95.2	2005-07-08 - Promoted to Stable Release


	* Fix incorrect directory creation revealed by t.bogodir.
	* Use unicode & transaction enable/disable flags to limit
	  'make check' tests being run.


	* Fixed buffer allocation error causing problem processing
	  RFC2047 encoded words.
	* Fixed wordlist access problems causing bogotune to
	  incorrectly complain of mixed database encodings.


	* Bogofilter programs now use their own locking for transactional
	  databases, to evade the problems with overflowing lock tables,
	  resizing. The database is locked globally, which no longer allows
	  registrations to happen concurrently with read access.

	  The db-lk-max-locks and db-lk-max-objects options and the bf_resize
	  scripts and pages have been removed.

0.95.1	2005-06-26

	* Fixed some wordlist open conflicts in bogotune.
	* Document unicode requirements for 'make check'


	* Added unicode processing of encoded tokens.


	* Use iso-8859-1 for default charset, rather than us-ascii.

0.95.0	2005-06-20

	* Fix bf_resize bash-isms (let BLAH...) and use POSIX-sh arithmetic
	  expansion $((...)) instead, to fix bf_resize on FreeBSD.
	  Reported by Andrey Chernov.


	* New unicode capabilities!

	  - default configuration:
	    . bogofilter auto-detects whether database is using
	      unicode (utf-8) or not.
	    . bogofilter uses unicode when creating new databases.
	    . bogoutil preserves unicode/non-unicode stat during
	    . bogofilter, bogolexer, and bogoutil have "--unicode=yes/no"
	      options which permit user selectable modes for experimenting,
	      testing, and wordlist conversion.

	  - configure with "--enable-unicode" or "--disable--unicode"
	    builds bogofilter and bogolexer restricted to a single mode.

	  - bogoutil uses "--unicode=yes/no" when creating a new wordlists.
	  - bogoutil uses "--unicode=yes/no" in maintenance mode to
	    convert a wordlist to/from unicode.
	  - bogolexer uses "--unicode=yes/no" to control parsing


	* Added FAQ entry on using bogofilter with qmail.


	* Output --help messages to stdout (rather than stderr) so
	  more can be used for paging.


	* TDB driver now copies TDB returned data in the traversor to
	  align data at proper boundaries, to avoid SIGBUS on some
	  architectures and performance loss on others.


	* Close environment after probing if it has transactions, to
	  conform to Berkeley DB documentation and not leak a file


	* Additional unicode support:
	   Added global variable encoding { E_RAW, E_UNICODE }
	   Added --unicode=yes/no options for bogolexer and bogoutil.
	   Added meta-token .ENCODING { 1=raw, 2=unicode }

0.94.14	2005-06-18 - Promoted to Stable Release

	* Fix bug in transactional auto-detection that caused recovery
	  to fail if the environment was in PANIC state.
	  (Reported by Andrey Chernov.)


	* Removed extra SunOS 4.1.x support code.


	* Support systems with GNU iconv or separate libiconv.

	* Split up acinclude.m4 into separate files under m4/.


	* Refactor charset and unicode functions into charset.[ch],
	  convert_charset.[ch], and conver_unicode.[ch]

	* Add configure and runtime options to select charset and/or
	  unicode character conversion:

	  ./configure                   - runtime selection
	  ./configure --enable-unicode  - unicode only
	  ./configure --disable-unicode - charset only

	  bogofilter --unicode=yes      - use unicode conversion
	  bogofilter --unicode=no       - use charset conversion


	* Consistency: Skip test if Berkeley DB supports shared environments
	  when ./configure --disable-transactions is run, as shared
	  environments are only needed for transactions.
	  (Fixes SunOS portability problem reported by Charles Hewson.)

0.94.13	2005-05-28

	* Minor cleanups to iconv code.


	* Fixed buffer sizing problem affecting unicode encoding of
	  long lines.

	* Added '-q' (quiet) option for bogofilter to suppress
	  printing of statistics.

	* Added return code to lookup function to support error


	* Fixed compilation problems with --enable-iconv and
	  --enable-russian.  Thanks to Lev Butyrev and Yar Tikhiy for
	  reporting them.

	* Modified and added so
	  t.query.con regression test works with --enable-iconv.


	* Efficiency: The SQLite adaptor now creates new databases with an
	  additional index, to reduce CPU time for lookups.
	  You can add the same index to existing databases by typing:

	  sqlite3 ~/.bogofilter/wordlist.db \
	    'CREATE INDEX bfidx ON bogofilter(key,value);'


	* Efficiency: The SQLite adaptor now precompiles the common SQL
	  statements with variables, which avoids the need to parse/compile
	  them for every single token we acces, and which avoids the need to
	  hex encode/decode tokens (suggested by D. Richard Hipp, SQLite

	* Efficiency: save one malloc() in db_get_dbvalue().

	* Cleanup: The SQLite adaptor now uses a single central busy handler,
	  which simplifies the code.

	* Bugfix: Fix abort/retry logic with transactional interfaces
	  (Berkeley DB and SQLite) so that retries actually work.

0.94.12	2005-05-15 - Stable Release

	* RELEASE notes now has a brief summary of the changes since
	  the last stable release (0.92.8) in October 2004.

	* Man pages added for the utility scripts bf_compact, bf_copy,
	  bf_resize, and bf_tar.

	* bf_tar now includes the DB_CONFIG file in the output if present.


	* French FAQ updated by Fabrice Prigent.


	* update by Jonathan Kamens.  Use Spam/Ham
	  rather than Yes/No, fixes to syslog calls, efficiency improvements.

0.94.11	2005-05-10

	* Correct variable name in bf_resize.

0.94.10	2005-05-08

	* Substitute path to the same awk program that configure found
	  into bf_compact so it works on systems that have only nawk or gawk
	  but not awk.

	* Substitute path to SUSv2 compliant shell in bf_* script "magic
	  shebang" lines, so they use /usr/xpg4/bin/sh on Solaris 7+
	  and don't fail any more.

	* Repaired t.abort and t.probe tests to work with ancient shells.


	* Fixed pathing problem in bogoutil.  Default directory should be "."

	* Revised utility scripts (bf_copy, bf_compact, bf_tar,
	  bf_resize) for consistency and Solaris 9 compatibility.

0.94.9	2005-05-06

	* Fixed pathing regression which caused 'bogofilter_dir=dir' option
	  to supercede '-d dir' option.

0.94.8	2005-05-03

	* Revised manpage's description of -p (passthrough) option.

	* When configured with --enable-transactions or --disable-transactions
	  - Fixed compilation problem
	  - Fixed bogofilter -Q reporting
	  - Skip t.probe during "make check"

0.94.7	2005-04-30

	* Fix transaction enabling/disabling so that command line
	  options, i.e. --db-transactions=yes/no, are primary and
	  probing is secondary.

0.94.6	2005-04-26

	* Fixed bogoutil help and documentation to show that -d, -l,
	  -w, -p, and -H options expect a filename, not a directory.
	* Refactored bfpath creation to clean up open modes and lessen
	  number of external calls into paths.c
	* Added db-3.2.9 compatibility macro for db->stat().
	* Updated to v1.6

0.94.5	2005-04-23

	* Fixed database open bug in bogoutil.


	* bf_compact now removes the $BOGOHOME.old directory before renaming
	  the backup to this name, to avoid nested backup directories.

	* Let bf_compact maintain current state of transactions vs.
	  non-transactions. (Bug report: Bill McClain)


	* Use bogoutil --db-print-leafpage-count in bf_resize.

	* Add --db-print-leafpage-count mode to bogoutil.

	* Use bogofilter -QQ in bf_resize and bf_tar.

	* Use bogoutil --db-list-logfiles in bf_copy and bf_tar.

	* Add --db-list-logfiles mode to bogoutil. Can list inactive or all
	  logfiles in relative or absolute paths.

	* Repair bf_copy script that lost log.* files, possibly corrupting
	  database if they had been transactional.  The defect was introduced
	  into bogofilter 0.94.2.


	* Suppress valgrind reports of errors in glibc::strchr.

0.94.4	2005-04-07

	* The RELEASE.NOTES file has been reformatted for readability.

	* When using transactions, the db_log_autoremove option is now
	  enabled by default (to match the documentation).

	* Option db_log_autoremove has been added to


	* Fix segfault in VERP processing.


	* The code for handling file and directory names has been
	  rewritten for clarity and maintainability.  Some options for
	  bogoutil which used to take a directory argument now take a filename,
	  for example -H, -r, and -R which all operate on a database,
	  not on a database environment.


	* File handling code rewritten to use bfpath structure for
	  holding all info and with a 3 step use of the info.  1 -
	  create bfpaths during command line and config file
	  processing; 2 - validate directories and file names; and 3 -
	  use files for processing.

0.94.3	2005-03-29


	* Added FAQ info on using bogofilter with mutt and sylpheed claws.

	* Fixed --db-print-pagesize so that the proper directory is
	  used for database environment.


	* Add error checking to bogoutil's ROBX calculation.

	* Allow --db-verify to work for non-transactional databases.

	* Repair several minor defects around --db-print-pagesize.  Support
	  page size detection with Berkeley DB 3.1 and 3.2 (it was already
	  supported for 3.3 - 4.3). Offer --db-print-pagesize function in
	  bogoutil --help when compiled against SQLite3.

	* Add more intensive bogoutil inspection to the test suite.

	* Fix incomplete cleanups that broke several bogoutil functions again,
	  among them --db-recover[-harder], --db-remove-environment,
	  --db-verify and --db-print-pagesize.

	* Let SQLite3 retry when the database is busy (rather than locked).

0.94.2	2005-03-24

	* Fix SQLite3 open problem, trying again when the table it is


	* Fix --enable-iconv breaking with non-ASCII default charset.

	* bogolexer now understands the --charset-default options.


	* Fix SQLite3 regression in 0.94.0 that broke consistency guarantees
	  and caused a _massive_ slowdown.

	* Add 'bogoutil --db-print-pagesize', to query the database size,
	  useful to replace running awk on 'db_stat -d database.db' output.


	* Fixed dirname/filename problem in bogotune.

0.94.1	2005-03-16

	* Long options cleanup: options that have no meaning for a particular
	  program are now rejected, to meet common expectations. The option
	  parsing code was cleaned up and is easier to maintain now.


	* Add 'bogoutil --db-checkpoint', to replace db_checkpoint -1h.


	* Modified get_token() to use static storage in order to
	  lessen malloc/free overhead.


	* Fix segfault in 'bogoutil --db-verify'.


	* Support for Berkeley DB 3.1 is back.
	* Terminate 'bogoutil -d' when SIGINT or SIGTERM is received.


	* Fixed query_config ('-Q') option.

0.94.0	2005-03-05

	Default mode is transactions disabled for Berkeley DB.


	* Remove bogus signal handler, remove SIGKILL handling; ignore SIGINT,

	* Fix non-transactional mode for Berkeley DB 4.0 and older.


	* Implement --db-log-autoremove=BOOL option, defaults to on.
	  This option removes outdated log files automatically before closing
	  the environment, to conserve disk space.

	* Added signal handler to catch SIGINT, SIGKILL, and SIGTERM
	  and exit cleanly.

	* Support for Berkeley DB 3.1 has been removed as a side
	  effect of automatically detecting transactional mode at
	  run-time, since 3.1 lacks DB_JOINENV.


	* Transactional datastore autoprobing was completed, it assumes
	  transactional mode if log.NNNNNNNNNN files (where N in {0, 1, ... 9})
	  are found.

	* Add swapped endian support for SQlite3 database, to support reading
	  big endian (SPARC) generated databases on little endian machines
	  (x86) and vice versa. To enable reading databases on machines with
	  differing endian, dump and re-load the databases on a machine with
	  same endian as the machine that created them.


	* Added code to auto-detect when a transaction environment
	  exists and act accordingly (if none of the enable/disable
	  options are specified in the config file or on the command


	* Fixed problem causing SIGSEGV when using options "-p" and
	  "-s" with multiple wordlists.


	* Code to enable/disable Berkeley DB transactions now uses an
	  OO paradigm (implemented via struct of method addresses).
	* Enabling/disabling transactions is now run-time selectable
	  using "--enable-transactions=yes/no" on the command line and
	  "enable_transactions=yes/no" in the config file.
	* Use "./configure --enable/disable-transactions" for build
	  time specification.


	* Add option "--db-transaction=yes/no" for run-time
	  enabling/disabling of transactions.


	* Removed unused program bogowordfreq.


	* Included charset_iconv.c in the build.

0.93.5	2005-01-22


	* Revised t.systest to remove vestiges of different scoring


	* bogotune's '-M' option for converting a message to msg-count
	  format now requires a filename option.


	* Fixed segfault caused by using non-existant option 'F'
	* Fixed size/count errors in wordhash code used by bogotune.


	* Fixed an array overrun in bogotune that caused problems when
	  using msg-count files.

	* Include saving of Unsures in procmail example in man page.

	* Change Yes/No/Unsure to Spam/Ham/Unsure in FAQ.


	* bf_util scripts now use name 'BOGOHOME' for their directory
	  parameter and check that it really is a directory.

0.93.4	2005-01-09


	* Misc fixing of compiler warning messages.
	* Minor refactoring of charset code.


	* Fix --enable-transactions logic, was inverted since 2004-12-26
	  (affected release: only, 0.93.3 was fine). Note that
	  giving neither --enable-transactions nor --disable-transactions would
	  still enable transactions.


	* bogoutil now reads the configuration files to know the user's
	  db_lk_max_* values.  Reported by Karl O. Pinc.

	* Added '--config-file=name' to bogoutil to name a config file and
	  '-C' option to suppress reading a config file.

	* Berkeley DB Transactional recovery now uses the actual db_lk_max_*
	  values rather than hardcoded 1024.  Reported by Karl O. Pinc.


	* Added '--default-charset=name' option to configure script.


	* Initial support for Russian character sets.  (Thanks to Evgeny


	* Bogolexer man page:  replaced incorrect references to
	  'bogofilter' with 'bogolexer'.

	* Added '-O file' to specify bogolexer output file.


	* Fixed bogoutil --db-remove-environment DIR, which would just abort.

	* Fixed several memory leaks.

	* Refactored long option code.	All definitions are now in one
	  file (longoptions.c).	 Programs bogolexer and bogoutil
	  ignore options that don't apply to them, rather than abort.

	* Long options used in the config file use underscores in
	  their names.	Used on the command line, they have hyphens.
	  This fixes a problem where some options had hyphens and some
	  had underscores. 2004-12-26

	* Fixed errors in bogoutil's usage and help messages.

0.93.3	2004-12-24

	* Bogoutil's options for maintaining the database environment
	  are all long options with a "db-" prefix.
	* Bogoutil's help message and man page include the new long


	* Early Christmas Gift: Bogofilter now supports SQLite v3.
	  Requires SQLite v3.0.8. See the RELEASE.NOTES.


	* Internal cleanup: Move transaction handling back into database space,
	  and let the database backend driver map this into the environment if

	* Portability fix for BerkeleyDB versions 3.1 and 3.2:
	  log_archive expects a fourth argument.


	* lexer_v3 HTML parser fix for urlencoded characters, by Krzysztof
	  Foltman. Speeds up a particular case of malformatted mail.


	* bogoutil -C file  now checks if the database file file is intact.
	  (Only implemented for Berkeley DB stores with and without


	* bf_compact now uses db_archive without -d option and loops on the
	  results instead, calling rm in turn for each file. -d is not
	  supported by older Berkeley DB versions such as 4.0.

	* bogoutil -P directory	 now checkpoints the database and removes
	  inactive log files. Note you must save the database and remaining log
	  files, in that order, if you want to be able to recover from
	  corrupted files.


	* Limit mime overflow error messages to 1 per email.


	* configure now checks if Berkeley DB supports shared environments and
	  suggests workarounds if it doesn't, to aid Fedora Core users.


	* New directory doc/programmer/OS2 contains configure.os2
	  script contributed by Yuri Dario

0.93.2	2004-12-03

	* New script bf_resize DIR that checks the sizes of all databases in an
	  environment and writes a lock size to DB_CONFIG.


	* Accuracy fix: message counts of ignore lists (that can be present)
	  will be ignored and no longer skew the spamicity.


	* Allow environment to be group writable, reported by Fletcher Mattox.

	* Accuracy fix: no longer pretend that we had seen an empty message
	  registered when there was no registration. Use ROBX for spamicity.
	  This changes the output format of bogofilter -vvv mode when no spam
	  or no ham messages have been registered previously.


	* Support for Berkeley DB 3.0 was explicitly removed again, so that no
	  stable bogofilter version since 0.17.5 will have had support for this
	  version. This eliminates the need for on-disk database format
	  upgrades and keeps things simple.
	  As the unadvertised breaking of BDB 3.0 didn't raise a single
	  complaint and 3.1 has been around since July 2000, this should be

	* Support long options in bogoutil.

	* Add --remove-environment DIR long option to bogoutil, to remove the
	  environment. Only one such option can be used and there is no
	  corresponding short option.

	* Remove useless numeric Berkeley DB error codes from error messages.


	* bogofilter processes will refuse to open multiple wordlists in
	  different database environments (directories) when the transactional
	  Berkeley DB datastore is compiled (default). The non-transactional
	  (--disable-transactions), QDBM and TDB datastores are unaffected.


	* bogotune now uses getopt() to process the argument list,
	  hence requires a '-n' flag before each non-spam file and a
	  '-s' flag before each spam file.
	* bogotune now accepts '-x flags' to set debug flags.


	* Make scoring one huge transaction, rather than one individual
	  transaction per token. This fixes consistency and should improve
	  score speed.

	  WARNING: this seems to have broken bogotune, which, BTW, doesn't
	  return errors to the test suite (t.bulkmode, with message-count
	  files), it reports a bogus "PASS" in spite of database PANICs.


	* Restored the old traditional Berkeley DB datastore that cannot be
	  recovered. Its use is discouraged, to use this, type
	  ./configure --disable-transactions

	* Restored the error message when recovery is attempted on QDBM
	  databases, was lost in the DEPOT (hash) ->VILLA (B+tree) switch.


	* Added utility script bf_tar.


	* Added utility scripts bf_copy and bf_compact.
	* Added BerkeleyDB warning for binary rpm users.


	* New entries in bogofilter-faq.html on error messages
	      "Lock table is out of available locks" and
	      "Lock table is out of available object entries"

	* Add %u formatting option to print login or user ID information,
	  SourceForge Feature Request #1056729.

0.93.1	2004-11-11

	* The README.db file now has information on the DB_CONFIG file that
	  can be created and used to configure the Berkeley DB module.

	* Bogofilter's config file now supports setting max lock and
	  object counts for Berkeley DB using options

	* Bogofilter and bogoutil now allow these options on the
	  command line, as:

	* When running database recovery automatically, don't let go of the
	  lockfile, so we can do our actual work subsequently.


	* Support for BerkeleyDB 4.3 was added. We'll avoid DB_NOSYNC on
	  DB->close() when DB_LOG_INMEMORY is configured for now.

	* Update manual pages/example outputs and filter recipe examples from
	  "X-Bogosity: yes" to "X-Bogosity: Spam". Fixes Debian bug #280557.

	* Bugfix for BerkeleyDB 4.2 support: check the data base flags, not the
	  environment flags, for DB_TXN_NOT_DURABLE, when determining whether
	  DB_NOSYNC is safe on DB->close(). May fix some kinds of database
	  corruption encountered with DB_TXN_NOT_DURABLE.

	* Return DB_VERSION_STRING contents in -V (version) output when
	  compiled against Berkeley DB. Minor change to the output format.


	* Unify and clean up the horrible RELEASE.NOTES-*, CHANGES* and NEWS-*
	  mess with lots of duplicated info.
	  There shall only be one RELEASE.NOTES file and one NEWS file.
	  RELEASE.NOTES shall contain important information for updates.
	  NEWS shall contain noteworthy code changes in technical detail.

	  This also removes the confusion that RELEASE.NOTES didn't contain
	  information relevant for 0.93.X.


	* Berkeley DB mode: do not create data base in read mode (properly map
	  open_mode to DB_RDONLY flag, store open_mode).

	* Berkeley DB mode: exit with error code if lock file cannot be
	  created. Attempt recovery even if creation of lock file succeeded.


	* Fixed negative buffer index in mime.c

0.93.0	2004-11-06 "Broken compatibility" release

	* Fix bogotune's '-D' option.


	* Use only reentrant functions in the signal handler that runs
	  periodically to check for crashed processes.
	  Reported by Pavel Kankovsky.


	* Add a debugged and enhanced version of Stefan Bellon's QDBM
	  Hash->B+tree converter.

	* Broke QDBM compatibility with 2004-10-30 change, check unsigned
	  characters to match Berkeley DB behavior of bogoutil -d.


	* Rearranged flag setting for Berkeley DB data store, so as only to set
	  DB_CHKSUM[_SHA1] when creating the data base.
	  Fixes "checksum error: catastrophic recovery required" and
	  consequential "wordlist.db: page 1: reference count overflow" errors
	  Reported by Torsten Veller.

	* Revised RELEASE.NOTES-0.93 to move QDBM change into "Incompatible
	  Changes" section and to mention BerkeleyDB dump/load for 4.1 and 4.2
	  to add checksums.

	* Inserted new section 2.2 into doc/README.db to mention that it is
	  recommended to dump/load the data base when using BerkeleyDB 4.1 and


	* Converted QDBM from hash files (DEPOT API) to B+ trees
	  (Villa API) for better speed (Stefan Bellon).


	* Attempting recovery with TDB or QDBM data bases results in an error,
	  so the user does not think it succeeded.

	* Document that recovery only works for Berkeley DB, but not TDB or


	* Merged Transactional branch (for BerkeleyDB) back into the trunk.
	  Further changes below.


	* Added GETTING.STARTED document.

	* Changed default mode from two-state to three-state
	  - with ham_cutoff=0.45 and spam_cutoff=0.99
	    The ham_cutoff value is new and spam_cutoff is unchanged.
	  - changed the "Yes/No" tags used in the "X-Bogosity:" line
	    to "Spam/Ham/Unsure"

	NOTE: the next entries appear to be out of order, the pertinent changes
	have been developed on a side branch of bogofilter and have been merged
	for bogofilter 0.93.0.


	* bogofilter can now be used with Berkeley DB 3.0 or 3.1 although this
	  is not recommended. You should prefer 4.2 or 4.1 instead.
	  UPDATE: support for 3.0 was later removed on 2004-11-29

	* Documentation on the write cache issue (recoverability of data bases)
	  has been revised.


	* Updates doc/README.db with a section on the log file size and
	  pointers to db_checkpoint and db_archive.

	2004-09-03 (txn 2.1)

	* The on-line crash detector would consider its own process a zombie,
	  so all processes that lasted 30 s or longer would abort themselves
	  after that period.

	  This was particularly prominent with BerkeleyDB 4.1 with
	  x86/gcc-assembly mutexes as this combination appears rather slow when
	  facing lock contention, causing t.lock3 failure. BDB 4.1 compiled to
	  use POSIX mutexes (where working) appears to be a lot faster in this

	2004-09-01 (txn 2.0)

	* Hook up crash detection code. Bogofilter is now able to detect
	  when recovery is necessary and should detect stalled data bases
	  within 30 seconds.
	  NOTE: this means if one process crashes all other processes
	  accessing the same data base will abort with an error code.

	  Stalled data bases happen when one process or the system crashes and
	  doesn't have a chance to clear its locks.

	  This code uses ideas from Matthias Andree and Pavel Kankovsky.

	2004-08-23 (txn 1.1)

	* Add -f and -F options to bogoutil (mnemonic: fix) to run data base

	* Reimplement our own locking so that recovery and data base access
	  don't collide and no two processes try running recovery at the same

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 24 09:59:20 2005 UTC (18 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Add RMD160 digests.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 17 15:22:33 2005 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Fix patch-ac (db4 patch). From UHO Yaranaika. Closes PR 28949,
confirmed by Hauke Fath.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 14 18:20:33 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

bogofilter seems to require db4, so include db4/ directly
instead of indirectly via  Also, fix compilation
to account for differences beteween db-4.3.x and db-4.2.x.  This should
fix PR pkg/28949.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 26 05:41:41 2004 UTC (19 years, 1 month ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Update to 0.92.8.

* 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.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 29 06:47:17 2004 UTC (19 years, 3 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Update to 0.92.6.

* Added "-QQ" option to bogofilter to display extended parameter list.
* Documentation fixes
* Validate dates used with '-y'.
* Diagnose missing wordlist specification.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 4 06:20:49 2004 UTC (19 years, 3 months ago) by snj
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Update to 0.92.4.  Changes:
* 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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 29 02:20:17 2004 UTC (19 years, 5 months ago) by snj
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Upgrade to 0.92.0, the latest stable release.

Changes include bugfixes, documentation improvements, etc.  See the included
CHANGES file for the specifics.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 23 22:42:05 2004 UTC (19 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Take maintainership.  Update to bogofilter-0.17.5.

* 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.
* Correct SIGSEGV causes by missing environment variables.
* Miscellaneous Portability fixes
* Documentation cleanups.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 9 00:59:06 2004 UTC (19 years, 9 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Update to bogofilter-0.16.4, bl3ify, tidy up DESCR.  Okayed by jmmv and wiz.

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

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 14 20:16:39 2004 UTC (19 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Fix build bug with cc -g, patch submitted by john heasley.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 24 17:52:50 2003 UTC (19 years, 11 months ago) by jonb
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

See CHANGES-0.15 for the full (232 line) list of changes...
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.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 30 07:11:48 2003 UTC (20 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Updated to

While updating, make bogofilter use the
framework to install the configuration file into PKG_SYSCONFDIR.

Patch provided by Soren Jacobsen in PR pkg/22983.


* _Really_ fix defective printing in 'bogofilter -Q' output.
* 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.
* - removed email 'cruft' and revised format
  of verbose output.
* Fixed parameter type error in dbh_print_names() that causes
* Enhanced verbose output of
* 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's norepetition mode.
* Updated 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.
* 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.
* 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 ( 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.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 5 04:31:40 2003 UTC (20 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

upgrade to 0.14.2.  note that upgrade from 0.13 needs invoation of "bogoupgrade"


$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. 2003-08-01

	* Fixed check for adding spam_subject_tag to Subject: line.
	* Updated French version of FAQ.


	* Correct problem with t.degen regression test.

0.14.1	2003-07-31

	* Updated English version of FAQ.


	* Initial release of token degeneration code.


	* Revised lexer pattern to better recognize encoded tokens.


	* Implemented named exitcodes, with Unsure having its own
	  value (2) and changing the value for error from 2 to 3. 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
	* Updated to work with combined wordlists.

0.14.0	2003-07-22

	* Updated contrib/ prints more info and can save
	  messages used in training.

	* Miscellaneous documentation updates.


	* Decode encoded text in header lines.


	* 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


	* Default wordlist mode is single, combined wordlist.
	  File wordlist.db contains all spam and ham tokens.


	* Added tdb (trivial database) support.


	* 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.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 12 15:28:42 2003 UTC (20 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

upgrade to 2003-07-02
	* Fixed loop in yyinput() caused by unexpected EOF. 2003-06-26
	* Update bogotune to version 0.3
	* Added '-k size' option to bogofilter and bogoutil for
          setting BerkeleyDB's cache size.
	* 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.
	* '-Q' processing no longer requires that spamlist.db be present.
0.13.7	2003-06-20
	* Replaced tuning/ with tuning/bogotune (and related files). 2003-06-18
	* Minor code rewrites to speed up processing messages, mboxes,
	  and msg-count files.  In particular, tuning/ runs
	  are approx 47% faster than before.
	* Fixed several errors in tuning/ and reformatted
	  "Top 10 Results" output.
	* Minor changes to bogoutil to support bogotune script.
	* Added newlines to correct usage messages. 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. 2003-06-05
	* Updated file tuning/README and script tuning/
0.13.6	2003-06-04
	* Fix check for "^From " lines to work properly during base64
	* 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
	* 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. 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
	* Added db-3.2 and db-3.1 to list for AC_CHECK_DB in
0.13.3	2003-05-28
	* Minor code tweaks to quiet gcc-3.3 warnings.
	* Added doc/programmer/README.osx to distribution.
	* Corrected FAQ's procmail recipe for training with SpamAssassin.
	* Added -V (version) option to bogolexer.
	* Tweaked long line check used to prevent scanner buffer overflow. 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 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.
	* Added 'tuning' directory with scripts for tuning bogofilter.
	  (cf. bogofilter-tuning.HOWTO)
	* 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.
	* Added bogofilter-tuning.HOWTO as replacement for README.Robinson
	* Added classification support for msg-count formatted files.
	* Add for creating msg-count formatted email file.
	* Added bulk mode procesing for Maildirs.
	  '-b' reads filenames from stdin.
	  '-B' gets filenames from the command line.
	* Miscellaneous refactoring in main.c
0.11.2  - stable version
	* Added 'terse' option to for selecting format of
          X-Bogosity line.
	* Use frexp() to retain maximum precision of floating point results.
	* Reformat histogram output (from "-vv") to fit in 80 columns.
	* Added sample configuration for maildrop.
	* 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.
	* Include 'strict_check' in '-qv' output.
	* Correct outdated acinclude.m4, as it causes the configure
	  script to be invalid.
	* Revised UPGRADE document.
	* Added contrib/
	* Change bogoutil's '-p' option to require a database.
	* Fix OS X segfault caused by using DB handle after closing database.
	* Improve bogoutil's reporting of a bad directory or filename.
	* Simplify configure check for BerkeleyDB.
	* Extend configure's compiler checks for AIX.
	* Changed default value of 'strict_check' to 'no' (disabled).
	* Added config file option 'strict_check' for processing
	  html comments.  Enabled means to use "<!--" and "-->" to
	  delimit comments.  Disabled uses "<!" and ">".
	* 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.
	* 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.

Revision / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 3 12:06:07 2003 UTC (20 years, 8 months ago) by manu
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Bayesian spam filter written in C

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:06:07 2003 UTC (20 years, 8 months ago) by manu
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>