debian/0000755000000000000000000000000011403002377007163 5ustar debian/control0000644000000000000000000000204711402757642010604 0ustar Source: libmail-mbox-messageparser-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libfilehandle-unget-perl, bzip2, libtext-diff-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann , Jonathan Yu , Ansgar Burchardt Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/Mail-Mbox-MessageParser/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmail-mbox-messageparser-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmail-mbox-messageparser-perl/ Package: libmail-mbox-messageparser-perl Architecture: all Suggests: libstorable-perl Depends: ${misc:Depends}, ${perl:Depends}, libfilehandle-unget-perl Description: Perl module for processing mbox folders Mail::Mbox::MessageParser is Perl module that provides a feature-poor but very fast mbox parser. It uses the best of three strategies for parsing a mailbox: cached folder information, GNU grep, or highly optimized Perl. debian/copyright0000644000000000000000000000356511402757642011142 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: David Coppit Source: http://search.cpan.org/dist/Mail-Mbox-MessageParser/ Name: Mail-Mbox-MessageParser Copyright: 2000-2004, David Coppit 1998-2000, Broc Seib License: GPL-2+ Files: inc/Module/* Copyright: 2002-2009, Adam Kennedy 2002-2009, Audrey Tang 2002-2009, Brian Ingerson License: Artistic or GPL-1+ Files: inc/Sort/Versions.pm Copyright: 1996, Kenneth J. Albanowski License: Artistic or GPL-1+ Files: debian/* Copyright: 2009, Jonathan Yu 2008, gregor herrmann 2003-2007, Joey Hess License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2' debian/watch0000644000000000000000000000025511212456175010225 0ustar version=3 opts=dversionmangle=s/\+pristine$// \ http://search.cpan.org/dist/Mail-Mbox-MessageParser/ .*/Mail-Mbox-MessageParser-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/patches/0000755000000000000000000000000011403002334010603 5ustar debian/patches/series0000644000000000000000000000006011402757641012035 0ustar paths.patch fix-pod-errors.patch warnings.patch debian/patches/paths.patch0000644000000000000000000000111311256172154012755 0ustar Author: Joey Hess Patch for lib/Mail/Mbox/MessageParser/Config.pm to sanitize paths. --- a/lib/Mail/Mbox/MessageParser/Config.pm +++ b/lib/Mail/Mbox/MessageParser/Config.pm @@ -8,11 +8,11 @@ %Mail::Mbox::MessageParser::Config = ( 'programs' => { - 'bzip' => '/sw/bin/bzip2', - 'bzip2' => '/sw/bin/bzip2', + 'bzip' => '/bin/bzip2', + 'bzip2' => '/bin/bzip2', 'diff' => '/usr/bin/diff', - 'grep' => undef, - 'gzip' => '/sw/bin/gzip', + 'grep' => '/bin/grep', + 'gzip' => '/bin/gzip', }, 'max_testchar_buffer_size' => 1048576, debian/patches/warnings.patch0000644000000000000000000000167011402757641013501 0ustar From: Ansgar Burchardt Date: Sun, 06 Jun 2010 13:27:57 +0900 Bug-Debian: http://bugs.debian.org/582672 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=58053 Subject: Fix warning with perl-5.12 --- libmail-mbox-messageparser-perl.orig/lib/Mail/Mbox/MessageParser.pm +++ libmail-mbox-messageparser-perl/lib/Mail/Mbox/MessageParser.pm @@ -294,7 +294,7 @@ dprint "Calling \"$filter_command\" to decompress file \"$file_name\"."; use vars qw(*OLDSTDERR); - open OLDSTDERR,">&STDERR" or die "Can't save STDERR: $!\n"; + open OLDSTDERR, ">&", \*STDERR or die "Can't save STDERR: $!\n"; open STDERR,">" . File::Spec->devnull() or die "Can't redirect STDERR to " . File::Spec->devnull() . ": $!\n"; @@ -305,7 +305,7 @@ binmode $file_handle; - open STDERR,">&OLDSTDERR" or die "Can't restore STDERR: $!\n"; + open STDERR, ">&", \*OLDSTDERR or die "Can't restore STDERR: $!\n"; if (eof($file_handle)) { debian/patches/fix-pod-errors.patch0000644000000000000000000000051111256172154014517 0ustar Description: fix POD errors Forwarded: no Origin: vendor Author: Jonathan Yu --- a/lib/Mail/Mbox/MessageParser/MetaInfo.pm +++ b/lib/Mail/Mbox/MessageParser/MetaInfo.pm @@ -294,6 +294,7 @@ Returns a reference to a Mail::Mbox::MessageParser object, or a string describing the error. +=back =head1 BUGS debian/compat0000644000000000000000000000000211256172154010370 0ustar 7 debian/changelog0000644000000000000000000002036711402757642011060 0ustar libmail-mbox-messageparser-perl (1.5002-2) unstable; urgency=low * Fix warnings with perl 5.12. (Closes: #582672) + new patch: warnings.patch * Use source format 3.0 (quilt); drop README.source and quilt framework. * debain/copyright: Formatting changes for current DEP-5 proposal. * Bump Standards-Version to 3.8.4 (no changes). * Add myself to Uploaders. -- Ansgar Burchardt Sun, 06 Jun 2010 13:35:26 +0900 libmail-mbox-messageparser-perl (1.5002-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Added myself to Uploaders and Copyright * Bump compat level to 7, debhelper 7 * Use new short rules format * Refreshed copyright information * Standards-Version 3.8.3 (drop perl version dependency) * Refresh paths.patch * Remove perl_5.10.patch -- it looks to have been applied upstream * Add a new patch to fix the POD errors [ gregor herrmann ] * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Change my email address. -- Jonathan Yu Mon, 21 Sep 2009 17:55:32 -0400 libmail-mbox-messageparser-perl (1.5000+pristine-3) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. Added: /me to Uploaders. Moved: all build dependencies (except debhelper) to Build-Depends-Indep. Build-depend on perl instead of perl5 (which is a virtual package). * Use dist-based URL in debian/watch. * debian/rules: - don't install empty /usr/lib/perl5 directory if it exists - use $(CURDIR) instead of `pwd` - call clean target unconditionally but check for existence of Makefile before running $(MAKE) distclean - move dh_clean before make distclean and use it for removing stamp files - create install-stamp target depending on build-stamp * Set debhelper compatibility level to 5 * Set Standards-Version to 3.7.3 (no changes). * debian/copyright: use author-agnostic download URL, add additional copyright holders, convert to new format. * Split out Joey's change to lib/Mail/Mbox/MessageParser/Config.pm (sane paths) into paths.patch; grab the patch from CPAN#33004 that adapts the module to perl 5.10 and apply it as perl_5.10.patch (closes: #467276); add quilt framework. [ Frank Lichtenheld ] * debian/rules: Fix target dependencies to allow building with dpkg-buildpackage -j. Found by Daniel Schepler. [ Damyan Ivanov ] * debian/rules: drop unused dh_link and dh_shlibdeps -- gregor herrmann Thu, 13 Mar 2008 20:41:31 +0100 libmail-mbox-messageparser-perl (1.5000+pristine-2) unstable; urgency=low * Set maintainer to Debian perl group. -- Joey Hess Sat, 11 Aug 2007 22:07:06 -0400 libmail-mbox-messageparser-perl (1.5000+pristine-1) unstable; urgency=low * Fix tarball broken by last upload, temporarily munge upstream version number. -- Joey Hess Mon, 30 Jul 2007 14:28:07 -0400 libmail-mbox-messageparser-perl (1.5000-1) unstable; urgency=low * New upstream version with a much better fix for the hang problem than my hack, which I've now removed. -- Joey Hess Sun, 29 Jul 2007 19:03:02 -0400 libmail-mbox-messageparser-perl (1.4005-2) unstable; urgency=low * As a workaround for hangs, temporarily disable the grep implementation and force the slow perl implementation to be used instead. Closes: #395268, #381075 -- Joey Hess Tue, 9 Jan 2007 21:30:32 -0500 libmail-mbox-messageparser-perl (1.4005-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 25 Aug 2006 23:46:01 -0400 libmail-mbox-messageparser-perl (1.4004-1) unstable; urgency=low * New upstream release. Fixes more multipart parsing issues. -- Joey Hess Tue, 11 Jul 2006 20:28:11 -0400 libmail-mbox-messageparser-perl (1.4003-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 11 Jun 2006 17:07:19 -0400 libmail-mbox-messageparser-perl (1.4002-2) unstable; urgency=low * Correct mime multipart boundary header parsing to support all legal unquoted boundary definitions. Closes: #365151 -- Joey Hess Mon, 8 May 2006 16:27:24 -0400 libmail-mbox-messageparser-perl (1.4002-1) unstable; urgency=low * New upstream release. -- Joey Hess Wed, 15 Feb 2006 00:46:11 -0500 libmail-mbox-messageparser-perl (1.4001-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 4 Aug 2005 11:32:59 -0400 libmail-mbox-messageparser-perl (1.4000-1) unstable; urgency=low * New upstream release. * Fixed gnus mailbox issue. Closes: #316463 -- Joey Hess Mon, 11 Jul 2005 10:43:59 +0300 libmail-mbox-messageparser-perl (1.3001-1) unstable; urgency=low * New upstream release. -- Joey Hess Sat, 11 Jun 2005 21:08:26 -0400 libmail-mbox-messageparser-perl (1.3000-1) unstable; urgency=low * New upstream release. * Fixes infinite loop. Closes: #293465, #308808 * Set LANG=C when running test suite to avoid failures in other locales (including en_US.UTF-8). -- Joey Hess Mon, 23 May 2005 10:12:17 -0400 libmail-mbox-messageparser-perl (1.2130-1) unstable; urgency=low * New upstream release. * Add a build dep on libtext-diff-perl, as it's now used by the regression tests. * Set version in inc/List/Util.pm to same as it is in Debian to avoid very strange regression test failure. Mailed author for help. -- Joey Hess Wed, 19 Jan 2005 00:58:02 -0500 libmail-mbox-messageparser-perl (1.21.1-2) unstable; urgency=low * Build-depend on bzip2 to make sure bzip support is enabled in the package. Yes, this is kinda silly. Closes: #279004 -- Joey Hess Sat, 30 Oct 2004 18:53:14 -0400 libmail-mbox-messageparser-perl (1.21.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 1 Oct 2004 05:26:32 -0400 libmail-mbox-messageparser-perl (1.20-1) unstable; urgency=low * New upstream release. -- Joey Hess Wed, 14 Jul 2004 11:09:09 -0400 libmail-mbox-messageparser-perl (1.14-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 9 Feb 2004 14:05:25 -0500 libmail-mbox-messageparser-perl (1.13-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 15 Jan 2004 14:45:47 -0500 libmail-mbox-messageparser-perl (1.12-2) unstable; urgency=low * Fixed dep on libfilehandle-unget-perl (which is still stuck in Incoming). Closes: #218626 -- Joey Hess Sun, 2 Nov 2003 15:22:18 -0500 libmail-mbox-messageparser-perl (1.12-1) unstable; urgency=low * New upstream release, now depends on libfilehandle-unget-perl instead of libio-string-perl. -- Joey Hess Thu, 30 Oct 2003 15:19:03 -0500 libmail-mbox-messageparser-perl (1.11-3) unstable; urgency=low * Fix a typo in the perldoc. Closes: #216304 -- Joey Hess Fri, 17 Oct 2003 19:31:46 -0400 libmail-mbox-messageparser-perl (1.11-2) unstable; urgency=low * Move from build-depends-indep to build-depends to meet current policy. -- Joey Hess Wed, 3 Sep 2003 12:09:06 -0400 libmail-mbox-messageparser-perl (1.11-1) unstable; urgency=low * New upstream release. (Includes my umask patch.) * Remove make test buglet workaround from debian/rules. * Needs build-dep and dependency on libio-string-perl. -- Joey Hess Thu, 28 Aug 2003 14:46:14 -0400 libmail-mbox-messageparser-perl (1.00-1) unstable; urgency=low * Initial release (broke out of grepmail). * Patch Mbox::MessageParser::Cache to set umask 077 before writing cache as it may have private information. -- Joey Hess Thu, 7 Aug 2003 17:47:02 -0400 debian/libmail-mbox-messageparser-perl.examples0000644000000000000000000000002211256502124017071 0ustar anonymize_mailbox debian/source/0000755000000000000000000000000011403002334010454 5ustar debian/source/format0000644000000000000000000000001411402757641011703 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611402757642010255 0ustar #!/usr/bin/make -f %: dh $@