2003-01-20 09:28:17 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2003/01/20 08:28:17 wiz Exp $
|
1999-06-08 14:01:13 +02:00
|
|
|
#
|
|
|
|
|
2003-01-20 09:28:17 +01:00
|
|
|
DISTNAME= grepmail-4.91
|
1999-06-08 14:01:13 +02:00
|
|
|
CATEGORIES= mail
|
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.
2001-02-10 20:08:09 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=grepmail/}
|
1999-06-08 14:01:13 +02:00
|
|
|
|
|
|
|
MAINTAINER= david@fundy.net
|
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.
2001-02-10 20:08:09 +01:00
|
|
|
HOMEPAGE= http://grepmail.sourceforge.net/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= mbox formatted file search utility
|
1999-06-08 14:01:13 +02:00
|
|
|
|
2002-11-01 12:38:33 +01:00
|
|
|
DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
|
2003-01-20 09:28:17 +01:00
|
|
|
DEPENDS+= p5-Inline-[0-9]*:../../devel/p5-Inline
|
|
|
|
DEPENDS+= p5-Storable-[0-9]*:../../devel/p5-Storable
|
2002-11-01 12:38:33 +01:00
|
|
|
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
|
2003-01-20 09:28:17 +01:00
|
|
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
2002-11-01 12:38:33 +01:00
|
|
|
|
Update to version 4.80.
Package changes:
Use buildlink2. Use perl5/module.mk.
Only the "version" with FastReader is now build (no more
${PREFIX}/bin/grepmail-{quick,full}).
New in version 4.80:
- Added prototype -E flag to support complex searches. (Thanks to Nelson Minar
<nelson@monkey.org> for the original suggestion in Sep 2000, And terry jones
<terry@eatoni.com> for seconding the idea.)
- Added -F flag to force processing of files which grepmail determines are not
mailboxes. (feature suggested by terry jones <terry@eatoni.com>)
- Documentation updated to reflect that -B no longer exists. (By terry jones
<terry@eatoni.com>)
- The test to determine if a file is a mailbox was improved to adhere better
to RFC 822, while still providing some flexibility. (Initial suggestion and
patch by terry jones <terry@eatoni.com>)
- Improved date extraction to also look at the 'From ' line when both the
Received and Date headers fail. (patch by terry jones <terry@eatoni.com>)
- Fixed a long-standing bug in which filenames of compressed mailboxes which
contained special shell characters would cause problems. (Thanks to Jost
Krieger <jkrieger@users.sourceforge.net> for giving me the kick in the pants
to finally fix this.)
- Fixed a long-standing bug in which grepmail would incorrectly report the
filename of compressed mailboxes in error messages. (Thanks to Jost Krieger
<jkrieger@users.sourceforge.net> for giving me the kick in the pants to
finally fix this.)
New in version 4.72:
- 20% speed improvement in the Perl mailbox parser (By terry jones
<terry@eatoni.com>)
- Fixed a number of potential bugs in command line processing and date
processing. (By terry jones <terry@eatoni.com>)
- Cleaned up return values and use of quotes in the code. (By terry jones
<terry@eatoni.com>)
- Fixed a bug in -X signature processing (By terry jones <terry@eatoni.com>)
- Modified anonymize_mailbox to anonymize To: and Subject: in the header.
(Thanks to terry jones <terry@eatoni.com> for the idea.)
- Fixed a bug in FastReader where emails less than 255 characters in size
would occasionally cause a core dump. (Thanks to terry jones
<terry@eatoni.com> for submitting a bug report and sample mailbox.)
- Made "big" test mailboxes 4 times bigger for more meaningful speed tests
New in version 4.71:
- Fixed warning about SIGHUP on Windows.
- Fixed -u functionality for emails without the Message-Id header. (Thanks to
Felix E. Klee <felix.klee@inka.de> for finding the bug.) NOTE: grepmail will
use Digest::MD5 to compute a hash for the email header. If you don't have
Digest::MD5, grepmail will just store the header. So, the default tradeoff
is time for space.
- Fixed a bug in the test script. (Thanks to Joey Hess <joey@kitenet.net> for
finding and fixing the bug.)
- Extended workaround for spurious warning about undefined variable to Perl
5.8. (Thanks to Joey Hess <joey@kitenet.net> for reporting the ongoing
heisenbug.)
New in version 4.7:
- Fixed signal handling to make grepmail easier to debug. Thanks to Ilya
Zakharevich for providing the solution.
- Fixed a possible performance problem in reading of emails (Perl
implementation), and documented the settings in the README.
- Expanded the pattern for matching the start of emails to allow different
types of emails to be parsed.
- Fixed a bug where -R was reported as not recognized. (Thanks to Nicholas
Riley <nriley@sf.net> for the bug report and fix.)
- "anonymize_mailbox" utility included to help people submit bug reports
- If a mailbox can not be found, grepmail now searches the $home/mail,
$home/Mail, $home/Mailbox directories (or the directory specified by the
MAIL environment variable). (Thanks to Michael Friendly <friendly@yorku.ca>
for the feature suggestion and initial patch.)
- Added -X flag to allow the user to specify a pattern for the signature
separator. (Thanks to Michael Friendly <friendly@yorku.ca> for the feature
suggestion.)
- Added -Y flag to search specific headers. (Thanks to Terry Jones
<terry@eatoni.com> for the idea to automatically wrap header lines as
necessary.)
New in version 4.60:
- Removed -B flag and added -S flag. -B is now performed using -bS.
- Added installation flags to suppress interactive installation. (Thanks to
Joey Hess <joey@kitenet.net> for the problem report. He had to patch
Makefile.PL for his Debian packaging.)
- Fixed a slow implementation of searching for signatures that would cause
grepmail to crawl for very large emails. Thanks to Joey Hess
<joey@kitenet.net> for discovering the inefficiency.
- Fixed a short-circuit which should have bypassed the search for signatures
if -B was not specified. Thanks to Joey Hess <joey@kitenet.net> for finding
the bug.
- Implemented a new Perl parser which is 5% to 50% faster depending on how
I/O-bound your system is.
- Restructured the code a bit and improved detection of invalid arguments.
New in version 4.51:
- grepmail now dies gracefully when invalid patterns like 'strcpy(' are
supplied. (It should be 'strcpy\('.)
- Fixed a bug in attachment boundary matching which would cause the boundary
match to fail if the boundary contained special pattern matching characters.
(Thanks to Richard Everson <rme at users.sourceforge.net> for identifying
the bug, and providing a sample email which demonstrates the problem.)
- Added a check for Inline 0.41 or better during "perl Makefile.PL" when
Mail::Folder::FastReader is selected to be installed. (Thanks to Brian L.
Johnson <blj8@blj8.com> for the problem report.)
- Fixed a bug where grepmail would fail to print matching emails which had
signatures, and added a test case for it. This bug was introduced with -B
support in version 4.49. (A *huge* thanks to Moritz Barsnick
<barsnick@gmx.net> for reporting the bug and doing the initial analysis of
the cause.)
- Modified Makefile.PL to ask whether the user wants FastReader regardless of
whether they specified arguments to "make Makefile.PL".
- Modified Makefile.PL to allow the user to interactively specify the
installation path.
- Fixed a typo in debugging output for emails without "Date:" headers.
- Improved error messages.
- Usage message now displays just the flags, --help shows a summary of their
meanings as well.
New in version 4.50:
- Added X-Draft-From to support newer versions of Gnus (Thanks to Nevin Kapur
<nevin@jhu.edu> for the patch).
New in version 4.49:
- Fixed test cases to work around PATH modifications made by Date::Manip
- Added -B to search the body but not the signature. (Thanks to Helmut
Springer <delta@faveve.uni-stuttgart.de> for the feature request.)
- Added LICENSE file. (Thanks to Janet Casey <jcasey@gnu.org> for the
reminder.)
New in version 4.48:
- Mail::Folder::FastReader migrated from XS to Inline.
- -H flag added by Nevin Kapur <nevin@jhu.edu>
- Error messages are localized in test cases. (Thanks to cpan-testers and in
particular Jost Krieger <Jost.Krieger@ruhr-uni-bochum.de> for finding this
bug and diagnosing it.)
- Fixed a problem with timezones in the test cases. (Thanks to Roy Lanek
<lanek@ranahminang.net> for helping me debug this.)
- Added a check in the test cases for determining if the user's timezone is
not recognized by Date::Manip.
New in version 4.47:
- Grepmail now converts Gnus emails into mbox emails before printing them.
(Thanks to Johan Vromans <JVromans@squirrel.nl> for supplying a patch and
explaining the need for it.
- Fixed a couple bugs in -M processing
- -M is now 19% faster. (It's now only about 9% slower than without -M.)
New in version 4.46:
- Fixed a bug in -u message id processing. (Thanks go to an anonymous bug
reporter on SourceForge.)
- Added more workarounds to prevent warnings resulting from a bug in Perl 5.6
(Thanks to Joey Hess <joey@kitenet.net>)
- Added -Z flag to tell grepmail not to use Mail::Folder::FastReader even if
it is installed.
- Fixed a bug introduced in version 4.44 where -m would not work unless used
with -n. (Thanks to Imre Simon <is@ime.usp.br> for catching this.)
- --help anywhere on the command line now causes the help to be printed,
instead of only when used as the first argument.
- Test script now exercises both the Mail::Folder::FastReader and perl mailbox
implementations as appropriate.
- Restructured code to separate out Perl mailbox implementation as
Mail::Folder::SlowReader. (This module is embedded in the grepmail script.)
2002-10-31 09:18:40 +01:00
|
|
|
USE_BUILDLINK2= YES
|
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.
2001-02-10 20:08:09 +01:00
|
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/grepmail/.packlist
|
1999-06-08 14:01:13 +02:00
|
|
|
|
Update to version 4.80.
Package changes:
Use buildlink2. Use perl5/module.mk.
Only the "version" with FastReader is now build (no more
${PREFIX}/bin/grepmail-{quick,full}).
New in version 4.80:
- Added prototype -E flag to support complex searches. (Thanks to Nelson Minar
<nelson@monkey.org> for the original suggestion in Sep 2000, And terry jones
<terry@eatoni.com> for seconding the idea.)
- Added -F flag to force processing of files which grepmail determines are not
mailboxes. (feature suggested by terry jones <terry@eatoni.com>)
- Documentation updated to reflect that -B no longer exists. (By terry jones
<terry@eatoni.com>)
- The test to determine if a file is a mailbox was improved to adhere better
to RFC 822, while still providing some flexibility. (Initial suggestion and
patch by terry jones <terry@eatoni.com>)
- Improved date extraction to also look at the 'From ' line when both the
Received and Date headers fail. (patch by terry jones <terry@eatoni.com>)
- Fixed a long-standing bug in which filenames of compressed mailboxes which
contained special shell characters would cause problems. (Thanks to Jost
Krieger <jkrieger@users.sourceforge.net> for giving me the kick in the pants
to finally fix this.)
- Fixed a long-standing bug in which grepmail would incorrectly report the
filename of compressed mailboxes in error messages. (Thanks to Jost Krieger
<jkrieger@users.sourceforge.net> for giving me the kick in the pants to
finally fix this.)
New in version 4.72:
- 20% speed improvement in the Perl mailbox parser (By terry jones
<terry@eatoni.com>)
- Fixed a number of potential bugs in command line processing and date
processing. (By terry jones <terry@eatoni.com>)
- Cleaned up return values and use of quotes in the code. (By terry jones
<terry@eatoni.com>)
- Fixed a bug in -X signature processing (By terry jones <terry@eatoni.com>)
- Modified anonymize_mailbox to anonymize To: and Subject: in the header.
(Thanks to terry jones <terry@eatoni.com> for the idea.)
- Fixed a bug in FastReader where emails less than 255 characters in size
would occasionally cause a core dump. (Thanks to terry jones
<terry@eatoni.com> for submitting a bug report and sample mailbox.)
- Made "big" test mailboxes 4 times bigger for more meaningful speed tests
New in version 4.71:
- Fixed warning about SIGHUP on Windows.
- Fixed -u functionality for emails without the Message-Id header. (Thanks to
Felix E. Klee <felix.klee@inka.de> for finding the bug.) NOTE: grepmail will
use Digest::MD5 to compute a hash for the email header. If you don't have
Digest::MD5, grepmail will just store the header. So, the default tradeoff
is time for space.
- Fixed a bug in the test script. (Thanks to Joey Hess <joey@kitenet.net> for
finding and fixing the bug.)
- Extended workaround for spurious warning about undefined variable to Perl
5.8. (Thanks to Joey Hess <joey@kitenet.net> for reporting the ongoing
heisenbug.)
New in version 4.7:
- Fixed signal handling to make grepmail easier to debug. Thanks to Ilya
Zakharevich for providing the solution.
- Fixed a possible performance problem in reading of emails (Perl
implementation), and documented the settings in the README.
- Expanded the pattern for matching the start of emails to allow different
types of emails to be parsed.
- Fixed a bug where -R was reported as not recognized. (Thanks to Nicholas
Riley <nriley@sf.net> for the bug report and fix.)
- "anonymize_mailbox" utility included to help people submit bug reports
- If a mailbox can not be found, grepmail now searches the $home/mail,
$home/Mail, $home/Mailbox directories (or the directory specified by the
MAIL environment variable). (Thanks to Michael Friendly <friendly@yorku.ca>
for the feature suggestion and initial patch.)
- Added -X flag to allow the user to specify a pattern for the signature
separator. (Thanks to Michael Friendly <friendly@yorku.ca> for the feature
suggestion.)
- Added -Y flag to search specific headers. (Thanks to Terry Jones
<terry@eatoni.com> for the idea to automatically wrap header lines as
necessary.)
New in version 4.60:
- Removed -B flag and added -S flag. -B is now performed using -bS.
- Added installation flags to suppress interactive installation. (Thanks to
Joey Hess <joey@kitenet.net> for the problem report. He had to patch
Makefile.PL for his Debian packaging.)
- Fixed a slow implementation of searching for signatures that would cause
grepmail to crawl for very large emails. Thanks to Joey Hess
<joey@kitenet.net> for discovering the inefficiency.
- Fixed a short-circuit which should have bypassed the search for signatures
if -B was not specified. Thanks to Joey Hess <joey@kitenet.net> for finding
the bug.
- Implemented a new Perl parser which is 5% to 50% faster depending on how
I/O-bound your system is.
- Restructured the code a bit and improved detection of invalid arguments.
New in version 4.51:
- grepmail now dies gracefully when invalid patterns like 'strcpy(' are
supplied. (It should be 'strcpy\('.)
- Fixed a bug in attachment boundary matching which would cause the boundary
match to fail if the boundary contained special pattern matching characters.
(Thanks to Richard Everson <rme at users.sourceforge.net> for identifying
the bug, and providing a sample email which demonstrates the problem.)
- Added a check for Inline 0.41 or better during "perl Makefile.PL" when
Mail::Folder::FastReader is selected to be installed. (Thanks to Brian L.
Johnson <blj8@blj8.com> for the problem report.)
- Fixed a bug where grepmail would fail to print matching emails which had
signatures, and added a test case for it. This bug was introduced with -B
support in version 4.49. (A *huge* thanks to Moritz Barsnick
<barsnick@gmx.net> for reporting the bug and doing the initial analysis of
the cause.)
- Modified Makefile.PL to ask whether the user wants FastReader regardless of
whether they specified arguments to "make Makefile.PL".
- Modified Makefile.PL to allow the user to interactively specify the
installation path.
- Fixed a typo in debugging output for emails without "Date:" headers.
- Improved error messages.
- Usage message now displays just the flags, --help shows a summary of their
meanings as well.
New in version 4.50:
- Added X-Draft-From to support newer versions of Gnus (Thanks to Nevin Kapur
<nevin@jhu.edu> for the patch).
New in version 4.49:
- Fixed test cases to work around PATH modifications made by Date::Manip
- Added -B to search the body but not the signature. (Thanks to Helmut
Springer <delta@faveve.uni-stuttgart.de> for the feature request.)
- Added LICENSE file. (Thanks to Janet Casey <jcasey@gnu.org> for the
reminder.)
New in version 4.48:
- Mail::Folder::FastReader migrated from XS to Inline.
- -H flag added by Nevin Kapur <nevin@jhu.edu>
- Error messages are localized in test cases. (Thanks to cpan-testers and in
particular Jost Krieger <Jost.Krieger@ruhr-uni-bochum.de> for finding this
bug and diagnosing it.)
- Fixed a problem with timezones in the test cases. (Thanks to Roy Lanek
<lanek@ranahminang.net> for helping me debug this.)
- Added a check in the test cases for determining if the user's timezone is
not recognized by Date::Manip.
New in version 4.47:
- Grepmail now converts Gnus emails into mbox emails before printing them.
(Thanks to Johan Vromans <JVromans@squirrel.nl> for supplying a patch and
explaining the need for it.
- Fixed a couple bugs in -M processing
- -M is now 19% faster. (It's now only about 9% slower than without -M.)
New in version 4.46:
- Fixed a bug in -u message id processing. (Thanks go to an anonymous bug
reporter on SourceForge.)
- Added more workarounds to prevent warnings resulting from a bug in Perl 5.6
(Thanks to Joey Hess <joey@kitenet.net>)
- Added -Z flag to tell grepmail not to use Mail::Folder::FastReader even if
it is installed.
- Fixed a bug introduced in version 4.44 where -m would not work unless used
with -n. (Thanks to Imre Simon <is@ime.usp.br> for catching this.)
- --help anywhere on the command line now causes the help to be printed,
instead of only when used as the first argument.
- Test script now exercises both the Mail::Folder::FastReader and perl mailbox
implementations as appropriate.
- Restructured code to separate out Perl mailbox implementation as
Mail::Folder::SlowReader. (This module is embedded in the grepmail script.)
2002-10-31 09:18:40 +01:00
|
|
|
MAKE_PARAMS+= INSTALLDIRS=site
|
1999-06-08 14:01:13 +02:00
|
|
|
|
Update to version 4.80.
Package changes:
Use buildlink2. Use perl5/module.mk.
Only the "version" with FastReader is now build (no more
${PREFIX}/bin/grepmail-{quick,full}).
New in version 4.80:
- Added prototype -E flag to support complex searches. (Thanks to Nelson Minar
<nelson@monkey.org> for the original suggestion in Sep 2000, And terry jones
<terry@eatoni.com> for seconding the idea.)
- Added -F flag to force processing of files which grepmail determines are not
mailboxes. (feature suggested by terry jones <terry@eatoni.com>)
- Documentation updated to reflect that -B no longer exists. (By terry jones
<terry@eatoni.com>)
- The test to determine if a file is a mailbox was improved to adhere better
to RFC 822, while still providing some flexibility. (Initial suggestion and
patch by terry jones <terry@eatoni.com>)
- Improved date extraction to also look at the 'From ' line when both the
Received and Date headers fail. (patch by terry jones <terry@eatoni.com>)
- Fixed a long-standing bug in which filenames of compressed mailboxes which
contained special shell characters would cause problems. (Thanks to Jost
Krieger <jkrieger@users.sourceforge.net> for giving me the kick in the pants
to finally fix this.)
- Fixed a long-standing bug in which grepmail would incorrectly report the
filename of compressed mailboxes in error messages. (Thanks to Jost Krieger
<jkrieger@users.sourceforge.net> for giving me the kick in the pants to
finally fix this.)
New in version 4.72:
- 20% speed improvement in the Perl mailbox parser (By terry jones
<terry@eatoni.com>)
- Fixed a number of potential bugs in command line processing and date
processing. (By terry jones <terry@eatoni.com>)
- Cleaned up return values and use of quotes in the code. (By terry jones
<terry@eatoni.com>)
- Fixed a bug in -X signature processing (By terry jones <terry@eatoni.com>)
- Modified anonymize_mailbox to anonymize To: and Subject: in the header.
(Thanks to terry jones <terry@eatoni.com> for the idea.)
- Fixed a bug in FastReader where emails less than 255 characters in size
would occasionally cause a core dump. (Thanks to terry jones
<terry@eatoni.com> for submitting a bug report and sample mailbox.)
- Made "big" test mailboxes 4 times bigger for more meaningful speed tests
New in version 4.71:
- Fixed warning about SIGHUP on Windows.
- Fixed -u functionality for emails without the Message-Id header. (Thanks to
Felix E. Klee <felix.klee@inka.de> for finding the bug.) NOTE: grepmail will
use Digest::MD5 to compute a hash for the email header. If you don't have
Digest::MD5, grepmail will just store the header. So, the default tradeoff
is time for space.
- Fixed a bug in the test script. (Thanks to Joey Hess <joey@kitenet.net> for
finding and fixing the bug.)
- Extended workaround for spurious warning about undefined variable to Perl
5.8. (Thanks to Joey Hess <joey@kitenet.net> for reporting the ongoing
heisenbug.)
New in version 4.7:
- Fixed signal handling to make grepmail easier to debug. Thanks to Ilya
Zakharevich for providing the solution.
- Fixed a possible performance problem in reading of emails (Perl
implementation), and documented the settings in the README.
- Expanded the pattern for matching the start of emails to allow different
types of emails to be parsed.
- Fixed a bug where -R was reported as not recognized. (Thanks to Nicholas
Riley <nriley@sf.net> for the bug report and fix.)
- "anonymize_mailbox" utility included to help people submit bug reports
- If a mailbox can not be found, grepmail now searches the $home/mail,
$home/Mail, $home/Mailbox directories (or the directory specified by the
MAIL environment variable). (Thanks to Michael Friendly <friendly@yorku.ca>
for the feature suggestion and initial patch.)
- Added -X flag to allow the user to specify a pattern for the signature
separator. (Thanks to Michael Friendly <friendly@yorku.ca> for the feature
suggestion.)
- Added -Y flag to search specific headers. (Thanks to Terry Jones
<terry@eatoni.com> for the idea to automatically wrap header lines as
necessary.)
New in version 4.60:
- Removed -B flag and added -S flag. -B is now performed using -bS.
- Added installation flags to suppress interactive installation. (Thanks to
Joey Hess <joey@kitenet.net> for the problem report. He had to patch
Makefile.PL for his Debian packaging.)
- Fixed a slow implementation of searching for signatures that would cause
grepmail to crawl for very large emails. Thanks to Joey Hess
<joey@kitenet.net> for discovering the inefficiency.
- Fixed a short-circuit which should have bypassed the search for signatures
if -B was not specified. Thanks to Joey Hess <joey@kitenet.net> for finding
the bug.
- Implemented a new Perl parser which is 5% to 50% faster depending on how
I/O-bound your system is.
- Restructured the code a bit and improved detection of invalid arguments.
New in version 4.51:
- grepmail now dies gracefully when invalid patterns like 'strcpy(' are
supplied. (It should be 'strcpy\('.)
- Fixed a bug in attachment boundary matching which would cause the boundary
match to fail if the boundary contained special pattern matching characters.
(Thanks to Richard Everson <rme at users.sourceforge.net> for identifying
the bug, and providing a sample email which demonstrates the problem.)
- Added a check for Inline 0.41 or better during "perl Makefile.PL" when
Mail::Folder::FastReader is selected to be installed. (Thanks to Brian L.
Johnson <blj8@blj8.com> for the problem report.)
- Fixed a bug where grepmail would fail to print matching emails which had
signatures, and added a test case for it. This bug was introduced with -B
support in version 4.49. (A *huge* thanks to Moritz Barsnick
<barsnick@gmx.net> for reporting the bug and doing the initial analysis of
the cause.)
- Modified Makefile.PL to ask whether the user wants FastReader regardless of
whether they specified arguments to "make Makefile.PL".
- Modified Makefile.PL to allow the user to interactively specify the
installation path.
- Fixed a typo in debugging output for emails without "Date:" headers.
- Improved error messages.
- Usage message now displays just the flags, --help shows a summary of their
meanings as well.
New in version 4.50:
- Added X-Draft-From to support newer versions of Gnus (Thanks to Nevin Kapur
<nevin@jhu.edu> for the patch).
New in version 4.49:
- Fixed test cases to work around PATH modifications made by Date::Manip
- Added -B to search the body but not the signature. (Thanks to Helmut
Springer <delta@faveve.uni-stuttgart.de> for the feature request.)
- Added LICENSE file. (Thanks to Janet Casey <jcasey@gnu.org> for the
reminder.)
New in version 4.48:
- Mail::Folder::FastReader migrated from XS to Inline.
- -H flag added by Nevin Kapur <nevin@jhu.edu>
- Error messages are localized in test cases. (Thanks to cpan-testers and in
particular Jost Krieger <Jost.Krieger@ruhr-uni-bochum.de> for finding this
bug and diagnosing it.)
- Fixed a problem with timezones in the test cases. (Thanks to Roy Lanek
<lanek@ranahminang.net> for helping me debug this.)
- Added a check in the test cases for determining if the user's timezone is
not recognized by Date::Manip.
New in version 4.47:
- Grepmail now converts Gnus emails into mbox emails before printing them.
(Thanks to Johan Vromans <JVromans@squirrel.nl> for supplying a patch and
explaining the need for it.
- Fixed a couple bugs in -M processing
- -M is now 19% faster. (It's now only about 9% slower than without -M.)
New in version 4.46:
- Fixed a bug in -u message id processing. (Thanks go to an anonymous bug
reporter on SourceForge.)
- Added more workarounds to prevent warnings resulting from a bug in Perl 5.6
(Thanks to Joey Hess <joey@kitenet.net>)
- Added -Z flag to tell grepmail not to use Mail::Folder::FastReader even if
it is installed.
- Fixed a bug introduced in version 4.44 where -m would not work unless used
with -n. (Thanks to Imre Simon <is@ime.usp.br> for catching this.)
- --help anywhere on the command line now causes the help to be printed,
instead of only when used as the first argument.
- Test script now exercises both the Mail::Folder::FastReader and perl mailbox
implementations as appropriate.
- Restructured code to separate out Perl mailbox implementation as
Mail::Folder::SlowReader. (This module is embedded in the grepmail script.)
2002-10-31 09:18:40 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
1999-06-08 14:01:13 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|