The NetBSD Project

CVS log for pkgsrc/mail/grepmail/Makefile

[BACK] Up to [] / pkgsrc / mail / grepmail

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 6 09:40:41 2023 UTC (4 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

*: recursive bump for perl 5.38

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jun 28 11:34:21 2022 UTC (17 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

*: recursive bump for perl 5.36

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 24 19:52:41 2021 UTC (2 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

*: recursive bump for perl 5.34

Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 31 18:09:56 2020 UTC (3 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

*: bump PKGREVISION for perl-5.32.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 20 11:57:58 2020 UTC (3 years, 8 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jan 18 23:32:48 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as, CTAN and GNU.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Aug 11 13:21:28 2019 UTC (4 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Bump PKGREVISIONs for perl 5.30.0

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 22 09:45:25 2018 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Recursive bump for perl5-5.28.0

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 28 13:24:29 2017 UTC (6 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

These packages all require the PERL_USE_UNSAFE_INC hack.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 9 06:38:29 2016 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jul 12 18:56:23 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Comment out dependencies of the style
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 12 10:50:19 2015 UTC (8 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.29 / (download) - annotate - [select for diffs], Thu May 29 23:36:46 2014 UTC (9 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Dec 9 14:17:48 2013 UTC (9 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.

Bump PKGREVISION for runtime dependency pattern changed packages.

Revision 1.27 / (download) - annotate - [select for diffs], Fri May 31 12:41:14 2013 UTC (10 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 6 03:45:15 2013 UTC (10 years, 7 months ago) by rodent
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)


 COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 8 12:19:13 2012 UTC (11 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.24: +1 -3 lines
Diff to previous 1.24 (colored)

Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 3 21:56:24 2012 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Aug 14 13:25:22 2011 UTC (12 years, 3 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Revision bump after updating perl5 to 5.14.1.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 21 16:35:00 2010 UTC (13 years, 3 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 19 19:18:11 2008 UTC (15 years, 1 month ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 20 01:09:24 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Add DESTDIR support.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 11 01:02:45 2007 UTC (16 years ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Version 5.3033: Thu Mar 1 2007
- Improved the documentation for -Y. (Thanks to Justin Gombos
  for the suggestion.)
- Dropped tzip support in Mail::Mbox::MessageParser
- Added -L flag to follow symbolic links. (Thanks to Peter Teuben
  for prompting the idea.)
- Fixed grepmail so that it works with Mail::Mbox::MessageParser 1.5000
  (Thanks to Paul for the bug report, and Alexey Tourbin for the fix.)
- Fixed to properly call report() instead of get_report() on new
  versions of Benchmark::Timer

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 15 10:43:36 2006 UTC (17 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.17: +4 -6 lines
Diff to previous 1.17 (colored)

Update grepmail to 5.3032.
Based on patch provided by Martin Wilke via PR 34438.

- Changelog

- Fixed backwards diff in test cases
- Updated Mail::Mbox::MessageParser dependency to latest version, and updated
  test cases as well. (Thanks to Christoph Thiel <> for the heads

Version 5.3031: Mon Jun 6 2005
- Fixed a bug that would cause the date_manip test to fail in some time zones.
  (Thanks to Kurt Roeckx <> for the Debian bug report, and Joey
  Hess <> for notifying me.)
- Added a missing "use" statement in Test::Utils.
- Improved date matching for mailboxes containing invalid dates. (Thanks to
  Steve Revilak <> for the patch.)

Version 5.3030: Tue Dec 21 2004
- Improved test failure reporting
- Fixed version numbers, which were incompatible with some modules. (Thanks to
  Tassilo von Parseval <> for the bug
- Cleaned up code a bit

Version 5.30.2:
- Switched to Test::More for better test reporting

Version 5.30.1: Thu Sep 16 2004
- Fixed Date::Manip parsing of single-point times such as "today". (Bug found
  by Marten van Wezel <>)
- Changed Makefile.PL to use Module::Install
- Changed version numbering
- Dropped Benchmark::Timer from the distribution, since the updated version
  has been released

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 6 06:19:21 2005 UTC (18 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 13 18:01:31 2005 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:19 2005 UTC (18 years, 7 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 23 15:43:42 2004 UTC (19 years, 5 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Update grepmail to 5.30.  Now requires p5-Mail-Mbox-MessageParser>=1.20.

New in version 5.30:
- Updated t/recursive.t to work better when there are version control
  directories in t/mailboxes/directory.
- Updated t/invalid_mailbox.t to be more robust.
- Fixed a bug in t/invalid_mailbox.t for Solaris.
- -F now works again
- Changed incorrect "-h" to "--help" in two error messages.
- Now correctly handles DOS-style line endings in mailboxes.
- Changed single dates so that they are treated as inferred spans, instead of
  a single day. For example "2004" now means "between Jan 1 2004 and Jan 1
  2005" instead of "between Jan 1 2004 and Jan 2 2004".

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 7 02:58:27 2004 UTC (19 years, 5 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.12: +2 -4 lines
Diff to previous 1.12 (colored)

Update to 5.23.  Changes:
* Fixed a bug in speed tests which would cause the grep implementation to
* Fixed incorrect output for emails without message bodies.
* Fixed filename output for -n, -m and other situations when input comes
  from standard input.
* Added -w flag to match word boundaries.
* A warning is now issued and caching is disabled if -C is not specified
  and $HOME is not set (as might be the case when running grepmail in a
  cron job).

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 7 14:03:31 2004 UTC (19 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

Add dependency on p5-Mail-Mbox-MessageParser to make this work
again. Closes PR 25121 by Douglas Brebner.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 2 04:19:41 2004 UTC (19 years, 7 months ago) by snj
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Convert to buildlink3.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 18 14:24:01 2003 UTC (19 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Updated grepmail to 5.22.

Major changes since 5.00:

New in version 5.22:
- X-Mailfolder header no longer has a line number when -n is used. (bugfix by
  Kevin Pfeiffer <>)
- New -B flag prints abbreviated headers (initial patch by Kevin Pfeiffer
- Headers spanning multiple lines are now printed correctly in warnings and
- Fixed a spurious warning which would be printed if caching was not enabled.
- grepmail will now disable caching if the caching version of
  Mail::Mbox::MessageParser can not be loaded, instead of exiting.

New in version 5.21:
- Fixed line ending bugs under MS-DOS/Windows.

New in version 5.20:
- Added speed testing to the distribution
- Fixed Makefile.PL so that test modules would not be installed.
- Changed testing to use PERLRUN instead of FULLPERLRUN, which is not
  available with older versions of MakeMaker that ship with older versions of
  Perl. (Thanks to Ed Avis <> for catching this.)
- Fixed interactive installation problems. (Thanks to Joey Hess
  <> for catching this (again).)
- Fixed broken searching of $HOME/mail, $HOME/Mail, and $HOME/Mailbox
  directories when a mail folder can not be found. Changed $MAIL to $MAILDIR
  since $MAIL usually points to the user's inbox. (Bug found and initial patch
  by Peter Cordes <>.)
- Cache file permissions are now set to protect against prying eyes. (Patch by
  Joey Hess <>)
- The user can now specify the cache file location with the -C flag.
- Fixed compatibility problems with perl 5.005_01

New in version 5.10:
- Extracted mail parsing into the new Mail::Mbox::MessageParser module.
- Fixed small performance loss bugs in short-circuit matching of headers which
  were introduced in the last version
- Fixed some uses of uninitialized values (Originally reported by Ed Avis
- Improved performance a bit.
- The Makefile.PL now uses the default values when run non-interactively.
- Caching is now enabled by default. (It's no longer experimental.) Users can
  disable it during installation.
- Date specifications without times (e.g. "today") are interpreted as midnight
  of the given day instead of the current time of that day. grepmail now
  relies on Date::Manip to handle this--users must upgrade Date::Manip to get
  this support. (Thanks to Reuben Thomas <> for working with
  Sullivan Beck <> to get TodayIsMidnight added to
  Date::Manip. Original bug report by Philip Douglass
- Restructured test cases

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 12 01:47:30 2003 UTC (20 years, 4 months ago) by zuntum
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Update grepmail to 5.00


- grepmail is now orders of magnitude faster for mailboxes which have very
  large (>30MB) emails in them
- "grep" is now used to find the start of emails, if it is installed. For
  mailboxes with large emails in them, this can speed things up by about 5x.
- Reduced memory consumption by about 3 times.
- -- now marks the end of options and the beginning of folders (Thanks to
  Reuben Thomas <> for the idea.)
- -f now reads patterns from a file like GNU grep does. (Feature suggestion by
- Added smail compatibility. (Thanks to Roy <> for the patch.)
- The "**" prefix on warnings has been changed to "grepmail:"
- Date specifications without times (e.g. "today") are interpreted as midnight
  of the given day instead of the current time of that day. (Bugfix and
  initial patch by Reuben Thomas <>.)
- Fixed -i when used with -Y--it was always case sensitive. (Bugfix by Michael
  C. Toren <>)
- Updated t/functionality.t to avoid running gzip-related test cases when gzip
  is not installed on the system.
- Improved some error messages so that they prepend "grepmail: " as they
- Cleaned up some warnings about ambiguous hash values (Thanks to Philip
  Douglass <> for pointing them out in a bug report.)
- Added a warning about the version of perl required for new pattern features
  (Thanks to Philip Douglass <> for the bug report.)
- -t flag is now -j
- Fixed broken Gnus support
- Improved test case for Gnus

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 20 08:28:17 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.7: +5 -6 lines
Diff to previous 1.7 (colored)

Update to 4.91, from PR 19944 by Adrian Portelli.
New in version 4.91:
- Added missing dependency for Storable.
- Storable now only necessary if you plan on using caching
- Fixed a bug in test case 83
- Changed -s to support "<", ">", "<=", ">=" and "-". (Feature suggestion by
  Jens Schleusener)

New in version 4.90:
- Made Mail::Folder::SlowReader object-oriented
- Removed FastReader from distribution. (It's no longer faster! Also, I
  couldn't integrate it easily with the new object-oriented reader design.)
- Fixed a bug where in some cases emails were not being converted to mbox
  format before being printed
- Made searches involving header-related constraints a bit faster
- Added missing documentation for -F flag
- Added -f flag to search based on message status. (Feature suggestion by
  Richard D Alloway)
- Fixed a bug where -X and -Y flags after a pattern would not be processed
- Added experimental caching capability, which is perhaps 5% slower the first
  time you run grepmail on a mail folder, and 10-20% faster on subsequent
  runs. The cache is stored in ~/.grepmail-cache. You must edit the grepmail
  file and set $USE_CACHING to true to use this feature. (Idea and initial
  patch by terry jones)

New in version 4.81:
- Fixed incompatibilities with older (5.005_03) versions of Perl
- Fixed test cases which fail on operating systems (shells?) which emit
  "Broken Pipe" to standard output. I'd rather break the pipe than have
  grepmail gobble megabytes of data when it can't handle it.
- Added --version flag (patch by Gerald Pfeifer)
- Added documentation for -V flag.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 1 11:38:33 2002 UTC (21 years, 1 month ago) by seb
Branch: MAIN
Changes since 1.6: +7 -1 lines
Diff to previous 1.6 (colored)

Add overlooked dependencies.

Noted by <douglas at fang dot demon dot co dot uk> in PR pkg/18876.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 31 08:18:40 2002 UTC (21 years, 1 month ago) by seb
Branch: MAIN
Changes since 1.5: +6 -20 lines
Diff to previous 1.5 (colored)

Update to version 4.80.

Package changes:
	Use buildlink2. Use perl5/
	Only the "version" with FastReader is now build (no more

New in version 4.80:
- Added prototype -E flag to support complex searches. (Thanks to Nelson Minar
  <> for the original suggestion in Sep 2000, And terry jones
  <> for seconding the idea.)
- Added -F flag to force processing of files which grepmail determines are not
  mailboxes. (feature suggested by terry jones <>)
- Documentation updated to reflect that -B no longer exists. (By terry jones
- 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 <>)
- Improved date extraction to also look at the 'From ' line when both the
  Received and Date headers fail. (patch by terry jones <>)
- Fixed a long-standing bug in which filenames of compressed mailboxes which
  contained special shell characters would cause problems. (Thanks to Jost
  Krieger <> 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
  <> 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
- Fixed a number of potential bugs in command line processing and date
  processing. (By terry jones <>)
- Cleaned up return values and use of quotes in the code. (By terry jones
- Fixed a bug in -X signature processing (By terry jones <>)
- Modified anonymize_mailbox to anonymize To: and Subject: in the header.
  (Thanks to terry jones <> 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
  <> 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 <> 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 <> for
  finding and fixing the bug.)
- Extended workaround for spurious warning about undefined variable to Perl
  5.8. (Thanks to Joey Hess <> for reporting the ongoing

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 <> 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 <>
  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 <> for the feature
- Added -Y flag to search specific headers. (Thanks to Terry Jones
  <> for the idea to automatically wrap header lines as

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 <> 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
  <> 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 <> 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> 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 <> 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
  <> 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
  <> 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 <> for the feature request.)
- Added LICENSE file. (Thanks to Janet Casey <> for the

New in version 4.48:
- Mail::Folder::FastReader migrated from XS to Inline.
- -H flag added by Nevin Kapur <>
- Error messages are localized in test cases. (Thanks to cpan-testers and in
  particular Jost Krieger <> for finding this
  bug and diagnosing it.)
- Fixed a problem with timezones in the test cases. (Thanks to Roy Lanek
  <> 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 <> 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 <>)
- 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 <> 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.)

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 17 18:24:48 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, netbsd-1-5-PATCH001, buildlink2-base, buildlink2
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 10 19:08:09 2001 UTC (22 years, 9 months ago) by bad
Branch: MAIN
Changes since 1.3: +7 -4 lines
Diff to previous 1.3 (colored)

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
- 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
- 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
- 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 <liljeblad at> for the
- Included emails are now ignored properly (Thanks to an anonymous submittor
  for the bug report and part of a patch
- 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> 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:<tab>" in addition to "Date: "
  (Thanks to Benjamin Korvemaker <korvemaker at> 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
- 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
- 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.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 27 02:46:04 2000 UTC (23 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.2: +5 -6 lines
Diff to previous 1.2 (colored)

Use new PERL5 variable instead of ${LOCALBASE}/bin/perl.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 24 14:19:56 2000 UTC (23 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.1: +13 -10 lines
Diff to previous 1.1 (colored)

Upgrade to version 4.11 of grepmail, an mbox formatted file search
utility.  Install both versions, as grepmail-quick and grepmail-full,
and create a symlink to grepmail-full called grepmail.

New in version 4.11:
- Fixed a bug where an ASCII file would not be recognized as a mailbox when
  the first couple emails did not have a "From:" line. (Thanks to Jeff Flowers
- Added standard Perl testing.

New in version 4.1:
- Stripped auto-perl execution code, since it never works on all platforms.
  (Installation instructions modified to require the user to fix the #! line.)
- Minor changes to allow grepmail to run without -w complaints.

New in version 4.0:
- Fixed a bug where shell characters needed to be escaped for compressed
  files. (Bug found by Richard Clamp <>
- Added #!/bin/sh as first line to make the rest compatible with csh/tcsh
  users. (Bug found by Ed Arnold <>)

New in version 3.9:
- Took out specialization engine because there wasn't enough support to
  program in that style.
- Offering 2 main versions now -- Date::Manip and Date::Parse
- Added -R option, which causes grepmail to recurse any directories
  encountered. (Thanks to Emil Tiller <> for the
  initial code.)
- Fixed a small bug that would cause some attachments not to be identified.

Revision / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 8 12:01:13 1999 UTC (24 years, 5 months ago) by bad
Branch: TNF
CVS Tags: pkgsrc-base, netbsd-1-4-PATCH001, comdex-fall-1999
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of grepmail-3.8, a utility to grep mail boxes and return
the matching messages.

Packaged by David Maxwell,

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 8 12:01:13 1999 UTC (24 years, 5 months ago) by bad
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>