Hello community, here is the log from the commit of package dovecot22 for openSUSE:Factory checked in at 2015-12-23 08:50:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dovecot22 (Old) and /work/SRC/openSUSE:Factory/.dovecot22.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dovecot22" Changes: -------- --- /work/SRC/openSUSE:Factory/dovecot22/dovecot22.changes 2015-10-20 00:04:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dovecot22.new/dovecot22.changes 2015-12-23 08:50:08.000000000 +0100 @@ -1,0 +2,109 @@ +Mon Dec 14 02:33:36 UTC 2015 - [email protected] + +- move stopword files from the lucene package to the main FTS + package + +------------------------------------------------------------------- +Mon Dec 14 02:09:18 UTC 2015 - [email protected] + +- update pigeonhole to 0.4.10 + - Renamed pigeonhole.m4 to dovecot-pigeonhole.m4 + +------------------------------------------------------------------- +Mon Dec 14 02:00:13 UTC 2015 - [email protected] + +- pulled 2 patches from upstream: + 3a719a01a1790df053854d5245ace5ab6d0c3d13.patch + 6971937a6f3e93844dbd43bdbe903628e21a9422.patch + +------------------------------------------------------------------- +Sat Dec 12 04:32:51 UTC 2015 - [email protected] + +- for more consistent build behavior enable clucene support only on + distros newer than SLE 11 + +------------------------------------------------------------------- +Sat Dec 12 02:26:51 UTC 2015 - [email protected] + +- update to 2.2.21 + - doveadm mailbox list (and some others) were broken in v2.2.20 + - director: Fixed making backend changes when running with only a + single director server. + - virtual plugin: Fixed crash when trying to open nonexistent + autocreated backend mailbox. + +------------------------------------------------------------------- +Tue Dec 8 11:04:53 UTC 2015 - [email protected] + +- update to 2.2.20 + + Added mailbox { autoexpunge=<time> } setting. See + http://wiki2.dovecot.org/MailboxSettings for details. + + ssl_options: Added support for no_ticket + + imap/pop3/managesieve-login: Added postlogin_socket=path passdb + extra field. This allows replacing the default service + imap/pop3/managesieve {} settings for specific users (e.g. + running their imap process via valgrind or strace). + + doveadm fetch: Added date.sent/received/saved.unixtime + + fs-posix: Added mode=auto parameter to set the created files' + and directories' mode based on the parent dir if it has + setgid-bit. + + director: Support backends having hostnames, which makes it + possible to verify their SSL certificates. + - director: Directors' state became desynchronized if doveadm + director commands were used to modify the same backend in + multiple directors at the same time with conflicting changes. + This fix includes some extra checks, which makes sure that if + such a conflict still happens it's automatically fixed. In some + situations such an automatic fix may now be unnecessarily + triggered and an error logged. + - director: Backend tags weren't working correctly. + - ldap: tls_* settings weren't used for ldaps URIs. + - ldap, mysql: Fixed setting connect timeout. + - auth: userdb lookups via auth-worker couldn't change username + - dsync: Fixed handling deleted directories. Make sure we don't + go to infinite mailbox renaming loop. + - imap: Fixed crash in NOTIFY when there were watched namespaces + that didn't support NOTIFY. + - imap: After SETMETADATA was used, various commands (especially + FETCH) could have started hanging when their output was large. + - stats: Idle sessions weren't refreshed often enough, causing + stats process to forget them and log errors about unknown + sessions when they were updated later. + - stats: Fixed "Duplicate session ID" errors when LMTP delivered + to multiple recipients and fts_autoindex=yes. + - zlib plugin: Fixed copying causing cache corruption when + zlib_save wasn't set, but the source message was compressed. + - fts-solr: Fixed escaping Solr query parameters. + - lmtp: quota_full_tempfail=yes was ignored with + lmtp_rcpt_check_quota=yes +- update pigeonhole to 0.4.10.rc2 + + Implemented the Sieve mime and foreverypart extensions + (RFC 5703). These are fully implemented. The interaction with + the editheader extension needs some work, but this should not + influence most uses; i.e., changes by the editheader extension + are not always visible using foreverypart/mime. + + Sieve body extension: Properly implemented the `:text' body + transform. It now extracts text for HTML message parts. + + Sieve enotify extension: mailto method: Implemented the + sieve_notify_mailto_envelope_from setting. This allows + configuring the source of the notification sender address for + e-mail notifications. This is similar to what already can be + configured for redirect. + + Added a sieve_enabled (defaults to 'yes') setting that allows + explicitly disabling Sieve processing for particular users. + This used to be possible by setting `sieve=', but ever since + the sieve_before, sieve_after and sieve_default settings were + added, this method was not reliable anymore. + - variables extension: Fixed handling of empty string by the + `:length' set modifier. An empty string yielded an empty string + rather than "0". + - Fixed memory leak in the Sieve script byte code dumping + facility. Extension contexts were never actually freed. + - Fixed handling of implicit keep when the last Sieve script is a + global one. In that case the implicit keep action was executed + in global context, which could mean that trivial (quota) errors + ended up in the system log file, rather than the user log file. + - doveadm sieve plugin: Fixed crashes caused by incorrect context + allocation in the sieve command implementations. + +------------------------------------------------------------------- Old: ---- dovecot-2.2-pigeonhole-0.4.9.tar.gz dovecot-2.2.19.tar.gz New: ---- 3a719a01a1790df053854d5245ace5ab6d0c3d13.patch 6971937a6f3e93844dbd43bdbe903628e21a9422.patch dovecot-2.2-pigeonhole-0.4.10.tar.gz dovecot-2.2.21.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dovecot22.spec ++++++ --- /var/tmp/diff_new_pack.XIsY5t/_old 2015-12-23 08:50:10.000000000 +0100 +++ /var/tmp/diff_new_pack.XIsY5t/_new 2015-12-23 08:50:10.000000000 +0100 @@ -17,11 +17,11 @@ Name: dovecot22 -Version: 2.2.19 +Version: 2.2.21 Release: 0 %define pkg_name dovecot -%define dovecot_version 2.2.19 -%define dovecot_pigeonhole_version 0.4.9 +%define dovecot_version 2.2.21 +%define dovecot_pigeonhole_version 0.4.10 %define dovecot_branch 2.2 %define dovecot_pigeonhole_source_dir %{pkg_name}-%{dovecot_branch}-pigeonhole-%{dovecot_pigeonhole_version} %define dovecot_pigeonhole_docdir %{_docdir}/%{pkg_name}/dovecot-pigeonhole @@ -35,14 +35,11 @@ %endif %bcond_without solr %if 0%{?suse_version} > 1110 -%bcond_without icu -%else -%bcond_with icu -%endif -%if 0%{?suse_version} >= 1110 %bcond_without clucene +%bcond_without icu %else %bcond_with clucene +%bcond_with icu %endif %bcond_without sqlite %if 0%{?suse_version} >= 1110 @@ -119,7 +116,7 @@ Recommends: %{name}-fts = %{version} Recommends: %{name}-fts-squat = %{version} Url: http://www.dovecot.org -Source: http://www.dovecot.org/releases/%{dovecot_branch}/%{pkg_name}-%{version}.tar.gz +Source: http://www.dovecot.org/releases/%{dovecot_branch}/%{pkg_name}-%{dovecot_version}.tar.gz Source1: http://pigeonhole.dovecot.org/releases/%{dovecot_branch}/%{dovecot_pigeonhole_source_dir}.tar.gz Source2: dovecot-rpmlintrc Source3: dovecot-2.0.configfiles @@ -129,6 +126,8 @@ Source7: dovecot-2.2-pigeonhole.configfiles Patch: dovecot-2.2.18-dont_use_etc_ssl_certs.patch Patch1: dovecot-2.2.18-better_ssl_defaults.patch +Patch2: 3a719a01a1790df053854d5245ace5ab6d0c3d13.patch +Patch3: 6971937a6f3e93844dbd43bdbe903628e21a9422.patch Summary: IMAP and POP3 Server Written Primarily with Security in Mind License: BSD-3-Clause and LGPL-2.1+ and MIT Group: Productivity/Networking/Email/Servers @@ -308,6 +307,8 @@ %setup -q -n %{pkg_name}-%{dovecot_version} -a 1 %patch -p1 %patch1 -p1 +%patch2 -p1 +%patch3 -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 @@ -637,6 +638,7 @@ %defattr(-,root,root,-) %{_libdir}/%{pkg_name}/modules/doveadm/lib20_doveadm_fts_plugin.so %{_libdir}/%{pkg_name}/modules/lib20_fts_plugin.so +%{_datadir}/%{pkg_name}/stopwords/ %files fts-squat %defattr(-,root,root,-) @@ -667,7 +669,6 @@ %defattr(-,root,root,-) %{_libdir}/%{pkg_name}/modules/lib21_fts_lucene_plugin.so %{_libdir}/%{pkg_name}/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so -%{_datadir}/%{pkg_name}/stopwords/ %endif %if %{with solr} @@ -680,6 +681,7 @@ %files devel %defattr(-,root,root,-) %{_datadir}/aclocal/%{pkg_name}.m4 +%{_datadir}/aclocal/dovecot-pigeonhole.m4 %{_includedir}/%{pkg_name}/ %{_libdir}/%{pkg_name}/dovecot-config %{_libdir}/%{pkg_name}/libdovecot.so ++++++ 3a719a01a1790df053854d5245ace5ab6d0c3d13.patch ++++++ >From 3a719a01a1790df053854d5245ace5ab6d0c3d13 Mon Sep 17 00:00:00 2001 From: Timo Sirainen <[email protected]> Date: Sun, 13 Dec 2015 12:33:20 +0200 Subject: [PATCH] stats: Avoid assert-crash with dsync. dsync creates two mail_users and they're deinited at the same time. stats_global_user isn't set after the first one is deinited, so the next deinit crashed because it wasn't set. Fixes: Panic: file stats-plugin.c: line 324 (stats_user_deinit): assertion failed: (stats_global_user == user) --- src/plugins/stats/stats-plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/stats/stats-plugin.c b/src/plugins/stats/stats-plugin.c index 3389f69..03224f8 100644 --- a/src/plugins/stats/stats-plugin.c +++ b/src/plugins/stats/stats-plugin.c @@ -319,13 +319,13 @@ static void stats_user_deinit(struct mail_user *user) struct stats_connection *stats_conn = suser->stats_conn; i_assert(stats_user_count > 0); - if (--stats_user_count == 0) { + + stats_user_count--; + if (stats_global_user != NULL) { /* we were updating the session lazily. do one final update. */ i_assert(stats_global_user == user); stats_add_session(user); stats_global_user = NULL; - } else { - i_assert(stats_global_user == NULL); } io_loop_context_remove_callbacks(suser->ioloop_ctx, ++++++ 6971937a6f3e93844dbd43bdbe903628e21a9422.patch ++++++ >From 6971937a6f3e93844dbd43bdbe903628e21a9422 Mon Sep 17 00:00:00 2001 From: Timo Sirainen <[email protected]> Date: Sun, 13 Dec 2015 21:25:32 +0200 Subject: [PATCH] doveadm expunge: Using "all" parameter didn't work. --- src/doveadm/doveadm-mail-expunge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doveadm/doveadm-mail-expunge.c b/src/doveadm/doveadm-mail-expunge.c index 4d8edd0..6423363 100644 --- a/src/doveadm/doveadm-mail-expunge.c +++ b/src/doveadm/doveadm-mail-expunge.c @@ -224,7 +224,6 @@ cmd_expunge_run(struct doveadm_mail_cmd_context *ctx, struct mail_user *user) void expunge_search_args_check(struct mail_search_args *args, const char *cmd) { - mail_search_args_simplify(args); if (!expunge_search_args_is_mailbox_ok(args->args)) { i_fatal_status(EX_USAGE, "%s: To avoid accidents, search query " @@ -236,6 +235,7 @@ void expunge_search_args_check(struct mail_search_args *args, const char *cmd) "must contain something else besides MAILBOX " "(e.g. just add \"all\" if you want everything)", cmd); } + mail_search_args_simplify(args); } static void cmd_expunge_init(struct doveadm_mail_cmd_context *ctx, ++++++ dovecot-2.2-pigeonhole-0.4.9.tar.gz -> dovecot-2.2-pigeonhole-0.4.10.tar.gz ++++++ ++++ 9396 lines of diff (skipped) ++++++ dovecot-2.2-pigeonhole-0.4.9.tar.gz -> dovecot-2.2.21.tar.gz ++++++ ++++ 866297 lines of diff (skipped)
