commit d788add849d69049267717916a13cb472b9738a7
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Wed Mar 21 10:22:58 2018 +0100

    - rel 2; unbreak local_name handling after: Fix local name handling in 
v2.2.34 SNI code, bug found by cPanel.

 dovecot-local_name.patch | 11 +++++++++++
 dovecot.spec             |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/dovecot.spec b/dovecot.spec
index ec9a773..50235ff 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -12,7 +12,7 @@ Summary:      IMAP and POP3 server written with security 
primarily in mind
 Summary(pl.UTF-8):     Serwer IMAP i POP3 pisany głównie z myślą o 
bezpieczeństwie
 Name:          dovecot
 Version:       2.2.35
-Release:       1
+Release:       2
 Epoch:         1
 License:       MIT (libraries), LGPL v2.1 (the rest)
 Group:         Networking/Daemons
@@ -24,7 +24,7 @@ Source3:      %{name}.sysconfig
 Source4:       %{name}.tmpfiles
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-rpath.patch
-
+Patch2:                %{name}-local_name.patch
 Patch3:                %{name}-disableSSLv3.patch
 URL:           http://dovecot.org/
 BuildRequires: autoconf
@@ -162,7 +162,7 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-
+%patch2 -p1
 %patch3 -p1
 
 %{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' 
doc/example-config/*.conf doc/example-config/conf.d/*.conf
diff --git a/dovecot-local_name.patch b/dovecot-local_name.patch
new file mode 100644
index 0000000..d6e34ee
--- /dev/null
+++ b/dovecot-local_name.patch
@@ -0,0 +1,11 @@
+--- dovecot-2.2.35/src/lib-master/master-service-settings-cache.c      
2018-03-21 10:15:09.097480691 +0100
++++ dovecot-2.2.35/src/lib-master/master-service-settings-cache.c~     
2018-03-19 10:30:01.000000000 +0100
+@@ -131,7 +131,7 @@ match_local_name(const char *local_name,
+                       return TRUE;
+               local_name = ptr+1;
+       }
+-      return dns_match_wildcard(filter_local_name, local_name) == 0;
++      return dns_match_wildcard(local_name, filter_local_name) == 0;
+ }
+ 
+ /* Remove any elements which there is no filter for */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dovecot.git/commitdiff/d788add849d69049267717916a13cb472b9738a7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to