Accepting request 653727 from server:mail

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/653727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dovecot23?expand=0&rev=12
This commit is contained in:
2018-12-04 19:57:36 +00:00
committed by Git OBS Bridge
11 changed files with 196 additions and 37 deletions

102
10048229...de42b54a.patch Normal file
View File

@@ -0,0 +1,102 @@
From 10048229ed3030fe47b35a2200e33c45e3e97a84 Mon Sep 17 00:00:00 2001
From: Aki Tuomi <aki.tuomi@dovecot.fi>
Date: Fri, 23 Nov 2018 15:33:20 +0200
Subject: [PATCH 1/2] lib-master: test-event-stats - Include signal.h
Forgotten in e16ba6f
---
src/lib-master/test-event-stats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c
index 41d6f01e76..8fcb3dd22d 100644
--- a/src/lib-master/test-event-stats.c
+++ b/src/lib-master/test-event-stats.c
@@ -13,6 +13,7 @@
#include "test-common.h"
#include <fcntl.h>
#include <unistd.h>
+#include <signal.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/wait.h>
From de42b54aaf165d4f62b45be864dde36bdbbc4276 Mon Sep 17 00:00:00 2001
From: Aki Tuomi <aki.tuomi@dovecot.fi>
Date: Fri, 23 Nov 2018 15:34:51 +0200
Subject: [PATCH 2/2] lib-master: test-event-stats - Use PRIu64 format
Forgotten in e16ba6f
---
src/lib-master/test-event-stats.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c
index 8fcb3dd22d..2d8a13cd40 100644
--- a/src/lib-master/test-event-stats.c
+++ b/src/lib-master/test-event-stats.c
@@ -344,7 +344,7 @@ static void test_no_merging2(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "EVENT %lu 1 0 0"
+ "EVENT %"PRIu64" 1 0 0"
" stest-event-stats.c %d"
" l0 0 ctest2\n", id, l));
test_end();
@@ -370,12 +370,12 @@ static void test_no_merging3(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 1 0"
+ "EVENT %"PRIu64" 1 1 0"
" stest-event-stats.c %d"
" l1 0 ctest2\n"
- "END\t%lu\n", idp, lp, idp, l, idp));
+ "END\t%"PRIu64"\n", idp, lp, idp, l, idp));
test_end();
}
@@ -435,7 +435,7 @@ static void test_merge_events2(void)
event_unref(&merge_ev2);
test_assert(
compare_test_stats_to(
- "EVENT %lu 1 0 0"
+ "EVENT %"PRIu64" 1 0 0"
" stest-event-stats.c %d l0 0"
" ctest3 ctest2 ctest1 Tkey3"
" 10 0 Ikey2 20"
@@ -467,11 +467,11 @@ static void test_skip_parents(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 3 0 "
+ "EVENT %"PRIu64" 1 3 0 "
"stest-event-stats.c %d l3 0"
- " ctest2\nEND\t%lu\n", id, lp, id, l, id));
+ " ctest2\nEND\t%"PRIu64"\n", id, lp, id, l, id));
test_end();
}
@@ -509,12 +509,12 @@ static void test_merge_events_skip_parents(void)
event_unref(&child2_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 3 0 "
+ "EVENT %"PRIu64" 1 3 0 "
"stest-event-stats.c %d l3 0 "
"ctest4 ctest5 Tkey3 10 0 Skey4"
- " str4\nEND\t%lu\n", id, lp, id, l, id));
+ " str4\nEND\t%"PRIu64"\n", id, lp, id, l, id));
test_end();
}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e02f2741c05f9e2af1c5f46da35efb74997f9d4b941ba68936206d310ddf2622
size 1827329

View File

@@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJbsp3qAAoJEATWKx49+7T0dBgH/2e9ovTEUf64tGNuwoVznw3V
Lbl2TgZc/lE+5NDa7xyK7YqUqWrHDf84qFxjHFzh/OPY8HEWlrZu52ardW5tgPZk
equGr7K7Kn/5zer6Y2uG0fy6J83Ew1L6MQUgfL7+IvJ0unCua51FijzHUaVFYUlH
ABR4iq9nZbin7gkZhAw6UxMUN65O5KxAY+POh/mNJE6ldx6syeALPQPue5UWv4nc
XcXcG1Bo8n4VG+JisLQ2CxJwj3R/6eC6HMOOH4sL0lvozHLt+JcX8htd/RWPJqVp
gP/qfGlpi7RINRFxKbOaRbZEVTFuEX/3CMR+0puyrs/E1sjSYWFVdhrJcIPhj0U=
=YK5y
-----END PGP SIGNATURE-----

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:547999e67a001abc5e654c7e35653d3fe057fa9a47a24257e39a79c41ef08516
size 1831570

View File

@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEQvPNUNTyWkGDO+43BNYrHj37tPQFAlv3870ACgkQBNYrHj37
tPQJJwf/QCT3BVbiVC4kUvZWmMoMT8DXt27NNihyQ1slHg3JA5UNR++jK93DBR7u
vqd2yuhQDPYWlWjwphc4auVNMGh5aIfLahzu4qQeopyHZ0Eo2jAvf27vHCXY0oqG
o9hO/RmreafsetwU2qhzbTcyVIZsitxwuUWdlhuYrHxR62VZdZ4ZGXGY5QA/+cGT
UlLTP8izdKaxYyyweMqjr2/PP+rGT37b2coi4DZSbvETZMSewlb48iI7ETWBkFbU
daULRdmaDrOEZi864tdzhfqyXGxFw39wZEI8Xi1tn6kAi+EF3UPVAPwJF/d3iWdX
Vhzm3YtNc8v2R7N/CLSKdRe2w1Cxeg==
=JNE+
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15af27ee25258afb4ad9581f8df681be998b763597086bbae54ca7d77a066d8e
size 6851107

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJLBAABCAA1FiEEK+dKqz7nVN+5yA0zGKNIru1AnaEFAluyRxEXHGRvdmVjb3Qt
Y2VAZG92ZWNvdC5vcmcACgkQGKNIru1AnaFrOA//TyyA9WlPkEYtVRZ2Qc2er7dP
U2apfuNas9mWqMwOZuKLIEe8Tsqxlb5P2EJW928hKsWzzLnjn+ipm7IlOSR/T1I6
AM6FyDjG1jrh0ky1TbXnZqnDQqovPvBM75jl5An6n9LmRI2EgmE6Sg0k7y9PavsH
s+vadgiGDY4wyMrKE+wvmbqO1WJXCzTJ2/vdwRnFEDWHmxrmkc+qJs7X5h/oB+4O
b/mG5vaE1RCBYmtIkJxwe7hhICGl/kCvDSVUYpmD44Q9lgF0vIvo38FNTwZ7rwjV
FiXRORSltbNHH0/JasKEVnPvY0/ayRCknzAtb6Usf8xAGCQ07kHTku4Cq5g1UmYz
E7QuQwn7O0EkRAon8Mj4I3RUy0oTUFn63cYUVLGYANoL5k3v+g+EGZVsAEXvRSVg
weIiam5+NfUJqe4WjVZAZ7CAGVpxtqiYXOiiogDOyiVj1d59CV9lWLi4cemMeZUR
c1tto5/VAwEdhoVWA9v31nQVEfWsWJPuejBq9uCx4q1U2K7lCaQabsAkB/yLwBLq
+zbwVrhW9mT5oDjLwnXUfwmdgy3q7xeqOb9I9g/dIbCaC4sY5yf68wIGz7bvO0qe
QyTgNmU+WCkdkMAxHhm+ZgiNC1nIjveodvLnsrkxucmpUcfdodUm+6001CRyjlwJ
aLFCQjeQUzprOkM35HU=
=K81s
-----END PGP SIGNATURE-----

3
dovecot-2.3.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d91b76eff8df6185c1799f1b279f780105bdeeea27e3286b42f4cab18efbef05
size 6924178

17
dovecot-2.3.4.tar.gz.sig Normal file
View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJLBAABCAA1FiEEK+dKqz7nVN+5yA0zGKNIru1AnaEFAlv3480XHGRvdmVjb3Qt
Y2VAZG92ZWNvdC5vcmcACgkQGKNIru1AnaF1mg//SA1Wstc+qX+LT+EzE1wqQuQR
3aZPQI0e0T9DNggsDVifXtFUfbFBUhKX5r/dJxletbkZG5ymqHxdNMA43dLhiuAl
wx0lXqEqanzyH+yDBC+dCXpfjw3ldu359edlFpwiGc1B+UfsxLBON6Kseh3W3/us
0bkcDaFYmuhtPmKj3LdRWrURC5GJcDHaL639SfqL5A2J57Ah1OIh0YxWntImoYU7
0eT6sGD5x/9HIkWtkZoGkn+Gm0hRXVPkeOQ2SmizqWiU4nxr9FCZdvb8rhCGeEVt
0WZJANbpsKdKSXpxP7bdV+ivpUD6CorTT4apBhZSf049ZiuIueaxrWU1zaem2t1P
cP1MGq+liZz0ZH+GPJtnAx45Gzx1SG1rBdQmBUOLnu1/v5S+NMsG+Wc0cdXMmxAF
e7yCeRxeAvzbaKmvkVAESlonvCoh8bLdzE0XqibCRcWgGTCs1iVs3yQBSrDxii5x
6KYiLe+r1YHH6cbMKC+ddPpuY1ybIXNo5kdLmCnUt2qOJQt2NDDH3FVHLeQFluTM
q7ORNhmwNHlIeR01jBDvwrr1FIKPxYNTcigGQrVFQh3eLToYayXcnuFG3PgZwoI0
zmTex70vEVrr1Ru8K9NTbsQKLu13CjGGVhenBQDj4C06P/fPLnXDYBkdVIkflQYA
XFEAHqhpTKi0b5n0mQQ=
=JHB0
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Sun Nov 25 00:17:08 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
- added 10048229...de42b54a.patch:
Fix build failures on TW i586
-------------------------------------------------------------------
Sat Nov 24 00:27:59 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.3.4
* The default postmaster_address is now "postmaster@<user domain
or server hostname>". If username contains the @domain part,
that's used. If not, then the server's hostname is used.
* "doveadm stats dump" now returns two decimals for the "avg"
field.
+ Added push notification driver that uses a Lua script
+ Added new SQL, DNS and connection events.
See https://wiki2.dovecot.org/Events
+ Added "doveadm mailbox cache purge" command.
+ Added events API support for Lua scripts
+ doveadm force-resync -f parameter performs "index fsck" while
opening the index. This may be useful to fix some types of
broken index files. This may become the default behavior in a
later version.
- director: Kicking a user crashes if login process is very slow
- pop3_no_flag_updates=no: Don't expunge DELEted and RETRed
messages unless QUIT is sent.
- auth: Fix crypt() segfault with glibc-2.28+
- imap: Running UID FILTER script with errors assert-crashes
- dsync, pop3-migration: POP3 UIDLs weren't added to
dovecot.index.cache while mails were saved.
- dict clients may have been using 100% CPU while waiting for
dict server to finish commands.
- doveadm user: Fixed user listing via HTTP API
- All levels of Cassandra log messages were logged as Dovecot
errors.
- http/smtp client may have crashed after SSL handshake
- Lua auth converted strings that looked like numbers into
numbers.
- update pigeonhole to 0.5.4
* Adjustments to several changes in Dovecot v2.3.4 make this
Pigeonhole release dependent on that Dovecot release; it will
not compile against older Dovecot versions. And, conversely,
you need to upgrade Pigeonhole when upgrading Dovecot to
v2.3.4.
* The changes regarding the default postmaster_address in Dovecot
v2.3.4 mainly apply to Pigeonhole. The new default should work
for all existing installations, thereby fixing several reported
v2.3/v0.5 migration problems.
- IMAP FILTER=SIEVE capability: Fix assert crash occurring when running
UID FILTER on a Sieve script with errors.
-------------------------------------------------------------------
Mon Oct 1 22:55:38 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -17,11 +17,11 @@
Name: dovecot23
Version: 2.3.3
Version: 2.3.4
Release: 0
%define pkg_name dovecot
%define dovecot_version 2.3.3
%define dovecot_pigeonhole_version 0.5.3
%define dovecot_version 2.3.4
%define dovecot_pigeonhole_version 0.5.4
%define dovecot_branch 2.3
%define dovecot_pigeonhole_source_dir %{pkg_name}-%{dovecot_branch}-pigeonhole-%{dovecot_pigeonhole_version}
%define dovecot_pigeonhole_docdir %{_docdir}/%{pkg_name}/dovecot-pigeonhole
@@ -136,6 +136,7 @@ Source11: http://pigeonhole.dovecot.org/releases/%{dovecot_branch}/%{dovec
Source12: dovecot23.keyring
Patch: dovecot-2.3.0-dont_use_etc_ssl_certs.patch
Patch1: dovecot-2.3.0-better_ssl_defaults.patch
Patch2: 10048229...de42b54a.patch
Summary: IMAP and POP3 Server Written Primarily with Security in Mind
License: BSD-3-Clause AND LGPL-2.1-or-later AND MIT
Group: Productivity/Networking/Email/Servers
@@ -315,6 +316,7 @@ dovecot tree.
%setup -q -n %{pkg_name}-%{dovecot_version} -a 1
%patch -p1
%patch1 -p1
%patch2 -p1
gzip -9v ChangeLog
# Fix plugins dir.
sed -i 's|#mail_plugin_dir = /usr/lib/dovecot|mail_plugin_dir = %{_libdir}/dovecot/modules|' doc/example-config/conf.d/10-mail.conf
@@ -593,6 +595,7 @@ fi
%{_libdir}/%{pkg_name}/modules/lib05_pop3_migration_plugin.so
%{_libdir}/%{pkg_name}/modules/lib05_snarf_plugin.so
%{_libdir}/%{pkg_name}/modules/lib10_last_login_plugin.so
%{_libdir}/%{pkg_name}/modules/lib01_mail_lua_plugin.so
%{_libdir}/%{pkg_name}/modules/lib10_mail_crypt_plugin.so
%{_libdir}/%{pkg_name}/modules/lib10_mail_filter_plugin.so
%{_libdir}/%{pkg_name}/modules/lib10_quota_plugin.so
@@ -611,6 +614,7 @@ fi
%{_libdir}/%{pkg_name}/modules/lib20_quota_clone_plugin.so
%{_libdir}/%{pkg_name}/modules/lib20_replication_plugin.so
%{_libdir}/%{pkg_name}/modules/lib20_virtual_plugin.so
%{_libdir}/%{pkg_name}/modules/lib22_push_notification_lua_plugin.so
%{_libdir}/%{pkg_name}/modules/lib30_imap_zlib_plugin.so
%{_libdir}/%{pkg_name}/modules/lib02_imap_acl_plugin.so
%{_libdir}/%{pkg_name}/modules/lib11_imap_quota_plugin.so
@@ -624,6 +628,7 @@ fi
%{_libdir}/%{pkg_name}/modules/libfs_crypt.so
%{_libdir}/%{pkg_name}/modules/libfs_mail_crypt.so
%{_libdir}/%{pkg_name}/modules/libssl_iostream_openssl.so
#
%dir %{_libdir}/%{pkg_name}/modules/auth/
%{_libdir}/%{pkg_name}/modules/auth/libauthdb_imap.so