<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[138523] trunk/dports/perl/p5-mail-mboxparser</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/138523">138523</a></dd>
<dt>Author</dt> <dd>khindenburg@macports.org</dd>
<dt>Date</dt> <dd>2015-07-10 17:43:47 -0700 (Fri, 10 Jul 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>p5-mail-mboxparser: add 4 debian patches - one fixes #46447</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsperlp5mailmboxparserPortfile">trunk/dports/perl/p5-mail-mboxparser/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/perl/p5-mail-mboxparser/files/</li>
<li><a href="#trunkdportsperlp5mailmboxparserfilesfixspellingerrorinmanpagepatch">trunk/dports/perl/p5-mail-mboxparser/files/fix-spelling-error-in-manpage.patch</a></li>
<li><a href="#trunkdportsperlp5mailmboxparserfilesfix_messageparser_interaction">trunk/dports/perl/p5-mail-mboxparser/files/fix_messageparser_interaction</a></li>
<li><a href="#trunkdportsperlp5mailmboxparserfilesperlMailMboxParser055FixgarbledattachmentnameRT66576patch">trunk/dports/perl/p5-mail-mboxparser/files/perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch</a></li>
<li><a href="#trunkdportsperlp5mailmboxparserfilespodencodingpatch">trunk/dports/perl/p5-mail-mboxparser/files/pod-encoding.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsperlp5mailmboxparserPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/perl/p5-mail-mboxparser/Portfile (138522 => 138523)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-mail-mboxparser/Portfile        2015-07-10 23:48:16 UTC (rev 138522)
+++ trunk/dports/perl/p5-mail-mboxparser/Portfile        2015-07-11 00:43:47 UTC (rev 138523)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> 
</span><span class="cx"> perl5.branches      5.16 5.18 5.20
</span><span class="cx"> perl5.setup         Mail-MboxParser 0.55
</span><del>-revision            3
</del><ins>+revision            4
</ins><span class="cx"> license             {Artistic-1 GPL}
</span><span class="cx"> platforms           darwin
</span><span class="cx"> maintainers         nomaintainer
</span><span class="lines">@@ -19,6 +19,11 @@
</span><span class="cx"> checksums           rmd160  fdbd521b41d28062d7710859a074453699524582 \
</span><span class="cx">                     sha256  33f025e9b10956b9a58ef01774b92b790aacca5fb00b1c755ada77ad4e5c7d3b
</span><span class="cx"> 
</span><ins>+patchfiles          fix-spelling-error-in-manpage.patch \
+                    perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch \
+                    fix_messageparser_interaction \
+                    pod-encoding.patch
+
</ins><span class="cx"> if {${perl5.major} != &quot;&quot;} {
</span><span class="cx">     depends_lib-append \
</span><span class="cx">                     port:p${perl5.major}-mime-tools
</span></span></pre></div>
<a id="trunkdportsperlp5mailmboxparserfilesfixspellingerrorinmanpagepatch"></a>
<div class="addfile"><h4>Added: trunk/dports/perl/p5-mail-mboxparser/files/fix-spelling-error-in-manpage.patch (0 => 138523)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-mail-mboxparser/files/fix-spelling-error-in-manpage.patch                                (rev 0)
+++ trunk/dports/perl/p5-mail-mboxparser/files/fix-spelling-error-in-manpage.patch        2015-07-11 00:43:47 UTC (rev 138523)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+Description: Fix spelling errors in manpage
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=69086
+Forwarded: yes
+Author: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
+Reviewed-by: gregor herrmann &lt;gregoa@debian.org&gt;
+Last-Update: 2013-06-02
+
+--- MboxParser/Mail.pm
++++ MboxParser/Mail.pm
+@@ -689,7 +689,7 @@
+ See L&lt;Encode::Supported&gt; 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&lt;$mail-E&lt;gt&gt;error&gt; to find out which of these possibilities
+ apply.
+@@ -773,10 +773,10 @@
+ =item B&lt;store_all_attachments(options)&gt;  

+ Walks through an entire mail and stores all apparent attachments. 'options' are
+-exactly the same as in C&lt;store_attachement()&gt; with the same behaviour if no
++exactly the same as in C&lt;store_attachment()&gt; 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&lt;$mail-E&lt;gt&gt;error&gt; will tell you possible failures and a possible explanation
+@@ -820,7 +820,7 @@

+ =item B&lt;get_attachments(file)&gt;

+-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:

</ins></span></pre></div>
<a id="trunkdportsperlp5mailmboxparserfilesfix_messageparser_interaction"></a>
<div class="addfile"><h4>Added: trunk/dports/perl/p5-mail-mboxparser/files/fix_messageparser_interaction (0 => 138523)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-mail-mboxparser/files/fix_messageparser_interaction                                (rev 0)
+++ trunk/dports/perl/p5-mail-mboxparser/files/fix_messageparser_interaction        2015-07-11 00:43:47 UTC (rev 138523)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+fix_messageparser_interaction
+
+Fix hang during t/3_while test with recent Mail::Mbox::MessageParser.
+See Debian bug #395268.
+Patch by David Coppit &lt;david@coppit.org&gt;
+
+--- MboxParser.pm
++++ MboxParser.pm
+@@ -519,7 +519,6 @@

+     return undef if ref(\$p) eq 'SCALAR' or $p-&gt;end_of_file;

+-    seek $self-&gt;{READER}, $self-&gt;{CURR_POS}, SEEK_SET;
+     my $nl = $self-&gt;{NL};
+     my $mailref = $p-&gt;read_next_email;
+     my ($header, $body) = split /$nl$nl/, $$mailref, 2;
+@@ -793,7 +792,8 @@
+     my $self = shift;
+     my $h = $self-&gt;{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;
+ }

</ins></span></pre></div>
<a id="trunkdportsperlp5mailmboxparserfilesperlMailMboxParser055FixgarbledattachmentnameRT66576patch"></a>
<div class="addfile"><h4>Added: trunk/dports/perl/p5-mail-mboxparser/files/perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch (0 => 138523)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-mail-mboxparser/files/perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch                                (rev 0)
+++ trunk/dports/perl/p5-mail-mboxparser/files/perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch        2015-07-11 00:43:47 UTC (rev 138523)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+From 122efb9b43fe3b918190f1e72a8055240571d58b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= &lt;ppisar@redhat.com&gt;
+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
+--- t/10_qpnames.t
++++ t/10_qpnames.t
+@@ -1,3 +1,4 @@
++use utf8;
+ use Test;
+ use File::Spec;
+ use strict;
+@@ -12,7 +13,7 @@ my ($msg) = $mb-&gt;get_messages;

+ my $att = $msg-&gt;get_attachments;
+ skip(&amp;Mail::MboxParser::Mail::HAVE_MIMEWORDS ? 0 : &quot;Mime::Words not installed&quot;,
+-     defined $msg-&gt;get_attachments(&quot;test \xFE\xF0\xFC\xFD\xE7\xF6 characters.txt&quot;));
++     defined $msg-&gt;get_attachments(&quot;test şğüıçö characters.txt&quot;));



+-- 
+1.7.5.4
+
</ins></span></pre></div>
<a id="trunkdportsperlp5mailmboxparserfilespodencodingpatch"></a>
<div class="addfile"><h4>Added: trunk/dports/perl/p5-mail-mboxparser/files/pod-encoding.patch (0 => 138523)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-mail-mboxparser/files/pod-encoding.patch                                (rev 0)
+++ trunk/dports/perl/p5-mail-mboxparser/files/pod-encoding.patch        2015-07-11 00:43:47 UTC (rev 138523)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+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 &lt;gregoa@debian.org&gt;
+Last-Update: 2013-06-02
+
+--- MboxParser/Mail.pm
++++ MboxParser/Mail.pm
+@@ -14,6 +14,8 @@

+ # ----------------------------------------------------------------

++=encoding latin1
++
+ =head1 NAME

+ Mail::MboxParser::Mail - Provide mail-objects and methods upon
</ins></span></pre>
</div>
</div>

</body>
</html>