Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Christoph Badura <bad@netbsd.hut.fi>
List: pkgsrc-changes
Date: 02/10/2001 21:08:10
Module Name:	pkgsrc
Committed By:	bad
Date:		Sat Feb 10 19:08:10 UTC 2001

Modified Files:
	pkgsrc/mail/grepmail: Makefile
	pkgsrc/mail/grepmail/files: md5
	pkgsrc/mail/grepmail/pkg: PLIST

Log Message:
Update grepmail to 4.45.
The package has moved to Sourceforge.

Changes since 4.11:

New in version 4.45:
- Added -n and -V to usage message. (Thanks to Wolfgang Rohdewald
  <WRohdewald@dplanet.ch> for catching this.)
- Added workarounds to prevent warnings resulting from a bug in Perl 5.6
- A blank line before the start of an email is not required now. This
  allows broken folders created by Netscape to be read. (Thanks to Jeremy
  Malcolm <terminus@terminus.net.au> for the bug report.)

New in version 4.44:
- execution with -M flag now 35% faster
- Added a Mail::Folder::FastReader module which can cause grepmail to
  run 10-40% faster, depending on your system. Since this module is
  experimental, the installation script will allow you to not install
  the module. A C compiler is required.
- "-----Original Message-----" now recognized as beginning an included
  message
- Fixed a bug where errors would not be displayed if compressed data
  was piped to grepmail
- Date::Parse is now only required if -d is used. (Date::Manip is
  still only required if you use complex date specfications.) (Thanks
  to Richard Stallman <rms@gnu.org> for pointing this out.)
- Added -n flag to print line numbers a la grep. (Thanks to Richard
  Stallman <rms@gnu.org> for the suggestion)
- Fixed a bug in debug output where the email subject was actually the
  sender
- Fixed an undefined value in the printing of flag information
- An ASCII file is now determined to be a mailbox if it has a line
  whose prefix is 'From' or 'X-From-Line:', and another line whose
  prefix is 'Received ', 'Date:', 'Subject:', 'X-Status:', or
  'Status:'.
- Error exits now return 1 (Thanks to Wolfgang Rohdewald
  <WRohdewald@dplanet.ch> for the bug report)
- -V flag prints the version (Thanks to Wolfgang Rohdewald
  <WRohdewald@dplanet.ch> for the feature request)
- Restructured code: localized reading of the emails from the file,
  removed two functions

New in version 4.43:
- Fixed a bug in -r counting when used with -h. (Thanks to Andrew
  <andrew@ugh.net.au> for the bug report.)
- Fixed a bug in the handling of included messages. (Thanks to Antoine
  Martin <antonus@libertysurf.fr> for the bug report and suggestion
  for the fix.)

New in version 4.42:
- Added -a flag to use received date instead of sent date for -d matches.
  (Thanks to Michael Liljeblad <liljeblad at users.sourceforge.net> for the
  patch.)
- Included emails are now ignored properly (Thanks to an anonymous submittor
  for the bug report and part of a patch
  https://sourceforge.net/bugs/?func=detailbug&bug_id=112159&group_id=2207)
- If an email has no date, the -d switch now issues a warning and does not
  treat the email as a match (Thanks to David Blaine <blained at
  users.sourceforge.net> for the bug report.)
- -d "" can be used to find emails without dates
- Mailbox files are now detected as files using
  if ($buffer =~ /^(X-From-Line:|From) /im && $buffer =~ /^Subject: /im)
  rather than
  if ($buffer =~ /^(X-From-Line:|From) /im && $buffer =~ /^Date: /im)
- Improved detection of binary files. (Thanks to Dan Sugalski
  <dan@tuatha.sidhe.org> for the sample code.)
- STDERR and STDOUT now checked separately during "make test"
- Headers can now be in the format "Date:<tab>" in addition to "Date: "
  (Thanks to Benjamin Korvemaker <korvemaker at users.sourceforge.net> for the
  patch and concept.)

New in version 4.41:
- Support for Gnus-style mail files added (Thanks to Werner Bosse
  <Werner.Bosse@alcatel.de> for the patch.)
- Test mail files tweaked to make the test cases work better across all time
  zones. (Thanks to Andreas Kutschera <Andreas.Kutschera@bln.siemens.de> for
  the patch.)
- Added check for unparsable dates in email headers.
- Fixed a Perl warning raised when date parsing fails.
- Added instructions for getting the necessary modules to README.

New in version 4.40:
- Date::Parse and Date::Manip version unified -- Date::Parse is now required,
  and Date::Manip (if present) is used to parse complex dates. (Patch by
  Seth Cohn <sethcohn@users.sourceforge.net>, modified by David Coppit)

New in version 4.31:
- Distro has missing test cases for -u functionality. Doh!

New in version 4.30:
- Updated code to avoid warnings under Perl 5.6 (Thanks to Andreas Kutschera
  <Andreas.Kutschera@bln.siemens.de> for the bug report.)
- Fixed a bug in the test script where bzip2, gzip, and tzip support would not
  be tested even though the programs were available. (Thanks to Andreas
  Kutschera <Andreas.Kutschera@bln.siemens.de> for the patch.)
- Added standard --help flag (Patch by Seth Cohn <seth@users.sourceforge.net>)
- Added -u ("unique") flag, which ensures that no duplicate messages will be
  output. (A BIG thanks to Seth Cohn <seth@users.sourceforge.net>.)

New in version 4.23:
- Updated the test cases to work better in timezones close to +0000 and +2300.
  (email if you have problems with tests 1 and 23. Thanks to Harald Krause
  <harald.krause@a-city.de> for first finding the bug, and Adam Huffman
  <adam.huffman@man.ac.uk> for his help debugging it.)
- Fixed a bug in the "ignore attachments" code

New in version 4.22:
- grepmail now behaves better when tzip, bzip2 or gunzip aren't present on the
  system.
- The code has been restructured to compile more easily with perlcc.

New in version 4.21:
- Fixed a bug that would cause grepmail to runaway when a pipe following it
  was broken. (Thanks to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> for the
  bug report)

New in version 4.20:
- grepmail development has been moved to SourceForge, and made public. Visit
  http://grepmail.sourceforge.net/
- Added -s flag, which limits matched emails to a given size
- Restructured the code to be more robust with respect to feature interaction.
  (At a 5-10% slowdown cost.)
- Fixed an uninitialized variable warning caused by emails without subjects in
  debug mode.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mail/grepmail/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/mail/grepmail/files/md5
cvs rdiff -r1.2 -r1.3 pkgsrc/mail/grepmail/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.