From: Bartosz Świątek <shadzik@tld-linux.org>
Date: Fri, 30 Dec 2016 19:40:08 +0000 (+0100)
Subject: - updated patch2
X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=9ee4bd512c60a00ba663be57cac847baea4d1254;p=packages%2Fdovecot.git

- updated patch2
---

diff --git a/dovecot-disableSSLv3.patch b/dovecot-disableSSLv3.patch
index f1884b8..3033e01 100644
--- a/dovecot-disableSSLv3.patch
+++ b/dovecot-disableSSLv3.patch
@@ -1,11 +1,10 @@
-diff -urN dovecot/dovecot-2.2.15/doc/example-config/conf.d/10-ssl.conf dovecotorg/dovecot-2.2.15/doc/example-config/conf.d/10-ssl.conf
---- dovecot/dovecot-2.2.15/doc/example-config/conf.d/10-ssl.conf	2014-10-03 16:36:00.000000000 +0200
-+++ dovecotorg/dovecot-2.2.15/doc/example-config/conf.d/10-ssl.conf	2015-01-16 15:52:55.917727519 +0100
+--- doc/example-config/conf.d/10-ssl.conf.orig	2016-12-30 20:34:12.730416568 +0100
++++ doc/example-config/conf.d/10-ssl.conf	2016-12-30 20:36:58.630402918 +0100
 @@ -46,10 +46,10 @@
  #ssl_dh_parameters_length = 1024
  
  # SSL protocols to use
--#ssl_protocols = !SSLv2
+-#ssl_protocols = !SSLv3
 +ssl_protocols = !SSLv2 !SSLv3
  
  # SSL ciphers to use
diff --git a/dovecot.spec b/dovecot.spec
index 02772ca..7461b63 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -155,7 +155,7 @@ Współdzielone biblioteki Dovecota.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p2
+%patch2 -p0
 
 %{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf