summaryrefslogtreecommitdiff
path: root/net-mail/sendEmail/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/sendEmail/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/sendEmail/files')
-rw-r--r--net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch11
-rw-r--r--net-mail/sendEmail/files/1.56-overzealous-version-check.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch b/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
new file mode 100644
index 000000000000..f5c5c39ee5c7
--- /dev/null
+++ b/net-mail/sendEmail/files/1.56-overzealous-verify-mode-check.patch
@@ -0,0 +1,11 @@
+--- sendEmail 2013-05-21 16:44:18.000000000 +0100
++++ sendEmail 2013-06-05 09:26:20.000000000 +0100
+@@ -1903,7 +1903,7 @@
+ 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')) {
++ if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3', SSL_verify_mode => 0x00)) {
+ quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
+ }
+ printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
diff --git a/net-mail/sendEmail/files/1.56-overzealous-version-check.patch b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
new file mode 100644
index 000000000000..5cd47b06788d
--- /dev/null
+++ b/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
@@ -0,0 +1,11 @@
+--- a/sendEmail 2013-03-25 08:59:12.000000000 +0000
++++ b/sendEmail 2013-03-25 08:59:22.000000000 +0000
+@@ -1903,7 +1903,7 @@
+ 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 => 'SSLv3')) {
+ quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
+ }
+ printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);