[packages/dovecot] - rel 2; fix crypt segfaults on glibc 2.28

arekm arekm at pld-linux.org
Fri Aug 10 12:35:32 CEST 2018


commit 873b8c347160fa707617919cd75ea2f4c5546377
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 10 12:35:23 2018 +0200

    - rel 2; fix crypt segfaults on glibc 2.28

 crypt.patch  | 10 ++++++++++
 dovecot.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/dovecot.spec b/dovecot.spec
index 79e1500..b8d3969 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.3.2.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	MIT (libraries), LGPL v2.1 (the rest)
 Group:		Networking/Daemons
@@ -24,6 +24,7 @@ Source3:	%{name}.sysconfig
 Source4:	%{name}.tmpfiles
 Patch0:		%{name}-config.patch
 Patch1:		%{name}-rpath.patch
+Patch2:		crypt.patch
 URL:		http://dovecot.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -160,6 +161,7 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf
 
diff --git a/crypt.patch b/crypt.patch
new file mode 100644
index 0000000..3e17cb9
--- /dev/null
+++ b/crypt.patch
@@ -0,0 +1,10 @@
+--- dovecot-2.3.2.1/src/auth/mycrypt.c~	2018-04-30 15:52:04.000000000 +0200
++++ dovecot-2.3.2.1/src/auth/mycrypt.c	2018-08-10 12:30:04.828556600 +0200
+@@ -14,6 +14,7 @@
+ #  define _XPG6 /* Some Solaris versions require this, some break with this */
+ #endif
+ #include <unistd.h>
++#include <crypt.h>
+ 
+ #include "mycrypt.h"
+ 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list