From 06598f3e89d41bb47ee9c2d602dc829e1bf74b2d Mon Sep 17 00:00:00 2001 From: bad Date: Sat, 10 Feb 2001 19:08:09 +0000 Subject: [PATCH] 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 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 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 for pointing this out.) - Added -n flag to print line numbers a la grep. (Thanks to Richard Stallman 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 for the bug report) - -V flag prints the version (Thanks to Wolfgang Rohdewald 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 for the bug report.) - Fixed a bug in the handling of included messages. (Thanks to Antoine Martin 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 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 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 for the sample code.) - STDERR and STDOUT now checked separately during "make test" - Headers can now be in the format "Date:" in addition to "Date: " (Thanks to Benjamin Korvemaker for the patch and concept.) New in version 4.41: - Support for Gnus-style mail files added (Thanks to Werner Bosse for the patch.) - Test mail files tweaked to make the test cases work better across all time zones. (Thanks to Andreas Kutschera 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 , 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 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 for the patch.) - Added standard --help flag (Patch by Seth Cohn ) - Added -u ("unique") flag, which ensures that no duplicate messages will be output. (A BIG thanks to Seth Cohn .) 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 for first finding the bug, and Adam Huffman 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 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. --- mail/grepmail/Makefile | 11 +++++++---- mail/grepmail/files/md5 | 4 ++-- mail/grepmail/pkg/PLIST | 3 +-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile index 8e63eb37cbce..e949b7548073 100644 --- a/mail/grepmail/Makefile +++ b/mail/grepmail/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.3 2000/08/27 02:46:04 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2001/02/10 19:08:09 bad Exp $ # -DISTNAME= grepmail-4.11 +DISTNAME= grepmail-4.45 CATEGORIES= mail -MASTER_SITES= http://www.cs.virginia.edu/~dwc3q/code/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=grepmail/} MAINTAINER= david@fundy.net -HOMEPAGE= http://www.cs.virginia.edu/~dwc3q/code/index.html +HOMEPAGE= http://grepmail.sourceforge.net/ USE_PERL5= # defined CONFIGURE_ENV= PERL=${PERL5} +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/grepmail/.packlist do-build: @cd ${WRKSRC} ; \ @@ -21,6 +22,8 @@ do-build: done do-install: + @cd ${WRKSRC} ; \ + ${MAKE} install ${INSTALL_SCRIPT} ${WRKSRC}/grepmail-1 ${PREFIX}/bin/grepmail-quick ${INSTALL_SCRIPT} ${WRKSRC}/grepmail-2 ${PREFIX}/bin/grepmail-full ${RM} -f ${PREFIX}/bin/grepmail diff --git a/mail/grepmail/files/md5 b/mail/grepmail/files/md5 index 1eb8beefb4cf..3978fa217005 100644 --- a/mail/grepmail/files/md5 +++ b/mail/grepmail/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.2 2000/01/24 14:19:57 agc Exp $ +$NetBSD: md5,v 1.3 2001/02/10 19:08:09 bad Exp $ -MD5 (grepmail-4.11.tar.gz) = d279a94b01c0b277b3d51907d0d6115f +MD5 (grepmail-4.45.tar.gz) = 826ea148ad482bb24175eac9263338e8 diff --git a/mail/grepmail/pkg/PLIST b/mail/grepmail/pkg/PLIST index 7394f25964d9..7638c86be2c0 100644 --- a/mail/grepmail/pkg/PLIST +++ b/mail/grepmail/pkg/PLIST @@ -1,4 +1,3 @@ -@comment $NetBSD: PLIST,v 1.2 2000/01/24 14:19:58 agc Exp $ +@comment $NetBSD: PLIST,v 1.3 2001/02/10 19:08:10 bad Exp $ bin/grepmail-quick bin/grepmail-full -bin/grepmail