[packages/dovecot] Update to 2.3.16; OAUTH2 support

arekm arekm at pld-linux.org
Tue Aug 10 09:32:37 CEST 2021


commit 709b8c4f23f4926eaa2ec3c79d279b579ec26be3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Aug 10 09:32:25 2021 +0200

    Update to 2.3.16; OAUTH2 support

 dovecot.spec |  6 ++++--
 fts.patch    | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/dovecot.spec b/dovecot.spec
index 6d851b8..1ce2cbc 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -12,13 +12,13 @@
 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.3.15
+Version:	2.3.16
 Release:	1
 Epoch:		1
 License:	MIT (libraries), LGPL v2.1 (the rest)
 Group:		Networking/Daemons
 Source0:	http://dovecot.org/releases/2.3/%{name}-%{version}.tar.gz
-# Source0-md5:	82ad748dcff95c22235261953d3390fa
+# Source0-md5:	946dc6a89db0d11d0061f0d4447263dc
 Source1:	%{name}.pamd
 Source2:	%{name}.init
 Source3:	%{name}.sysconfig
@@ -26,6 +26,7 @@ Source4:	%{name}.tmpfiles
 Patch0:		%{name}-config.patch
 Patch1:		%{name}-rpath.patch
 Patch2:		%{name}-shebang.patch
+Patch3:		fts.patch
 URL:		http://dovecot.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -166,6 +167,7 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
 %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/fts.patch b/fts.patch
new file mode 100644
index 0000000..19e87e8
--- /dev/null
+++ b/fts.patch
@@ -0,0 +1,24 @@
+commit 7784e710149c6834f2dab5453726f387597c52ad
+Author: Timo Sirainen <timo.sirainen at open-xchange.com>
+Date:   Mon Aug 9 13:01:12 2021 +0300
+
+    indexer: Fix crash if client disconnects while it's waiting for command reply
+    
+    This happened for example if IMAP SEARCH triggered long fts indexing and the
+    IMAP client disconnected while waiting for the reply.
+    
+    Broken by f62a25849358e40a08a2c47f5bcaa1613a31d076
+
+diff --git a/src/indexer/indexer-client.c b/src/indexer/indexer-client.c
+index c5aac8a3da..ab4710778a 100644
+--- a/src/indexer/indexer-client.c
++++ b/src/indexer/indexer-client.c
+@@ -139,7 +139,7 @@ void indexer_client_status_callback(int percentage, void *context)
+ 	struct indexer_client_request *ctx = context;
+ 
+ 	/* we are in deinit already, or the client has disconnected */
+-	if (ctx->client == NULL)
++	if (ctx->client->conn.output == NULL)
+ 		return;
+ 
+ 	T_BEGIN {
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list