--- /dev/null
+--- src/lib/ostream-file.c.orig 2019-07-12 19:18:41 UTC
++++ src/lib/ostream-file.c
+@@ -334,7 +334,7 @@ static void o_stream_tcp_flush_via_nodelay(struct file
+ {
+ if (net_set_tcp_nodelay(fstream->fd, TRUE) < 0) {
+ if (errno != ENOTSUP && errno != ENOTSOCK &&
+- errno != ENOPROTOOPT) {
++ errno != ENOPROTOOPT && errno != EINVAL) {
+ i_error("file_ostream.net_set_tcp_nodelay(%s, TRUE) failed: %m",
+ o_stream_get_name(&fstream->ostream.ostream));
+ }
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.6
+Version: 2.3.7
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: 437c961998e2e825d22288b7601b7c18
+# Source0-md5: fe290112b12e95363c2ffc8d043a40a4
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}.sysconfig
Source4: %{name}.tmpfiles
Patch0: %{name}-config.patch
Patch1: %{name}-rpath.patch
+Patch2: dovecot-small_fixes.patch
URL: http://dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p0
%{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf