Package: prey
Version: 0.5.3-7.1
Followup-For: Bug #718868
User: [email protected]
Usertags: origin-ubuntu saucy ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
*** /tmp/tmpBBhrIu/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
* Fix sending emails via SSL, libio-socket-ssl-perl changed it's interface
(Closes: #718868) (LP: #1208668)
Thanks for considering the patch.
- -- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJSAOolAAoJEGHzRCZ03mYkqSYP/3C/W7/YopRyRcSAZjujKzO6
D4nqdPUAinC6nTZVTtlfuuMdmCODbrLzRZ/YbjaG2yDvsf0w4len4261XCdektOS
6IhxPzqHpK9VlIwB7iyTLaxAvTMjS+6OZDtkDvAn8VRFaQr0gdkM8QZZvDHnRrZA
fz4OH9PxzjCZAAjb+GcMX1jZHIppqwvAZ2iyQtyxVVlbWnaIt4DWS1kFJiMC44QA
Ji6F4vlYpO9fGxwfxKi8flUMV+gYKReosPR5MRRniEGrfQ+QPMart5b7qOFt1rS6
KkDXKGYKE25ObXrytrEgTnTv2Bgijgxc5H/KHEYc61KrIhi3cNQ0cehF+/bredEk
zufyu5hqdRfznWuVN1XNUanY0kh01odvXXACZDsyo/MD8G0SSmXXJbw8RnSCfdcf
DNkCZmv3Hqu+yOEnGoybXUIjREkbYyV7xFD/lrPcvd012ZKE89xdmhcUId8SsKkL
ET2UnPjPbmjUf794ZlsK+e1ulcLUIpDINAbWoI+pDBZVqHMERozinRMeSYMe6ua0
KljxnA4+soWAZnwCbzaloYQKSPQddStbeWN/VmIuxEKyZsqRbU5fIumYziByJakh
57i4ZoNHEq+UwLdGtR9Jj3D1FuthcPK+VWP+54fj/aBxesqJ6xkMMFkVZZ0Acw0+
If+j2BYrTuRORKYTP2z6
=ta8K
-----END PGP SIGNATURE-----
diff -Nru prey-0.5.3/debian/patches/fix-ssl.patch prey-0.5.3/debian/patches/fix-ssl.patch
--- prey-0.5.3/debian/patches/fix-ssl.patch 1970-01-01 01:00:00.000000000 +0100
+++ prey-0.5.3/debian/patches/fix-ssl.patch 2013-08-06 13:54:11.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Fix sending emails via SSL, libio-socket-ssl-perl changed it's interface
+Author: Andreas Moog <[email protected]>
+Bug-Debian: http://bugs.debian.org/718868
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1208668
+Forwarded: yes
+Last-Update: 2013-08-06
+
+--- prey-0.5.3.orig/platform/linux/bin/sendEmail
++++ prey-0.5.3/platform/linux/bin/sendEmail
+@@ -1903,7 +1903,7 @@ else {
+ if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
+ printmsg("DEBUG => Starting TLS", 2);
+ if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
+- if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) {
++ if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv23:!SSLv2')) {
+ quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
+ }
+ printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
diff -Nru prey-0.5.3/debian/patches/series prey-0.5.3/debian/patches/series
--- prey-0.5.3/debian/patches/series 2011-12-01 16:32:23.000000000 +0100
+++ prey-0.5.3/debian/patches/series 2013-08-06 13:53:22.000000000 +0200
@@ -4,3 +4,4 @@
04-crontab.patch
05-modules_handling.patch
10-fix_quoting.patch
+fix-ssl.patch