summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Net-SMTP-TLS')
-rw-r--r--dev-perl/Net-SMTP-TLS/Manifest1
-rw-r--r--dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r2.ebuild24
-rw-r--r--dev-perl/Net-SMTP-TLS/files/0.120.0-multiple-attachments-fix.patch12
-rw-r--r--dev-perl/Net-SMTP-TLS/metadata.xml13
4 files changed, 50 insertions, 0 deletions
diff --git a/dev-perl/Net-SMTP-TLS/Manifest b/dev-perl/Net-SMTP-TLS/Manifest
new file mode 100644
index 000000000000..f5bb0bcafedc
--- /dev/null
+++ b/dev-perl/Net-SMTP-TLS/Manifest
@@ -0,0 +1 @@
+DIST Net-SMTP-TLS-0.12.tar.gz 5994 SHA256 efe772667ac37702b96b6db5297cc827427a3b3a3819b7a4315b08b9d444e4a5 SHA512 8a285e903c2096c305498594f3b298110fba2abf4042d22f6f098369bfb8091f41effbdb6ea00f4823e5aa4d5476b2840a07ccd77f36aa06629bacd8e6b9737c WHIRLPOOL c932c9b796da196ec30fe6a7389bbfaa764a67eb00f060eb9045cab6dc3538c2870380617aa054385c45b3cb95cc64e7d806dda0318f9b078993b7c8e18e554a
diff --git a/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r2.ebuild b/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r2.ebuild
new file mode 100644
index 000000000000..2d600bebcd23
--- /dev/null
+++ b/dev-perl/Net-SMTP-TLS/Net-SMTP-TLS-0.120.0-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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
+ {
diff --git a/dev-perl/Net-SMTP-TLS/metadata.xml b/dev-perl/Net-SMTP-TLS/metadata.xml
new file mode 100644
index 000000000000..28aeffb5dadd
--- /dev/null
+++ b/dev-perl/Net-SMTP-TLS/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <herd>perl</herd>
+ <upstream>
+ <remote-id type="cpan">Net-SMTP-TLS</remote-id>
+ <remote-id type="cpan-module">Net::SMTP::TLS</remote-id>
+ </upstream>
+</pkgmetadata>