Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dovecot23 for openSUSE:Factory checked in at 2021-08-18 08:55:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dovecot23 (Old) and /work/SRC/openSUSE:Factory/.dovecot23.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dovecot23" Wed Aug 18 08:55:53 2021 rev:41 rq:912378 version:2.3.16 Changes: -------- --- /work/SRC/openSUSE:Factory/dovecot23/dovecot23.changes 2021-07-07 18:31:19.942589473 +0200 +++ /work/SRC/openSUSE:Factory/.dovecot23.new.1899/dovecot23.changes 2021-08-18 08:56:39.722921984 +0200 @@ -1,0 +2,59 @@ +Tue Aug 10 22:38:15 UTC 2021 - Michael Str??der <mich...@stroeder.com> + +- added back-port fix mail-cache-bigendian.diff +- update to 2.3.16 and pigeonhole to 0.5.16: + + Dovecot 2.3.16 + * Any unexpected exit() will now result in a core dump. This can + especially help notice problems when a Lua script causes exit(0). + * auth-worker process is now restarted when the number of auth + requests reaches service auth-worker { service_count }. The default + is still unlimited. + + Event improvements: Added data_stack_grow event and http-client + category. See https://doc.dovecot.org/admin_manual/list_of_events/ + + oauth2: Support RFC 7628 openid-configuration element. This allows + clients to support OAUTH2 for any server, not just a few hardcoded + servers like they do now. See openid_configuration_url setting in + dovecot-oauth2.conf.ext. + + mysql: Single statements are no longer enclosed with BEGIN/COMMIT. + + dovecot-sysreport --core supports multiple core files now and does + not require specifying the binary path. + + imapc: When imap_acl plugin is loaded and imapc_features=acl is used, + IMAP ACL commands are proxied to the remote server. See + https://doc.dovecot.org/configuration_manual/mail_location/imapc/ + + dict-sql now supports the "UPSERT" syntax for SQLite and PostgreSQL. + + imap: If IMAP client disconnects during a COPY command, the copying + is aborted, and changes are reverted. This may help to avoid many + email duplicates if client disconnects during COPY and retries it + after reconnecting. + - master process was using 100% CPU if service attempted to create more + processes due to process_min_avail, but process_limit was already + reached. v2.3.15 regression. + - Using attachment detection flags wrongly logged unnecessary "Failed + to add attachment keywords" errors. v2.3.13 regression. + - IMAP QRESYNC: Expunging UID 1 mail resulted in broken VANISHED + response, which could have confused IMAP clients. v2.3.13 regression. + - imap: STORE didn't send untagged replies for \Seen changes for + (shared) mailboxes using INDEXPVT. v2.3.10 regression. + - rawlog_dir setting would not log input that was pipelined after + authentication command. + - Fixed potential infinite looping with autoexpunging. + - Log event exporter: Truncate long fields to 1000 bytes + - LAYOUT=index: ACL inheritance didn't work when creating mailboxes + - Event filters: Unquoted '?' wildcard caused a crash at startup + - fs-metawrap: Fix to handling zero sized files + - imap-hibernate: Fixed potential crash at deinit. + - acl: dovecot-acl-list files were written for acl_ignore_namespaces + - program-client (used by Sieve extprograms, director_flush_socket) + may have missed status response from UNIX and network sockets, + resulting in unexpected failures. + + Pigeonhole v0.5.16 + * .dovecot.sieve.log file now includes year in the header. + * Change Sieve script result execution to delay definitive action + execution to the end of a successful Sieve script execution session. + This is part of an effort to solve problems with the Sieve duplicate + test. As a side-effect, some rare temporary-error cases yield + different results, in which partial failure is more likely. + +------------------------------------------------------------------- Old: ---- dovecot-2.3-pigeonhole-0.5.15.tar.gz dovecot-2.3-pigeonhole-0.5.15.tar.gz.sig dovecot-2.3.15.tar.gz dovecot-2.3.15.tar.gz.sig New: ---- dovecot-2.3-pigeonhole-0.5.16.tar.gz dovecot-2.3-pigeonhole-0.5.16.tar.gz.sig dovecot-2.3.16.tar.gz dovecot-2.3.16.tar.gz.sig mail-cache-bigendian.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dovecot23.spec ++++++ --- /var/tmp/diff_new_pack.mvFqe9/_old 2021-08-18 08:56:40.322921279 +0200 +++ /var/tmp/diff_new_pack.mvFqe9/_new 2021-08-18 08:56:40.326921274 +0200 @@ -19,11 +19,11 @@ %global _lto_cflags %{nil} Name: dovecot23 -Version: 2.3.15 +Version: 2.3.16 Release: 0 %define pkg_name dovecot -%define dovecot_version 2.3.15 -%define dovecot_pigeonhole_version 0.5.15 +%define dovecot_version 2.3.16 +%define dovecot_pigeonhole_version 0.5.16 %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 @@ -152,6 +152,7 @@ Source12: dovecot23.keyring Patch: dovecot-2.3.0-dont_use_etc_ssl_certs.patch Patch1: dovecot-2.3.0-better_ssl_defaults.patch +Patch2: mail-cache-bigendian.diff 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 ++++++ dovecot-2.3-pigeonhole-0.5.15.tar.gz -> dovecot-2.3-pigeonhole-0.5.16.tar.gz ++++++ ++++ 6972 lines of diff (skipped) ++++++ dovecot-2.3-pigeonhole-0.5.15.tar.gz -> dovecot-2.3.16.tar.gz ++++++ /work/SRC/openSUSE:Factory/dovecot23/dovecot-2.3-pigeonhole-0.5.15.tar.gz /work/SRC/openSUSE:Factory/.dovecot23.new.1899/dovecot-2.3.16.tar.gz differ: char 5, line 1 ++++++ mail-cache-bigendian.diff ++++++ commit ec4595097067a736717ef202fe8542b1b4bc2dd5 Author: Timo Sirainen <timo.sirai...@open-xchange.com> Date: Tue Aug 10 12:22:08 2021 +0300 lib-index: Fix storing cache fields' last_used with 64bit big endian CPUs diff --git a/src/lib-index/mail-cache-fields.c b/src/lib-index/mail-cache-fields.c index e929fb559d..429e0d234c 100644 --- a/src/lib-index/mail-cache-fields.c +++ b/src/lib-index/mail-cache-fields.c @@ -524,6 +524,19 @@ static void copy_to_buf_byte(struct mail_cache *cache, buffer_t *dest, } } +static void +copy_to_buf_last_used(struct mail_cache *cache, buffer_t *dest, bool add_new) +{ + size_t offset = offsetof(struct mail_cache_field, last_used); +#if defined(WORDS_BIGENDIAN) && SIZEOF_VOID_P == 8 + /* 64bit time_t with big endian CPUs: copy the last 32 bits instead of + the first 32 bits (that are always 0). The 32 bits are enough until + year 2106, so we're not in a hurry to use 64 bits on disk. */ + offset += sizeof(uint32_t); +#endif + copy_to_buf(cache, dest, add_new, offset, sizeof(uint32_t)); +} + static int mail_cache_header_fields_update_locked(struct mail_cache *cache) { buffer_t *buffer; @@ -536,9 +549,7 @@ static int mail_cache_header_fields_update_locked(struct mail_cache *cache) buffer = t_buffer_create(256); - copy_to_buf(cache, buffer, FALSE, - offsetof(struct mail_cache_field, last_used), - sizeof(uint32_t)); + copy_to_buf_last_used(cache, buffer, FALSE); ret = mail_cache_write(cache, buffer->data, buffer->used, offset + MAIL_CACHE_FIELD_LAST_USED()); if (ret == 0) { @@ -599,9 +610,7 @@ void mail_cache_header_fields_get(struct mail_cache *cache, buffer_t *dest) buffer_append(dest, &hdr, sizeof(hdr)); /* we have to keep the field order for the existing fields. */ - copy_to_buf(cache, dest, TRUE, - offsetof(struct mail_cache_field, last_used), - sizeof(uint32_t)); + copy_to_buf_last_used(cache, dest, TRUE); copy_to_buf(cache, dest, TRUE, offsetof(struct mail_cache_field, field_size), sizeof(uint32_t));