2001-02-17 18:52:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2001/02/17 18:24:48 wiz Exp $
|
1999-06-08 14:01:13 +02:00
|
|
|
#
|
|
|
|
|
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
|
|
|
DISTNAME= grepmail-4.45
|
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
|
|
|
|
2000-08-27 04:46:03 +02:00
|
|
|
USE_PERL5= # defined
|
|
|
|
CONFIGURE_ENV= PERL=${PERL5}
|
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
|
|
|
|
|
|
|
do-build:
|
2000-01-24 15:19:56 +01:00
|
|
|
@cd ${WRKSRC} ; \
|
|
|
|
for i in 1 2 ; do \
|
2000-08-27 04:46:03 +02:00
|
|
|
${ECHO} "$$i" | ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL; \
|
2000-01-24 15:19:56 +01:00
|
|
|
${MAKE}; \
|
|
|
|
${RM} -f grepmail-$$i; \
|
2000-08-27 04:46:03 +02:00
|
|
|
${SED} -e '1s|.*|#! ${PERL5}|' grepmail > grepmail-$$i; \
|
2000-01-24 15:19:56 +01:00
|
|
|
done
|
1999-06-08 14:01:13 +02:00
|
|
|
|
|
|
|
do-install:
|
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
|
|
|
@cd ${WRKSRC} ; \
|
|
|
|
${MAKE} install
|
2000-01-24 15:19:56 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/grepmail-1 ${PREFIX}/bin/grepmail-quick
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/grepmail-2 ${PREFIX}/bin/grepmail-full
|
|
|
|
${RM} -f ${PREFIX}/bin/grepmail
|
|
|
|
${LN} -s grepmail-full ${PREFIX}/bin/grepmail
|
1999-06-08 14:01:13 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|