]> git.pld-linux.org Git - packages/dovecot.git/commitdiff
- rel 2; fix crypt segfaults on glibc 2.28 auto/th/dovecot-2.3.2.1-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 10 Aug 2018 10:35:23 +0000 (12:35 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 10 Aug 2018 10:35:23 +0000 (12:35 +0200)
crypt.patch [new file with mode: 0644]
dovecot.spec

diff --git a/crypt.patch b/crypt.patch
new file mode 100644 (file)
index 0000000..3e17cb9
--- /dev/null
@@ -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"
index 79e150075c17656c0b56affb38d9d05246d65a19..b8d3969cff5f1a7f74406982aeff022970e60ac6 100644 (file)
@@ -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
 
This page took 0.138041 seconds and 4 git commands to generate.