debian/0000755000000000000000000000000012204704606007167 5ustar debian/rules0000755000000000000000000000032512204704606010247 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: [ ! -d $(CURDIR)/inc ] || mv -v $(CURDIR)/inc $(CURDIR)/inc.shipped dh_auto_test [ ! -d $(CURDIR)/inc.shipped ] || mv -v $(CURDIR)/inc.shipped $(CURDIR)/inc debian/control0000644000000000000000000000175112204704606010576 0ustar Source: grepmail Section: mail Priority: optional Build-Depends-Indep: libtimedate-perl, dpkg-dev (>= 1.9.0), libmail-mbox-messageparser-perl (>= 1.5002), bzip2, libdate-manip-perl Build-Depends: perl, debhelper (>= 7) Maintainer: Debian QA Group Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/grepmail.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/grepmail.git Homepage: http://grepmail.sourceforge.net/ Package: grepmail Architecture: all Suggests: libdate-manip-perl Depends: ${perl:Depends}, ${misc:Depends}, libscalar-list-utils-perl, libmail-mbox-messageparser-perl (>= 1.5002), libtimedate-perl Description: search mailboxes for mail matching an expression Grepmail looks for mail messages containing a pattern, and prints the resulting messages. Usage is very similar to grep. It can handle compressed mailbox files, and can search the header or body of emails. It also supports searches constrained by date and size. debian/source/0000755000000000000000000000000012204704606010467 5ustar debian/source/format0000644000000000000000000000001412204704606011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000003155212204704606011047 0ustar grepmail (5.3033-6) unstable; urgency=low * QA upload. * Move away directory with bundled libs for test suite. Thanks to brian m. carlson for the analysis. (Closes: #719963) * Make URLs in Vcs-* fields canonical. * Declare compliance with Debian Policy 3.9.4. -- gregor herrmann Tue, 20 Aug 2013 17:21:35 +0200 grepmail (5.3033-5) unstable; urgency=low * QA upload. * Update Standards-Version to 3.8.4 (No changes needed) * debian/patches/man_page.patch: Added * Switch to 3.0 (quilt) source format: Add debian/source/format * debian/patches/midnight.patch: Added, thanks to Manuel Prinz (Closes: #559588) * debian/patches/fix_nonexistent_mailbox_test.patch: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002 (Closes: #549782) * Update libmail-mbox-messageparser-perl build dependency and Depends to 1.5002 in debian/control * debian/copyright: Refer to GPL-2 explicitly * Update Vcs-git and Vcs-Browser fields to Alioth -- Vincent Legout Wed, 28 Apr 2010 19:04:54 +0800 grepmail (5.3033-4) unstable; urgency=low * debhelper v7; 3 line rules file * New format copyright file. * Orphaned the package. -- Joey Hess Fri, 25 Apr 2008 18:24:43 -0400 grepmail (5.3033-3) unstable; urgency=low * Add Homepage field. -- Joey Hess Mon, 10 Mar 2008 16:01:49 -0400 grepmail (5.3033-2) unstable; urgency=low * Fix man page year typo. Closes: #428973 * Fix .orig.tar.gz -- Joey Hess Sat, 08 Sep 2007 21:54:11 -0400 grepmail (5.3033-1) unstable; urgency=low * New upstream release. * Improve synopsis. Closes: #400618 * Current standards-version. -- Joey Hess Tue, 6 Mar 2007 15:05:03 -0500 grepmail (5.3032-2) unstable; urgency=low * Current policy. * Build-Depends/Build-Depends-Indep split. -- Joey Hess Sun, 18 Dec 2005 17:22:05 -0500 grepmail (5.3032-1) unstable; urgency=low * Switch watch file to using sf redirector. * New upstream release. * Depend and build depend on most recent messageparser. * Drop old dependency on libinline-perl. -- Joey Hess Thu, 4 Aug 2005 11:39:28 -0400 grepmail (5.3031-1) unstable; urgency=low * New upstream release. * Build-depend on newest messageparser so new test script succeeds. -- Joey Hess Sat, 11 Jun 2005 22:04:00 -0400 grepmail (5.3030-3) unstable; urgency=low * Force TZ=UTC during build to avoid test suite failure with other timezone settings. Closes: #302703 -- Joey Hess Sat, 2 Apr 2005 15:53:59 -0500 grepmail (5.3030-2) unstable; urgency=low * Add missing build dep on libdate-manip-perl. Closes: #302569 -- Joey Hess Fri, 1 Apr 2005 07:43:45 -1000 grepmail (5.3030-1) unstable; urgency=low * New upstream release. -- Joey Hess Wed, 19 Jan 2005 22:03:23 -0500 grepmail (5.30.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 1 Oct 2004 05:15:33 -0400 grepmail (5.30-1) unstable; urgency=low * New upstream release. * Remove recursive.t hack, fixed upstream. * Depends and build-depends on 1.20 of the messageparser. -- Joey Hess Wed, 14 Jul 2004 11:01:28 -0400 grepmail (5.23-3) unstable; urgency=low * Add dependency on libscalar-list-utils-perl, to support pre perl 5.8 systems. Closes: #244976 -- Joey Hess Tue, 20 Apr 2004 19:25:49 -0400 grepmail (5.23-2) unstable; urgency=low * Add a build dep on bzip2, so the tests that exersize that work. Closes: #241956 -- Joey Hess Sat, 3 Apr 2004 19:58:15 -0500 grepmail (5.23-1) unstable; urgency=low * New upstream release. * Hack recursive.t to work if grepmail is checked into subversion. -- Joey Hess Mon, 9 Feb 2004 13:57:03 -0500 grepmail (5.22-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 27 Oct 2003 12:19:27 -0500 grepmail (5.21-2) unstable; urgency=low * Move from build-depends-indep to build-depends, to meet current policy. -- Joey Hess Wed, 3 Sep 2003 11:58:15 -0400 grepmail (5.21-1) unstable; urgency=low * New upstream release. - Fixed searching of $HOME/Mail. Closes: #204258 - Apparently fixes hang grepping uncompressed mailbox. Closes: #204884 * Remove make test buglet workaround in debian/rules. * Depends on new libmail-mbox-messageparser-perl 1.11. * Also added build-depends on that. -- Joey Hess Thu, 28 Aug 2003 15:08:39 -0400 grepmail (5.10-2) unstable; urgency=low * Convert huge regexp lines in POD docs to verbatim paragraphs, so they are not hyphenated which is very confusing and made groff output ugly warnings. (See bug #199099) -- Joey Hess Sat, 16 Aug 2003 12:55:44 -0400 grepmail (5.10-1) unstable; urgency=low * New upstream release. Mail::Mbox::MessageParser is split into a CPAN perl module. -- Joey Hess Thu, 7 Aug 2003 17:49:28 -0400 grepmail (5.00-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 11 Jul 2003 14:33:45 -0400 grepmail (4.91-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 2 Feb 2003 15:59:59 -0500 grepmail (4.90-2) unstable; urgency=low * Don't call SETUP_CACHE if $USE_CACHING is false. Closes: #173799 -- Joey Hess Wed, 25 Dec 2002 21:23:08 -0500 grepmail (4.90-1) unstable; urgency=low * New upstream release. Removes FastReader since plain perl implementation is now as fast. So: - remove build-dep on libinline-perl - package is now arch all -- Joey Hess Wed, 27 Nov 2002 22:59:25 -0500 grepmail (4.80-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 13 Oct 2002 19:51:29 -0400 grepmail (4.72-1) unstable; urgency=low * New upstream release. -- Joey Hess Tue, 3 Sep 2002 14:40:38 -0400 grepmail (4.71-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 1 Aug 2002 22:30:34 -0400 grepmail (4.70-4) unstable; urgency=low * Build for perl 5.8. * Modified regexps, test suite, etc to work with perl 5.8. -- Joey Hess Thu, 1 Aug 2002 12:29:00 -0400 grepmail (4.70-3) unstable; urgency=low * Don't use dh_installmanpages. -- Joey Hess Thu, 13 Jun 2002 18:28:33 -0400 grepmail (4.70-2) unstable; urgency=low * Debhelper v4. -- Joey Hess Sat, 1 Jun 2002 18:24:30 -0400 grepmail (4.70-1) unstable; urgency=low * New upstream, Closes: #125941 * Included the new anonymize_mailbox program as an example, it's not quite ready to be put in bin yet. * Use debhelper v3. -- Joey Hess Thu, 3 Jan 2002 01:24:32 -0500 grepmail (4.60-1) unstable; urgency=low * New upstream. -- Joey Hess Sun, 21 Oct 2001 02:37:47 -0400 grepmail (4.51-1) unstable; urgency=low * New upstream. -- Joey Hess Sun, 9 Sep 2001 19:56:33 -0400 grepmail (4.50-1) unstable; urgency=low * New upstream. -- Joey Hess Fri, 3 Aug 2001 10:38:55 -0400 grepmail (4.48-2) unstable; urgency=low * No changes. Oddly, this loses the suggests on libinline-perl. So how come it was in the previos version? Damned if I know. Closes: #101290 -- Joey Hess Mon, 18 Jun 2001 13:43:00 -0400 grepmail (4.48-1) unstable; urgency=low * New upstream. -- Joey Hess Wed, 6 Jun 2001 15:20:38 -0400 grepmail (4.47-2) unstable; urgency=low * Moved out of privlib, Closes: #95516 -- Joey Hess Sun, 29 Apr 2001 22:14:30 -0400 grepmail (4.47-1) unstable; urgency=low * New upstream. -- Joey Hess Thu, 29 Mar 2001 15:17:10 -0800 grepmail (4.46-2) unstable; urgency=low * Build deps are no longer -indep, Closes: #85245 -- Joey Hess Mon, 26 Feb 2001 13:58:25 -0800 grepmail (4.46-1) unstable; urgency=low * New upstream. -- Joey Hess Sat, 24 Feb 2001 21:23:51 -0800 grepmail (4.45-3) unstable; urgency=low * Corrected build dependancy, Closes: #85245 -- Joey Hess Thu, 8 Feb 2001 09:39:18 -0800 grepmail (4.45-2) unstable; urgency=low * Enabled the FastReader stuff, which speeds up grepmail by 10 to 50%. This makes the package arch: any not all, and requires tighter perl dependancies. * Reupload, damn dpkg-dev. -- Joey Hess Wed, 17 Jan 2001 13:05:27 -0800 grepmail (4.45-1) unstable; urgency=low * New upstream release. Fixes netscape problem, Closes: #79328 Not yet including Mail::Folder::FastReader as it is is experimental; hacked Makefile.PL to not prompt. -- Joey Hess Tue, 16 Jan 2001 15:27:03 -0800 grepmail (4.43-1) unstable; urgency=low * New upstream release. * Use debhelper v2. -- Joey Hess Mon, 25 Sep 2000 15:16:08 -0700 grepmail (4.42-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 20 Aug 2000 17:19:41 -0700 grepmail (4.41-1) unstable; urgency=low * New upstream release. -- Joey Hess Wed, 14 Jun 2000 11:38:30 -0700 grepmail (4.40-1) unstable; urgency=low * New upstream. * Build and dependancy changes. -- Joey Hess Mon, 15 May 2000 16:03:03 -0700 grepmail (4.31-1) unstable; urgency=low * New upstream. -- Joey Hess Tue, 2 May 2000 23:40:43 -0700 grepmail (4.30-1) unstable; urgency=low * New upstream. * Updated url in copyright file. -- Joey Hess Tue, 2 May 2000 16:25:57 -0700 grepmail (4.23-3) unstable; urgency=low * New upstream. Reuplod with full source. -- Joey Hess Sun, 16 Apr 2000 16:48:22 -0700 grepmail (4.23-2) unstable; urgency=low * New upstream. -- Joey Hess Thu, 13 Apr 2000 21:44:01 -0700 grepmail (4.1-1) unstable; urgency=low * New upstream. -- Joey Hess Tue, 11 Jan 2000 16:07:30 -0800 grepmail (3.9-4) unstable; urgency=low * Build dep. -- Joey Hess Sat, 4 Dec 1999 01:01:14 -0800 grepmail (3.9-3) unstable; urgency=low * Removed install-stamp stuff, which can cause obscure problems. * Reuploaded full source, which I messed up last time. -- Joey Hess Thu, 30 Sep 1999 13:01:07 -0700 grepmail (3.9-2) unstable; urgency=low * Modified grepmail so it doesn't use the sh-invokes-perl trick. This was breaking for someone who uses tcsh as their shell. I don't know why. (Closes: #45116) -- Joey Hess Wed, 15 Sep 1999 13:06:18 -0700 grepmail (3.9-1) unstable; urgency=low * New upstream version. Now available in two flavors, using Date::Manip or Date::Parse. Linked the Manip flavor to grepmail, since that is what it's used in the past. * FHS. -- Joey Hess Fri, 10 Sep 1999 21:36:19 -0700 grepmail (3.6-3) unstable; urgency=low * Now depends on perl5 | perl, I'll kill the | perl bit later on, but it seems to make sense for the transition. -- Joey Hess Sun, 4 Jul 1999 10:58:38 -0700 grepmail (3.6-2) unstable; urgency=low * Made CleanExit print errors to stderr. Patch sent upstream. -- Joey Hess Fri, 11 Jun 1999 14:37:09 -0700 grepmail (3.6-1) unstable; urgency=low * New upstream release that incorporates my security patch. -- Joey Hess Mon, 22 Feb 1999 16:21:13 -0800 grepmail (3.5-1) unstable; urgency=low * New upstream release that fixes the tmpfile problem, but not the race conditions. Re-applied my security patch. * Fixed author's home page address on man page. -- Joey Hess Tue, 9 Feb 1999 23:40:24 -0800 grepmail (3.4.1-3) frozen unstable; urgency=HiGH * Fixed multiple file in /tmp security holes that could delete data. * Fixed multiple race conditions that could make private data public. * Patch sent upstream. -- Joey Hess Tue, 9 Feb 1999 21:08:15 -0800 grepmail (3.4.1-2) unstable; urgency=low * Fixed perl path. -- Joey Hess Fri, 22 Jan 1999 12:05:11 -0800 grepmail (3.4.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 21 Jan 1999 21:09:31 -0800 grepmail (3.4-2) unstable; urgency=low * Now suggests: libdate-manip-perl. -- Joey Hess Wed, 28 Oct 1998 14:33:51 -0800 grepmail (3.4-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 26 Oct 1998 14:33:11 -0800 grepmail (3.3-1) unstable; urgency=low * First release. -- Joey Hess Mon, 19 Oct 1998 20:33:10 -0700 debian/compat0000644000000000000000000000000212204704606010365 0ustar 7 debian/patches/0000755000000000000000000000000012204704606010616 5ustar debian/patches/man_page.patch0000644000000000000000000000164412204704606013413 0ustar Description: Fix man page year typo Author: Joey Hess Last-Update: 2007-09-08 Bug-Debian: http://bugs.debian.org/428973 Index: grepmail/grepmail =================================================================== --- grepmail.orig/grepmail 2010-04-28 11:14:25.059735867 +0800 +++ grepmail/grepmail 2010-04-28 11:14:33.047736983 +0800 @@ -2546,12 +2546,12 @@ Get all email that you mailed before the first thursday in June 1998 that pertains to research (requires Date::Manip): - grepmail research -d "before 1st thursday in June 1992" sent-mail + grepmail research -d "before 1st thursday in June 1998" sent-mail Get all email that you mailed before the first of June 1998 that pertains to research: - grepmail research -d "before 6/1/92" sent-mail + grepmail research -d "before 6/1/98" sent-mail Get all email you received since 8/20/98 that wasn't about research or your job, ignoring case: debian/patches/fix_nonexistent_mailbox_test.patch0000644000000000000000000000240012204704606017631 0ustar Description: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002 From 1.5002, it does not return "No data on standard input" anymore. Author: Vincent Legout Last-Update: 2010-04-28 Bug-Debian: http://bugs.debian.org/549782 Index: grepmail/t/nonexistent_mailbox.t =================================================================== --- grepmail.orig/t/nonexistent_mailbox.t 2010-04-28 17:28:06.563490560 +0800 +++ grepmail/t/nonexistent_mailbox.t 2010-04-28 17:28:36.451493352 +0800 @@ -13,21 +13,15 @@ => ['none','no_such_file'], "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . " | grepmail pattern" - => ['none','no_data'], + => ['none','none'], "grepmail -E $single_quote\$email =~ /pattern/$single_quote no_such_file" => ['none','no_such_file'], "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . " | grepmail -E $single_quote\$email =~ /pattern/$single_quote" - => ['none','no_data'], + => ['none','none'], ); my %expected_errors = ( -"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . - " | grepmail pattern" - => 1, -"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . - " | grepmail -E $single_quote\$email =~ /pattern/$single_quote" - => 1, ); my %localization = ( debian/patches/series0000644000000000000000000000010112204704606012023 0ustar man_page.patch midnight.patch fix_nonexistent_mailbox_test.patch debian/patches/midnight.patch0000644000000000000000000000125712204704606013447 0ustar Description: Fix bug with midnight Author: Manuel Prinz Last-Update: 2010-02-22 Bug-Debian: http://bugs.debian.org/559588 Index: grepmail/grepmail =================================================================== --- grepmail.orig/grepmail 2010-04-28 11:20:06.943736983 +0800 +++ grepmail/grepmail 2010-04-28 11:20:48.603737822 +0800 @@ -397,7 +397,7 @@ if (eval 'require Date::Manip') { my ($version_number) = $Date::Manip::VERSION =~ /^(\d+\.\d+)/; - Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43; + Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43 and $version_number < 6; } } debian/copyright0000644000000000000000000000054712204704606011130 0ustar This is a Debian prepackaged version of the grepmail utility. This package was put together by Joey Hess , using sources from: http://grepmail.sourceforge.net/ Copyright: (c) 1998-Sep 1 2000 Broc Seib. (c) Sep 1 2000-2004 David Coppit. License: GPL-2 On Debian systems, the full text of the GPL is in /usr/share/common-licenses/GPL-2 debian/docs0000644000000000000000000000000712204704606010037 0ustar README debian/watch0000644000000000000000000000011312204704606010213 0ustar version=2 http://qa.debian.org/watch/sf.php/grepmail/ grepmail-(.*).tar.gz debian/examples0000644000000000000000000000002212204704606010722 0ustar anonymize_mailbox