debian/0000755000000000000000000000000012152707670007175 5ustar debian/rules0000755000000000000000000000003612152707670010254 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000233412152707670010602 0ustar Source: libmail-mboxparser-perl Maintainer: Debian Perl Group Uploaders: Tim Retout Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libmime-tools-perl, libmail-mbox-messageparser-perl, libtest-pod-perl, libtest-pod-coverage-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmail-mboxparser-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmail-mboxparser-perl.git Homepage: https://metacpan.org/release/Mail-MboxParser/ Package: libmail-mboxparser-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libmime-tools-perl, perl Recommends: libmail-mbox-messageparser-perl, liburi-find-perl Description: module providing read-only access to UNIX mailboxes Mail::MboxParser attempts to provide a simplified access to standard UNIX-mailboxes. It offers only a subset of methods to get 'straight to the point'. More sophisticated things can still be done by invoking any method from MIME::Tools on the appropriate return values. debian/source/0000755000000000000000000000000012152707670010475 5ustar debian/source/format0000644000000000000000000000001412152707670011703 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001062312152707670011051 0ustar libmail-mboxparser-perl (0.55-4) unstable; urgency=low * Team upload. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add patch pod-encoding.patch. (Closes: #710798) * Update fix-spelling-error-in-manpage.patch. Add another spelling fix. * debian/copyright: switch formatting to Copyright-Format 1.0. * Set Standards-Version to 3.9.4 (no changes). * Bump debhelper compatibility level to 8. * Improve short description. -- gregor herrmann Sun, 02 Jun 2013 20:32:00 +0200 libmail-mboxparser-perl (0.55-3) unstable; urgency=low * Team upload. [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Tim Retout ] * Email change: Tim Retout -> diocles@debian.org [ Salvatore Bonaccorso ] * Add perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch patch to patch the attachment name in t/10_qpnames.t which is not valid UTF-8 and thus does not match text stored in the mbox. Fixes FTBFS (Closes: #615545). * Convert to '3.0 (quilt)' source package format. * Remove README.source and drop quilt framework. * debian/control: - Drop quilt from Build-Depends. - Change versioned Build-Depends-Indep on perl (>= 5.8.0-7) to a unversioned dependency on perl as the version is already satisfied in oldstable. * debian/rules: Use tiny rules makefile. * debian/copyright: - Update to revision 135 of DEP5's format-specification for machine-readable copyright file information. - Update copyright for debian/* packaging. - Explicitly point to GPL-1 license text in common-licenses. * Bump Standards-Version to 3.9.2. * Add fix-spelling-error-in-manpage.patch patch to fix spelling errors in manpage. -- Salvatore Bonaccorso Sat, 25 Jun 2011 14:19:03 +0200 libmail-mboxparser-perl (0.55-2) unstable; urgency=low [ Tim Retout ] * Take over for the Debian Perl Group. (Closes: #460181) * debian/compat: Bump from 4 to 7. * debian/control: + Change Maintainer to Debian Perl Group. + Add self to Uploaders. + Bump Standards-Version to 3.8.0. + Add new Homepage and Vcs-* fields. + Bump debhelper Build-Depends, and replace dpatch with quilt. + Add libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends-Indep field. + Replace libmime-perl with libmime-tools-perl in Build-Depends-Indep and Depends fields. + Move liburi-find-perl from Suggests to Recommends. + Revise Description. * debian/copyright: Rewrite in new format. * debian/libmail-mboxparser-perl.examples: + New file; ship upstream example scripts. * debian/patches/00list: Remove. * debian/patches/01_fix_messageparser_interaction.dpatch: + Rename to just fix_messageparser_interaction. + Quilt refresh, and add a description. * debian/patches/series: New file. * debian/README.source: New file. * debian/rules: Rewrite. * debian/watch: New watch file courtesy of dh-make-perl. [ gregor herrmann ] * Use "$(QUILT_STAMPFN)" instead of "patch" in debian/rules. * debian/control: wrap a long line. -- Tim Retout Fri, 15 Aug 2008 22:14:50 -0300 libmail-mboxparser-perl (0.55-1.1) unstable; urgency=low * Non-maintainer upload. * Remove /usr/lib/perl5 only if it exists (needed to avoid FTBFS after Perl 5.10 transition) (Closes: #479933) -- Gunnar Wolf Wed, 28 May 2008 10:13:49 -0500 libmail-mboxparser-perl (0.55-1) unstable; urgency=low * New upstream release. * Apply David Coppit's patch to fix hangs during 'make test'. closes: #395268 * Bump to Standards-Version 3.7.2, no changes required. -- Joshua Kwan Sat, 09 Jun 2007 02:14:26 -0700 libmail-mboxparser-perl (0.54-1) unstable; urgency=low * New upstream release. * Bump to Standards-Version 3.6.2 - no changes required. -- Joshua Kwan Wed, 27 Jul 2005 21:25:01 -0700 libmail-mboxparser-perl (0.51-1) unstable; urgency=low * Initial release. closes: #290991 -- Joshua Kwan Mon, 17 Jan 2005 20:04:37 -0800 debian/libmail-mboxparser-perl.examples0000644000000000000000000000000512152707670015461 0ustar eg/* debian/compat0000644000000000000000000000000212152707670010373 0ustar 8 debian/patches/0000755000000000000000000000000012152707670010624 5ustar debian/patches/fix-spelling-error-in-manpage.patch0000644000000000000000000000414212152707670017410 0ustar Description: Fix spelling errors in manpage Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=69086 Forwarded: yes Author: Salvatore Bonaccorso Reviewed-by: gregor herrmann Last-Update: 2013-06-02 --- a/MboxParser/Mail.pm +++ b/MboxParser/Mail.pm @@ -689,7 +689,7 @@ See L for a list of encodings that you may use. Returns the filename under which the attachment has been saved. undef is -returned in case the entity did not contain a saveable attachement, there was +returned in case the entity did not contain a saveable attachment, there was no such entity at all or there was something wrong with the 'path' you specified. Check C<$mail-Eerror> to find out which of these possibilities apply. @@ -773,10 +773,10 @@ =item B Walks through an entire mail and stores all apparent attachments. 'options' are -exactly the same as in C with the same behaviour if no +exactly the same as in C with the same behaviour if no options are given. -Returns a list of files that have been succesfully saved and an empty list if +Returns a list of files that have been successfully saved and an empty list if no attachment could be extracted. C<$mail-Eerror> will tell you possible failures and a possible explanation @@ -820,7 +820,7 @@ =item B -This method returns a mapping from attachment-names (if those are savable) to +This method returns a mapping from attachment-names (if those are saveable) to index-numbers of the MIME-part that represents this attachment. It returns a hash-reference, the file-names being the key and the index the value: @@ -1014,10 +1014,10 @@ (my $call = $AUTOLOAD) =~ s/.*:://; # for backward-compatibility - if ($call eq 'store_attachement') { + if ($call eq 'store_attachment') { return $self->store_attachment(@args); } - if ($call eq 'store_all_attachements') { + if ($call eq 'store_all_attachments') { return $self->store_all_attachments(@args); } debian/patches/fix_messageparser_interaction0000644000000000000000000000146112152707670016657 0ustar fix_messageparser_interaction Fix hang during t/3_while test with recent Mail::Mbox::MessageParser. See Debian bug #395268. Patch by David Coppit --- a/MboxParser.pm +++ b/MboxParser.pm @@ -519,7 +519,6 @@ return undef if ref(\$p) eq 'SCALAR' or $p->end_of_file; - seek $self->{READER}, $self->{CURR_POS}, SEEK_SET; my $nl = $self->{NL}; my $mailref = $p->read_next_email; my ($header, $body) = split /$nl$nl/, $$mailref, 2; @@ -793,7 +792,8 @@ my $self = shift; my $h = $self->{READER}; my $newline; - + + my $old_position = tell $h; seek $h, 0, SEEK_SET; while (sysread $h, (my $c), 1) { if (ord($c) == 13) { @@ -807,6 +807,7 @@ last; } } + seek($h, $old_position, 0); return $newline; } debian/patches/series0000644000000000000000000000023212152707670012036 0ustar fix_messageparser_interaction perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch fix-spelling-error-in-manpage.patch pod-encoding.patch debian/patches/perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch0000644000000000000000000000146512152707670024346 0ustar From 122efb9b43fe3b918190f1e72a8055240571d58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 23 Jun 2011 09:13:12 +0200 Subject: [PATCH] Fix garbled attachment name (RT#66576) --- t/10_qpnames.t | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/t/10_qpnames.t b/t/10_qpnames.t index 7c9b42c..4db5af6 100755 --- a/t/10_qpnames.t +++ b/t/10_qpnames.t @@ -1,3 +1,4 @@ +use utf8; use Test; use File::Spec; use strict; @@ -12,7 +13,7 @@ my ($msg) = $mb->get_messages; my $att = $msg->get_attachments; skip(&Mail::MboxParser::Mail::HAVE_MIMEWORDS ? 0 : "Mime::Words not installed", - defined $msg->get_attachments("test þðüýçö characters.txt")); + defined $msg->get_attachments("test şğüıçö characters.txt")); -- 1.7.5.4 debian/patches/pod-encoding.patch0000644000000000000000000000103212152707670014207 0ustar Description: add =encoding to POD, required by perl 5.17.x Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=85805 Bug-Debian: http://bugs.debian.org/710798 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85805 Author: gregor herrmann Last-Update: 2013-06-02 --- a/MboxParser/Mail.pm +++ b/MboxParser/Mail.pm @@ -14,6 +14,8 @@ # ---------------------------------------------------------------- +=encoding latin1 + =head1 NAME Mail::MboxParser::Mail - Provide mail-objects and methods upon debian/copyright0000644000000000000000000000231312152707670011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Mail-MboxParser Upstream-Contact: Tassilo von Parseval Source: https://metacpan.org/release/Mail-MboxParser/ Files: * Copyright: Copyright (c) 2001-2005 Tassilo von Parseval. License: Artistic or GPL-1+ Files: debian/* Copyright: 2005, 2007, Joshua Kwan 2008, Gunnar Wolf 2008, Tim Retout 2011, Salvatore Bonaccorso 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 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 systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000017412152707670010230 0ustar version=3 https://metacpan.org/release/Mail-MboxParser/ .*/Mail-MboxParser-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$