git: a3215f1b9de5 - main - mail/dovecot, mail/dovecot-pigeonhole: Upgrade to 2.3.19, 0.5.19

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Tue, 10 May 2022 22:31:40 UTC
The branch main has been updated by ler:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3215f1b9de56309d8018d5388aba3787e4f1ab3

commit a3215f1b9de56309d8018d5388aba3787e4f1ab3
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2022-05-10 22:27:15 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2022-05-10 22:31:21 +0000

    mail/dovecot, mail/dovecot-pigeonhole: Upgrade to 2.3.19, 0.5.19
    
    Dovecot Changelog:
    + Added mail_user_session_finished event, which is emitted when the mail
      user session is finished (e.g. imap, pop3, lmtp). It also includes
      fields with some process statistics information.
      See https://doc.dovecot.org/admin_manual/list_of_events/ for more
      information.
    + Added process_shutdown_filter setting. When an event matches the filter,
      the process will be shutdown after the current connection(s) have
      finished. This is intended to reduce memory usage of long-running imap
      processes that keep a lot of memory allocated instead of freeing it to
      the OS.
    + auth: Add cache hit indicator to auth passdb/userdb finished events.
      See https://doc.dovecot.org/admin_manual/list_of_events/ for more
      information.
    + doveadm deduplicate: Performance is improved significantly.
    + imapc: COPY commands were sent one mail at a time to the remote IMAP
      server. Now the copying is buffered, so multiple mails can be copied
      with a single COPY command.
    + lib-lua: Add a Lua interface to Dovecot's HTTP client library. See
      https://doc.dovecot.org/admin_manual/lua/ for more information.
    - auth: Cache lookup would use incorrect cache key after username change.
    - auth: Improve handling unexpected LDAP connection errors/hangs.
      Try to fix up these cases by reconnecting to the LDAP server and
      aborting LDAP requests earlier.
    - auth: Process crashed if userdb iteration was attempted while auth-workers
      were already full handling auth requests.
    - auth: db-oauth2: Using %{oauth2:name} variables caused unnecessary
      introspection requests.
    - dict: Timeouts may have been leaked at deinit.
    - director: Ring may have become unstable if a backend's tag was changed.
      It could also have caused director process to crash.
    - doveadm kick: Numeric parameter was treated as IP address.
    - doveadm: Proxying can panic when flushing print output. Fixes
      Panic: file ioloop.c: line 865 (io_loop_destroy): assertion failed:
      (ioloop == current_ioloop).
    - doveadm sync: BROKENCHAR was wrongly changed to '_' character when
      migrating mailboxes. This was set by default to %, so any mailbox
      names containing % characters were modified to "_25".
    - imapc: Copying or moving mails with doveadm to an imapc mailbox could
      have produced "Error: Syncing mailbox '[...]' failed" Errors. The
      operation itself succeeded but attempting to sync the destination
      mailbox failed.
    - imapc: Prevent index log synchronization errors when two or more imapc
      sessions are adding messages to the same mailbox index files, i.e.
      INDEX=MEMORY is not used.
    - indexer: Process was slowly leaking memory for each indexing request.
    - lib-fts: fts header filters caused binary content to be sent to the
      indexer with non-default configuration.
    - doveadm-server: Process could hang in some situations when printing
      output to TCP client, e.g. when printing doveadm sync state.
    - lib-index: dovecot.index.log files were often read and parsed entirely,
      rather than only the parts that were actually necessary. This mainly
      increased CPU usage.
    - lmtp-proxy: Session ID forwarding would cause same session IDs being
      used when delivering same mail to multiple backends.
    - log: Log prefix update may have been lost if log process was busy.
      This could have caused log prefixes to be empty or in some cases
      reused between sessions, i.e. log lines could have been logged for the
      wrong user/session.
    - mail_crypt: Plugin crashes if it's loaded only for some users. Fixes
      Panic: Module context mail_crypt_user_module missing.
    - mail_crypt: When LMTP was delivering mails to both recipients with mail
      encryption enabled and not enabled, the non-encrypted recipients may
      have gotten mails encrypted anyway. This happened when the first
      recipient was encrypted (mail_crypt_save_version=2) and the 2nd
      recipient was not encrypted (mail_crypt_save_version=0).
    - pop3: Session would crash if empty line was sent.
    - stats: HTTP server leaked memory.
    - submission-login: Long credentials, such as OAUTH2 tokens, were refused
      during SASL interactive due to submission server applying line length
      limits.
    - submission-login: When proxying to remote host, authentication was not
      using interactive SASL when logging in using long credentials such as
      OAUTH2 tokens. This caused authentication to fail due to line length
      constraints in SMTP protocol.
    - submission: Terminating the client connection with QUIT command after
      mail transaction is started with MAIL command and before it is
      finished with DATA/BDAT can cause a segfault crash.
    - virtual: doveadm search queries with mailbox-guid as the only parameter
      crashes: Panic: file virtual-search.c: line 77 (virtual_search_get_records):
      assertion failed: (result != 0)
    
    Pigeonhole Changelog:
    This release is done to maintain parity with dovecot 2.3.19 release, so
    it does not contain any news-worthy changes.
---
 mail/dovecot-coi/Makefile         |  3 +--
 mail/dovecot-fts-elastic/Makefile |  2 +-
 mail/dovecot-fts-xapian/Makefile  |  2 +-
 mail/dovecot-pigeonhole/Makefile  |  2 +-
 mail/dovecot-pigeonhole/distinfo  |  6 +++---
 mail/dovecot/Makefile             |  3 +--
 mail/dovecot/distinfo             |  6 +++---
 mail/dovecot/pkg-plist            | 22 ++++++++++++----------
 8 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/mail/dovecot-coi/Makefile b/mail/dovecot-coi/Makefile
index f7dec2f4fbae..94ae830403b8 100644
--- a/mail/dovecot-coi/Makefile
+++ b/mail/dovecot-coi/Makefile
@@ -1,7 +1,6 @@
-# $FreeBSD$
-
 PORTNAME=	coi
 PORTVERSION=	2.3.9
+PORTREVISION=	1
 CATEGORIES=	mail
 PKGNAMEPREFIX=	dovecot-
 
diff --git a/mail/dovecot-fts-elastic/Makefile b/mail/dovecot-fts-elastic/Makefile
index f87f7f07bbef..abfa6f782e1a 100644
--- a/mail/dovecot-fts-elastic/Makefile
+++ b/mail/dovecot-fts-elastic/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fts-elastic
 PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 PKGNAMEPREFIX=	dovecot-
 
diff --git a/mail/dovecot-fts-xapian/Makefile b/mail/dovecot-fts-xapian/Makefile
index 8d7ad4d90bb6..bd0b4da0cd23 100644
--- a/mail/dovecot-fts-xapian/Makefile
+++ b/mail/dovecot-fts-xapian/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	fts-xapian
 DISTVERSION=	1.5.4
 DISTVERSIONSUFFIX=      b
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	https://github.com/grosjo/fts-xapian/releases/download/${DISTVERSIONFULL}/
 PKGNAMEPREFIX=	dovecot-
diff --git a/mail/dovecot-pigeonhole/Makefile b/mail/dovecot-pigeonhole/Makefile
index 573d20f89119..461be8a0d3f7 100644
--- a/mail/dovecot-pigeonhole/Makefile
+++ b/mail/dovecot-pigeonhole/Makefile
@@ -1,7 +1,7 @@
 # Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
 
 PORTNAME=	dovecot-pigeonhole
-PORTVERSION=	0.5.18
+PORTVERSION=	0.5.19
 CATEGORIES=	mail
 MASTER_SITES=	http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
diff --git a/mail/dovecot-pigeonhole/distinfo b/mail/dovecot-pigeonhole/distinfo
index 1406f3488225..3e72be0711dc 100644
--- a/mail/dovecot-pigeonhole/distinfo
+++ b/mail/dovecot-pigeonhole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643948058
-SHA256 (dovecot-2.3-pigeonhole-0.5.18.tar.gz) = a6d828f8d6f2decba5105343ece5c7a65245bd94e46a8ae4432a6d97543108a5
-SIZE (dovecot-2.3-pigeonhole-0.5.18.tar.gz) = 1953892
+TIMESTAMP = 1652220439
+SHA256 (dovecot-2.3-pigeonhole-0.5.19.tar.gz) = 10b923efcc6f3c4d92ecdbb780e12a5c33e6d0fdbe3aba5fcd3ecde4179c730c
+SIZE (dovecot-2.3-pigeonhole-0.5.19.tar.gz) = 1954148
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 8d78872c0a7e..f7e4c5c91913 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -9,8 +9,7 @@
 ######################################################################
 
 PORTNAME=	dovecot
-PORTVERSION=	2.3.18
-PORTREVISION=	1
+PORTVERSION=	2.3.19
 CATEGORIES=	mail
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index 341ca7841754..ab426636672e 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643948022
-SHA256 (dovecot-2.3.18.tar.gz) = 06e73f668c6c093c45bdeeeb7c20398ab8dc49317234f4b5781ac5e2cc5d6c33
-SIZE (dovecot-2.3.18.tar.gz) = 7763230
+TIMESTAMP = 1652218833
+SHA256 (dovecot-2.3.19.tar.gz) = 0173f693d441b6248b8a62aa5fd690021a1f04a12902653e0bf2e5b012fe437b
+SIZE (dovecot-2.3.19.tar.gz) = 7790661
diff --git a/mail/dovecot/pkg-plist b/mail/dovecot/pkg-plist
index 05caef800458..c99d49af3d26 100644
--- a/mail/dovecot/pkg-plist
+++ b/mail/dovecot/pkg-plist
@@ -12,6 +12,7 @@
 %%DATADIR%%/stopwords/stopwords_ru.txt
 %%DATADIR%%/stopwords/stopwords_sv.txt
 %%DATADIR%%/stopwords/stopwords_tr.txt
+%%ETCDIR%%/README
 %%ETCDIR%%/example-config/conf.d/10-auth.conf
 %%ETCDIR%%/example-config/conf.d/10-director.conf
 %%ETCDIR%%/example-config/conf.d/10-logging.conf
@@ -43,13 +44,21 @@
 %%ETCDIR%%/example-config/dovecot-oauth2.conf.ext
 %%ETCDIR%%/example-config/dovecot-sql.conf.ext
 %%ETCDIR%%/example-config/dovecot.conf
-%%ETCDIR%%/README
 %%LDAP%%include/dovecot/ldap-client.h
 %%LDAP%%lib/dovecot/libdovecot-ldap.a
 %%LDAP%%lib/dovecot/libdovecot-ldap.so
 %%LDAP%%lib/dovecot/libdovecot-ldap.so.0
 %%LDAP%%lib/dovecot/libdovecot-ldap.so.0.0.0
 %%LIBWRAP%%libexec/dovecot/tcpwrap
+%%LUA%%include/dovecot/dict-lua-private.h
+%%LUA%%include/dovecot/dict-lua.h
+%%LUA%%include/dovecot/dlua-compat.h
+%%LUA%%include/dovecot/dlua-script-private.h
+%%LUA%%include/dovecot/dlua-script.h
+%%LUA%%include/dovecot/dlua-wrapper.h
+%%LUA%%include/dovecot/mail-lua-plugin.h
+%%LUA%%include/dovecot/mail-storage-lua-private.h
+%%LUA%%include/dovecot/mail-storage-lua.h
 %%LUA%%lib/dovecot/lib01_mail_lua_plugin.a
 %%LUA%%lib/dovecot/lib01_mail_lua_plugin.so
 %%LUA%%lib/dovecot/lib22_push_notification_lua_plugin.a
@@ -62,15 +71,6 @@
 %%LUA%%lib/dovecot/libdovecot-storage-lua.so
 %%LUA%%lib/dovecot/libdovecot-storage-lua.so.0
 %%LUA%%lib/dovecot/libdovecot-storage-lua.so.0.0.0
-%%LUA%%include/dovecot/dict-lua-private.h
-%%LUA%%include/dovecot/dict-lua.h
-%%LUA%%include/dovecot/dlua-compat.h
-%%LUA%%include/dovecot/dlua-script-private.h
-%%LUA%%include/dovecot/dlua-script.h
-%%LUA%%include/dovecot/dlua-wrapper.h
-%%LUA%%include/dovecot/mail-lua-plugin.h
-%%LUA%%include/dovecot/mail-storage-lua.h
-%%LUA%%include/dovecot/mail-storage-lua-private.h
 %%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a
 %%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so
 %%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a
@@ -554,6 +554,7 @@ include/dovecot/pop3c-sync.h
 include/dovecot/primes.h
 include/dovecot/printf-format-fix.h
 include/dovecot/priorityq.h
+include/dovecot/process-stat.h
 include/dovecot/process-title.h
 include/dovecot/program-client.h
 include/dovecot/push-notification-drivers.h
@@ -600,6 +601,7 @@ include/dovecot/sdbox-storage.h
 include/dovecot/sdbox-sync.h
 include/dovecot/sendfile-util.h
 include/dovecot/seq-range-array.h
+include/dovecot/seq-set-builder.h
 include/dovecot/service-settings.h
 include/dovecot/settings-parser.h
 include/dovecot/settings.h