r64668 - in /trunk/libemail-mime-perl: ./ debian/ debian/source/ lib/Email/ lib/Email/MIME/ t/

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Sun Nov 7 12:45:20 UTC 2010


Author: ansgar
Date: Sun Nov  7 12:44:59 2010
New Revision: 64668

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64668
Log:
* New upstream release.
* Add build-dep on perl (>= 5.10.1) | libtest-simple-perl (>= 0.88).
* debian/copyright: Formatting changes; refer to "Debian systems" instead of
  "Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
* Use source format 3.0 (quilt).
* Add myself to Uploaders.

Added:
    trunk/libemail-mime-perl/debian/source/
    trunk/libemail-mime-perl/debian/source/format
    trunk/libemail-mime-perl/t/walk-parts.t
      - copied unchanged from r64667, branches/upstream/libemail-mime-perl/current/t/walk-parts.t
Modified:
    trunk/libemail-mime-perl/Changes
    trunk/libemail-mime-perl/MANIFEST
    trunk/libemail-mime-perl/META.yml
    trunk/libemail-mime-perl/Makefile.PL
    trunk/libemail-mime-perl/debian/changelog
    trunk/libemail-mime-perl/debian/control
    trunk/libemail-mime-perl/debian/copyright
    trunk/libemail-mime-perl/lib/Email/MIME.pm
    trunk/libemail-mime-perl/lib/Email/MIME/Creator.pm
    trunk/libemail-mime-perl/lib/Email/MIME/Header.pm
    trunk/libemail-mime-perl/lib/Email/MIME/Modifier.pm

Modified: trunk/libemail-mime-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/Changes?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/Changes (original)
+++ trunk/libemail-mime-perl/Changes Sun Nov  7 12:44:59 2010
@@ -1,4 +1,14 @@
 Revision history for Perl extension Email::MIME.
+
+1.906   2010-10-07
+        update our prereq on Test::More to 0.88
+
+1.905   2010-09-06
+        fix a long-standing bug that prevent walk_parts from reaching all parts
+        (thanks, Erik Logtenberg)
+
+1.904   2010-09-04
+        eliminate memory leak in walk_parts (reported by MKANAT, RT #59581)
 
 1.903   2009-12-23
         correct typo in body_set_str (RT #53004) (thanks, Herbert Leitz)

Modified: trunk/libemail-mime-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/MANIFEST?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/MANIFEST (original)
+++ trunk/libemail-mime-perl/MANIFEST Sun Nov  7 12:44:59 2010
@@ -30,4 +30,5 @@
 t/read-nested.t
 t/singlepart.t
 t/unicode.t
+t/walk-parts.t
 META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libemail-mime-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/META.yml?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/META.yml (original)
+++ trunk/libemail-mime-perl/META.yml Sun Nov  7 12:44:59 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Email-MIME
-version:            1.903
+version:            1.906
 abstract:           ~
 author:  []
 license:            perl
@@ -17,14 +17,14 @@
     Email::Simple::Creator:  0
     Encode:               1.9801
     MIME::Types:          1.13
-    Test::More:           0.47
+    Test::More:           0.88
 resources:
     repository:  http://github.com/rjbs/email-mime
 no_index:
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.55_02
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: trunk/libemail-mime-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/Makefile.PL?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/Makefile.PL (original)
+++ trunk/libemail-mime-perl/Makefile.PL Sun Nov  7 12:44:59 2010
@@ -11,7 +11,7 @@
     'Email::Simple' => '2.004', # default_header_class
     'Encode'        => '1.9801',
     'MIME::Types'   => '1.13',
-    'Test::More'    => '0.47',
+    'Test::More'    => '0.88',
     'Email::MIME::ContentType' => '1.011',
     'Email::MIME::Encodings'   => '1.313',
     'Email::Simple::Creator'   => 0,

Modified: trunk/libemail-mime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/debian/changelog?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/debian/changelog (original)
+++ trunk/libemail-mime-perl/debian/changelog Sun Nov  7 12:44:59 2010
@@ -1,4 +1,4 @@
-libemail-mime-perl (1.903-2) UNRELEASED; urgency=low
+libemail-mime-perl (1.906-1) unstable; urgency=low
 
   [ gregor herrmann ]
   * Set Standards-Version to 3.9.1; replace Conflicts with Breaks.
@@ -6,7 +6,15 @@
   [ Russ Allbery ]
   * Remove myself from Uploaders.
 
- -- gregor herrmann <gregoa at debian.org>  Sat, 31 Jul 2010 14:37:34 -0400
+  [ Ansgar Burchardt ]
+  * New upstream release.
+  * Add build-dep on perl (>= 5.10.1) | libtest-simple-perl (>= 0.88).
+  * debian/copyright: Formatting changes; refer to "Debian systems" instead of
+    "Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
+  * Use source format 3.0 (quilt).
+  * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at debian.org>  Sun, 07 Nov 2010 13:44:49 +0100
 
 libemail-mime-perl (1.903-1) unstable; urgency=low
 

Modified: trunk/libemail-mime-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/debian/control?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/debian/control (original)
+++ trunk/libemail-mime-perl/debian/control Sun Nov  7 12:44:59 2010
@@ -6,10 +6,10 @@
  libemail-mime-contenttype-perl, libemail-mime-encodings-perl (>= 1.313),
  libmime-types-perl, libtest-pod-coverage-perl, libtest-pod-perl,
  libemail-simple-perl (>= 2.100) | libemail-simple-creator-perl, libemail-messageid-perl,
- libtest-minimumversion-perl
+ libtest-minimumversion-perl, perl (>= 5.10.1) | libtest-simple-perl (>= 0.88)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ernesto Hernández-Novich (USB) <emhn at usb.ve>,
- Damyan Ivanov <dmn at debian.org>,
+ Damyan Ivanov <dmn at debian.org>, Ansgar Burchardt <ansgar at debian.org>,
  Brian Cassidy <brian.cassidy at gmail.com>, Jonathan Yu <jawnsy at cpan.org>
 Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/Email-MIME/

Modified: trunk/libemail-mime-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/debian/copyright?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/debian/copyright (original)
+++ trunk/libemail-mime-perl/debian/copyright Sun Nov  7 12:44:59 2010
@@ -1,13 +1,11 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Ricardo Signes, rjbs at cpan.org
-Upstream-Source: http://search.cpan.org/dist/Email-MIME/
-Upstream-Name: Email-MIME
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Ricardo Signes, rjbs at cpan.org
+Source: http://search.cpan.org/dist/Email-MIME/
+Name: Email-MIME
 
 Files: *
 Copyright: 2004, Simon Cozens <simon at cpan.org>
-License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
@@ -15,18 +13,20 @@
  2007, Russ Allbery <rra at debian.org>
  2007, Damyan Ivanov <dmn at debian.org>
  2005-2008, Ernesto Hernández-Novich (USB) <emhn at usb.ve>
-License: Artistic | GPL-1+
+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
+ 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 GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'
+ 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'.

Added: trunk/libemail-mime-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/debian/source/format?rev=64668&op=file
==============================================================================
--- trunk/libemail-mime-perl/debian/source/format (added)
+++ trunk/libemail-mime-perl/debian/source/format Sun Nov  7 12:44:59 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libemail-mime-perl/lib/Email/MIME.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/lib/Email/MIME.pm?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/lib/Email/MIME.pm (original)
+++ trunk/libemail-mime-perl/lib/Email/MIME.pm Sun Nov  7 12:44:59 2010
@@ -21,7 +21,7 @@
 
 =head1 VERSION
 
-version 1.903
+version 1.906
 
 =head1 SYNOPSIS
 
@@ -111,7 +111,7 @@
 
 =cut
 
-our $VERSION = '1.903';
+our $VERSION = '1.906';
 
 use vars qw[$CREATOR];
 $CREATOR = 'Email::MIME::Creator';
@@ -433,7 +433,7 @@
   $email->content_type_set( 'text/html' );
 
 Change the content type. All C<Content-Type> header attributes
-will remain in tact.
+will remain intact.
 
 =cut
 
@@ -583,7 +583,7 @@
   $email->disposition_set( 'attachment' );
 
 Alter the C<Content-Disposition> of a message. All header attributes
-will remain in tact.
+will remain intact.
 
 =cut
 
@@ -712,17 +712,20 @@
   $walk = sub {
     my ($part) = @_;
     $callback->($part);
-    if ($part->parts > 1) {
-      my @subparts;
-      for ($part->parts) {
-        push @subparts, $walk->($_);
-      }
+
+    if ($part->subparts) {
+      my @subparts = map {; $walk->($_) } $part->subparts;
       $part->parts_set(\@subparts);
     }
+
     return $part;
   };
 
-  $walk->($self);
+  my $rv = $walk->($self);
+
+  undef $walk;
+
+  return $rv;
 }
 
 sub _compose_content_type {

Modified: trunk/libemail-mime-perl/lib/Email/MIME/Creator.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/lib/Email/MIME/Creator.pm?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/lib/Email/MIME/Creator.pm (original)
+++ trunk/libemail-mime-perl/lib/Email/MIME/Creator.pm Sun Nov  7 12:44:59 2010
@@ -2,7 +2,7 @@
 use strict;
 
 use vars qw[$VERSION];
-$VERSION = '1.903';
+$VERSION = '1.906';
 
 use base q[Email::Simple::Creator];
 use Email::MIME;

Modified: trunk/libemail-mime-perl/lib/Email/MIME/Header.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/lib/Email/MIME/Header.pm?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/lib/Email/MIME/Header.pm (original)
+++ trunk/libemail-mime-perl/lib/Email/MIME/Header.pm Sun Nov  7 12:44:59 2010
@@ -3,7 +3,7 @@
 package Email::MIME::Header;
 use base 'Email::Simple::Header';
 
-our $VERSION = '1.903';
+our $VERSION = '1.906';
 
 use Encode 1.9801;
 

Modified: trunk/libemail-mime-perl/lib/Email/MIME/Modifier.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/lib/Email/MIME/Modifier.pm?rev=64668&op=diff
==============================================================================
--- trunk/libemail-mime-perl/lib/Email/MIME/Modifier.pm (original)
+++ trunk/libemail-mime-perl/lib/Email/MIME/Modifier.pm Sun Nov  7 12:44:59 2010
@@ -4,7 +4,7 @@
 package Email::MIME::Modifier;
 
 use vars qw[$VERSION];
-$VERSION = '1.903';
+$VERSION = '1.906';
 
 use Email::MIME;
 
@@ -16,7 +16,7 @@
 
 =head1 VERSION
 
-version 1.903
+version 1.906
 
 =head1 PERL EMAIL PROJECT
 




More information about the Pkg-perl-cvs-commits mailing list