From 4b37690b6f650a447c2d459ae43d8c49bcefbc39 Mon Sep 17 00:00:00 2001 From: Tiziano Müller Date: Tue, 29 May 2012 11:47:51 +0000 Subject: fix bug corrupting attachments (bug #385245, upstream bug #63538 at rt.cpan.org) (Portage version: 2.1.10.56/cvs/Linux x86_64) --- dev-perl/Net-SMTP-TLS/ChangeLog | 10 ++++++++- .../Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild | 24 ++++++++++++++++++++++ .../files/0.120.0-multiple-attachments-fix.patch | 12 +++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild create mode 100644 dev-perl/Net-SMTP-TLS/files/0.120.0-multiple-attachments-fix.patch (limited to 'dev-perl/Net-SMTP-TLS') diff --git a/dev-perl/Net-SMTP-TLS/ChangeLog b/dev-perl/Net-SMTP-TLS/ChangeLog index 20f83033c83f..f02ef2dce509 100644 --- a/dev-perl/Net-SMTP-TLS/ChangeLog +++ b/dev-perl/Net-SMTP-TLS/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-perl/Net-SMTP-TLS # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SMTP-TLS/ChangeLog,v 1.4 2012/04/12 18:02:54 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SMTP-TLS/ChangeLog,v 1.5 2012/05/29 11:47:51 dev-zero Exp $ + +*Net-SMTP-TLS-0.120.0-r1 (29 May 2012) + + 29 May 2012; Tiziano Müller + +Net-SMTP-TLS-0.120.0-r1.ebuild, + +files/0.120.0-multiple-attachments-fix.patch: + fix bug corrupting attachments (bug #385245, upstream bug #63538 at + rt.cpan.org) 12 Apr 2012; Torsten Veller metadata.xml: Use cpan distribution (not a module) in metadata.xml diff --git a/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild b/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild new file mode 100644 index 000000000000..d852246fe99a --- /dev/null +++ b/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r1.ebuild,v 1.1 2012/05/29 11:47:51 dev-zero Exp $ + +EAPI=4 + +MODULE_AUTHOR=AWESTHOLM +MODULE_VERSION=0.12 +inherit perl-module + +DESCRIPTION="A SMTP client supporting TLS and AUTH" +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-perl/Net-SSLeay + dev-perl/IO-Socket-SSL + virtual/perl-MIME-Base64 + dev-perl/Digest-HMAC" +RDEPEND="${DEPEND}" + +SRC_TEST="do" + +PATCHES=( "${FILESDIR}/${PV}-multiple-attachments-fix.patch" ) diff --git a/dev-perl/Net-SMTP-TLS/files/0.120.0-multiple-attachments-fix.patch b/dev-perl/Net-SMTP-TLS/files/0.120.0-multiple-attachments-fix.patch new file mode 100644 index 000000000000..05eac0eaa3c6 --- /dev/null +++ b/dev-perl/Net-SMTP-TLS/files/0.120.0-multiple-attachments-fix.patch @@ -0,0 +1,12 @@ +diff --git a/lib/Net/SMTP/TLS.pm b/lib/Net/SMTP/TLS.pm +index 10f9f19..4936fe5 100644 +--- a/lib/Net/SMTP/TLS.pm ++++ b/lib/Net/SMTP/TLS.pm +@@ -367,6 +367,7 @@ sub datasend { + return undef; + } + $len -= $w; ++ $offset += $w; + } + else + { -- cgit v1.2.3-65-gdbad