[packages/dovecot] - up to 2.3.7
arekm
arekm at pld-linux.org
Sun Jul 14 15:27:11 CEST 2019
commit 2f455ff1b45ae5509fdd5df5b445762129a1ad18
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Jul 14 15:27:04 2019 +0200
- up to 2.3.7
dovecot-small_fixes.patch | 11 +++++++++++
dovecot.spec | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/dovecot.spec b/dovecot.spec
index 9e4c1ff..b6a47e2 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -12,19 +12,20 @@
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
@@ -162,6 +163,7 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
%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
diff --git a/dovecot-small_fixes.patch b/dovecot-small_fixes.patch
new file mode 100644
index 0000000..5c3cc5d
--- /dev/null
+++ b/dovecot-small_fixes.patch
@@ -0,0 +1,11 @@
+--- 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));
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dovecot.git/commitdiff/2f455ff1b45ae5509fdd5df5b445762129a1ad18
More information about the pld-cvs-commit
mailing list