summaryrefslogtreecommitdiff
path: root/mail/grepmail/Makefile
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2001-02-10 19:08:09 +0000
committerbad <bad@pkgsrc.org>2001-02-10 19:08:09 +0000
commit06598f3e89d41bb47ee9c2d602dc829e1bf74b2d (patch)
tree0b4020c14b5d7bc8275599ebec78627a993f22a7 /mail/grepmail/Makefile
parent4ce2d28ba0d265bb275096901a77f548b50f4a32 (diff)
downloadpkgsrc-06598f3e89d41bb47ee9c2d602dc829e1bf74b2d.tar.gz
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.
Diffstat (limited to 'mail/grepmail/Makefile')
-rw-r--r--mail/grepmail/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile
index 8e63eb37cbc..e949b754807 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