[libnet-smtp-tls-butmaintained-perl] 01/03: Add fix-misuse-of-IO-Socket-SSL.patch
Salvatore Bonaccorso
carnil at debian.org
Wed Dec 4 22:43:57 UTC 2013
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch wheezy
in repository libnet-smtp-tls-butmaintained-perl.
commit a09eaa0b87d6921ce7c03ab736eb1ec3de086024
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Tue Oct 29 16:04:14 2013 +0100
Add fix-misuse-of-IO-Socket-SSL.patch
Fixes misuse of IO::Socket::SSL in the SSL_version argument (wrong
syntax). This causes the errors like "invalid SSL_version specified at
/usr/share/perl5/IO/Socket/SSL.pm line 332".
Closes: #728248
---
debian/patches/fix-misuse-of-IO-Socket-SSL.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/fix-misuse-of-IO-Socket-SSL.patch b/debian/patches/fix-misuse-of-IO-Socket-SSL.patch
new file mode 100644
index 0000000..f2cf3b5
--- /dev/null
+++ b/debian/patches/fix-misuse-of-IO-Socket-SSL.patch
@@ -0,0 +1,19 @@
+Description: Fix misuse of IO::Socket::SSL
+Origin: upstream, https://metacpan.org/diff/release/FAYLAND/Net-SMTP-TLS-ButMaintained-0.17/FAYLAND/Net-SMTP-TLS-ButMaintained-0.21
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=77865
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2013-10-29
+Applied-Upstream: 0.21
+
+--- a/lib/Net/SMTP/TLS/ButMaintained.pm
++++ b/lib/Net/SMTP/TLS/ButMaintained.pm
+@@ -113,7 +113,7 @@
+ }
+ if (
+ not IO::Socket::SSL::socket_to_SSL(
+- $me->{sock}, SSL_version => "SSLv3 TLSv1"
++ $me->{sock}, { SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE }
+ )
+ )
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 6726658..5d528f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
tests.patch
+fix-misuse-of-IO-Socket-SSL.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-smtp-tls-butmaintained-perl.git
More information about the Pkg-perl-cvs-commits
mailing list