From owner-svn-ports-all@freebsd.org Wed Dec 4 17:59:43 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 689ED1AA3D1; Wed, 4 Dec 2019 17:59:43 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Smp72wL8z49SD; Wed, 4 Dec 2019 17:59:43 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4779B3F7A; Wed, 4 Dec 2019 17:59:43 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB4Hxhan087816; Wed, 4 Dec 2019 17:59:43 GMT (envelope-from ler@FreeBSD.org) Received: (from ler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB4HxfQV087804; Wed, 4 Dec 2019 17:59:41 GMT (envelope-from ler@FreeBSD.org) Message-Id: <201912041759.xB4HxfQV087804@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ler set sender to ler@FreeBSD.org using -f From: Larry Rosenman Date: Wed, 4 Dec 2019 17:59:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519037 - in head/mail: dovecot dovecot-fts-xapian dovecot-pigeonhole dovecot/files X-SVN-Group: ports-head X-SVN-Commit-Author: ler X-SVN-Commit-Paths: in head/mail: dovecot dovecot-fts-xapian dovecot-pigeonhole dovecot/files X-SVN-Commit-Revision: 519037 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2019 17:59:43 -0000 Author: ler Date: Wed Dec 4 17:59:41 2019 New Revision: 519037 URL: https://svnweb.freebsd.org/changeset/ports/519037 Log: mail/dovecot, mail/dovecot-pigeonhole: upgrade to 2.3.9, 0.5.9 respectively. Bump PORTREVISION of mail/dovecot-fts-xapian for version change of dovecot. Changelog: Dovecot: * Changed several event field names for consistency and to avoid conflicts in parent-child event relationships: * SMTP server command events: Renamed "name" to "cmd_name" * Events inheriting from a mailbox: Renamed "name" to "mailbox" * Server connection events have only "remote_ip", "remote_port", "local_ip" and "local_port". * Removed duplicate "client_ip", "ip" and "port". * Mail storage events: Removed "service" field. Use "service:" category instead. * HTTP client connection events: Renamed "host" to "dest_host" and "port" to "dest_port" * auth: Drop Postfix socketmap support. It hasn't been working with recent Postfix versions for a while now. * push-notification-lua: The "subject" field is now decoded to UTF8 instead of kept as MIME-encoded. + push-notification-lua: Added new "from_address", "from_display_name", "to_address" and "to_display_name" fields. The display names are decoded to UTF8. + Added various new fields to existing events. See http://doc.dovecot.net/admin_manual/list_of_events.html + Add lmtp_add_received_header setting. It can be used to prevent LMTP from adding "Received:" headers. + doveadm: Support SSL/STARTTLS for proxied doveadm connections based on doveadm_ssl setting and proxy ssl/tls settings. + Log filters support now "service:", which matches all events for the given service. It can also be used as a category. + lib: Use libunwind to get abort backtraces with function names where available. + lmtp: When the LMTP proxy changes the username (from passdb lookup) add an appropriate ORCPT parameter. - lmtp: Add lmtp_client_workarounds setting to implement workarounds for clients that send MAIL and RCPT commands with additional spaces before the path and for clients that omit <> brackets around the path. See example-config/conf.d/20-lmtp.conf. - lda/lmtp: Invalid MAIL FROM addresses were rejcted too aggressively. Now mails from addresses with unicode characters are delivered, but their Return-Path header will be <> instead of the given MAIL FROM address. - lmtp: The lmtp_hdr_delivery_address setting is ignored. - imap: imap_command_finished event's "args" and "human_args" parameters were always empty. - mbox: Seeking in zlib and bzip2 compressed input streams didn't work correctly. - imap-hibernate: Process crashed when client got destroyed while it was attempted to be unhibernated, and the unhibernation fails. - *-login: Proxying may have crashed if SSL handshake to the backend failed immediately. This was unlikely to happen in normal operation. - *-login: If TLS handshake to upstream server failed during proxying, login process could crash due to invalid memory access. - *-login: v2.3 regression: Using SASL authentication without initial response may have caused SSL connections to hang. This happened often at least with PHP's IMAP library. - *-login: When login processes are flooded with authentication attempts it starts logging errors about "Authentication server sent unknown id". This is still expected. However, it also caused the login process to disconnect from auth server and potentially log some user's password in the error message. - dict-sql: SQL prepared statements were not shared between sessions. This resulted in creating a lot of prepared statements, which was especially inefficient when using Cassandra backend with a lot of Cassandra nodes. - auth: auth_request_finished event didn't have success=yes parameter set for successful authentications. - auth: userdb dict - Trying to list users crashed. - submission: Service could be configured to allow anonymous authentication mechanism and anonymous user access. - LAYOUT=index: Corrupted dovecot.list.index caused folder creation to panic. - doveadm: HTTP server crashes if request target starts with double "/". - dsync: Remote dsync started hanging if the initial doveadm "dsync-server" command was sent in the same TCP packet as the following dsync handshake. v2.3.8 regression. - lib: Several "input streams" had a bug that in some rare situations might cause it to access freed memory. This could lead to crashes or corruption. The only currently known effect of this is that using zlib plugin with external mail attachments (mail_attachment_dir) could cause fetching the mail to return a few bytes of garbage data at the beginning of the header. Note that the mail wasn't saved corrupted, but fetching it caused corrupted mail to be sent to the client. - lib-storage: If a mail only has quoted content, use the quoted text for generating message snippet (IMAP PREVIEW) instead of returning empty snippet. - lib-storage: When vsize header was rebuilt, newly calculated message sizes were added to dovecot.index.cache instead of being directly saved into vsize records in dovecot.index. - lib: JSON generator was escaping UTF-8 characters unnecessarily. Pigeonhole: + Added events for Sieve and ManageSieve, see https://doc.dovecot.org/admin_manual/list_of_events/#pigeonhole + Pigeonhole: Implement the Sieve "special-use" extension described in RFC 8579. - duplicate: Test only compared the handles which would cause different values to be cached as the same duplicate test. Fix to also compare the actual hashes. - imap_sieve_filter: IMAP FILTER Command had various bugs in error handling. Errors may have been duplicated for each email, errors may have been missing entirely, command tag and ERRORS/WARNINGS parameters were swapped. Added: head/mail/dovecot/files/patch-src_lib_net.c (contents, props changed) Modified: head/mail/dovecot-fts-xapian/Makefile head/mail/dovecot-pigeonhole/Makefile head/mail/dovecot-pigeonhole/distinfo head/mail/dovecot-pigeonhole/pkg-plist head/mail/dovecot/Makefile head/mail/dovecot/distinfo head/mail/dovecot/files/patch-src_lib-master_master-service.c head/mail/dovecot/files/patch-src_master_main.c head/mail/dovecot/pkg-plist Modified: head/mail/dovecot-fts-xapian/Makefile ============================================================================== --- head/mail/dovecot-fts-xapian/Makefile Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot-fts-xapian/Makefile Wed Dec 4 17:59:41 2019 (r519037) @@ -3,7 +3,7 @@ PORTNAME= fts-xapian PORTVERSION= 1.2.2 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail PKGNAMEPREFIX= dovecot- Modified: head/mail/dovecot-pigeonhole/Makefile ============================================================================== --- head/mail/dovecot-pigeonhole/Makefile Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot-pigeonhole/Makefile Wed Dec 4 17:59:41 2019 (r519037) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dovecot-pigeonhole -PORTVERSION= 0.5.8 +PORTVERSION= 0.5.9 CATEGORIES= mail MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} @@ -12,8 +12,8 @@ COMMENT= Sieve plugin for the Dovecot 'deliver' LDA an LICENSE= LGPL21 -BUILD_DEPENDS= dovecot>=2.3.8:mail/dovecot -RUN_DEPENDS= dovecot>=2.3.8:mail/dovecot +BUILD_DEPENDS= dovecot>=2.3.9:mail/dovecot +RUN_DEPENDS= dovecot>=2.3.9:mail/dovecot DOVECOTVERSION= 2.3 @@ -26,8 +26,6 @@ LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= compiler:c11 libtool ssl USE_LDCONFIG= ${PREFIX}/lib/dovecot - -CONFLICTS_INSTALL= dovecot-pigeonhole04 OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE Modified: head/mail/dovecot-pigeonhole/distinfo ============================================================================== --- head/mail/dovecot-pigeonhole/distinfo Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot-pigeonhole/distinfo Wed Dec 4 17:59:41 2019 (r519037) @@ -1,3 +1,3 @@ -TIMESTAMP = 1570571306 -SHA256 (dovecot-2.3-pigeonhole-0.5.8.tar.gz) = 8fb860d50c1b1a09aea9e25f8ee89c22e34ecedfb0e11a1c48a7f67310759022 -SIZE (dovecot-2.3-pigeonhole-0.5.8.tar.gz) = 1857780 +TIMESTAMP = 1575481505 +SHA256 (dovecot-2.3-pigeonhole-0.5.9.tar.gz) = 36da68aae5157b83e21383f711b8977e5b6f5477f369f71e7e22e76a738bbd05 +SIZE (dovecot-2.3-pigeonhole-0.5.9.tar.gz) = 1897060 Modified: head/mail/dovecot-pigeonhole/pkg-plist ============================================================================== --- head/mail/dovecot-pigeonhole/pkg-plist Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot-pigeonhole/pkg-plist Wed Dec 4 17:59:41 2019 (r519037) @@ -28,6 +28,7 @@ include/dovecot-2.3-pigeonhole/sieve/sieve-config.h include/dovecot-2.3-pigeonhole/sieve/sieve-dump.h include/dovecot-2.3-pigeonhole/sieve/sieve-error-private.h include/dovecot-2.3-pigeonhole/sieve/sieve-error.h +include/dovecot-2.3-pigeonhole/sieve/sieve-execute.h include/dovecot-2.3-pigeonhole/sieve/sieve-ext-copy.h include/dovecot-2.3-pigeonhole/sieve/sieve-ext-enotify.h include/dovecot-2.3-pigeonhole/sieve/sieve-ext-environment.h Modified: head/mail/dovecot/Makefile ============================================================================== --- head/mail/dovecot/Makefile Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot/Makefile Wed Dec 4 17:59:41 2019 (r519037) @@ -8,8 +8,7 @@ ###################################################################### PORTNAME= dovecot -PORTVERSION= 2.3.8 -PORTREVISION= 4 +PORTVERSION= 2.3.9 CATEGORIES= mail MASTER_SITES= https://dovecot.org/releases/2.3/ @@ -34,8 +33,6 @@ INSTALL_TARGET= install-strip USERS= dovecot dovenull GROUPS= ${USERS} - -CONFLICTS_INSTALL= dovecot22 OPTIONS_DEFINE= LIBSODIUM LIBWRAP LUA LZ4 VPOPMAIL DOCS EXAMPLES OPTIONS_DEFAULT=GSSAPI_NONE LIBWRAP Modified: head/mail/dovecot/distinfo ============================================================================== --- head/mail/dovecot/distinfo Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot/distinfo Wed Dec 4 17:59:41 2019 (r519037) @@ -1,3 +1,3 @@ -TIMESTAMP = 1570569851 -SHA256 (dovecot-2.3.8.tar.gz) = c5778d03bf26ab34a605854098035badec455d07adfab38d974f610c8f78b649 -SIZE (dovecot-2.3.8.tar.gz) = 7136958 +TIMESTAMP = 1575477007 +SHA256 (dovecot-2.3.9.tar.gz) = df2c53e5a0463c5c52af682fb11c17eb7f79115d95a861a63cd09329fd7daa9f +SIZE (dovecot-2.3.9.tar.gz) = 7181327 Modified: head/mail/dovecot/files/patch-src_lib-master_master-service.c ============================================================================== --- head/mail/dovecot/files/patch-src_lib-master_master-service.c Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot/files/patch-src_lib-master_master-service.c Wed Dec 4 17:59:41 2019 (r519037) @@ -1,6 +1,6 @@ ---- src/lib-master/master-service.c.orig 2019-01-06 17:42:52 UTC +--- src/lib-master/master-service.c.orig 2019-12-04 09:31:27 UTC +++ src/lib-master/master-service.c -@@ -341,7 +341,7 @@ master_service_init(const char *name, enum master_serv +@@ -368,7 +368,7 @@ master_service_init(const char *name, enum master_serv if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) { /* Initialize stats-client early so it can see all events. */ value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH); Added: head/mail/dovecot/files/patch-src_lib_net.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/dovecot/files/patch-src_lib_net.c Wed Dec 4 17:59:41 2019 (r519037) @@ -0,0 +1,20 @@ +--- src/lib/net.c.orig 2019-12-04 17:29:36 UTC ++++ src/lib/net.c +@@ -1068,13 +1068,17 @@ enum net_hosterror_type net_get_hosterror_type(int err + int error; + enum net_hosterror_type type; + } error_map[] = { ++#ifdef EAI_ADDRFAMILY + { EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND }, ++#endif + { EAI_AGAIN, NET_HOSTERROR_TYPE_NAMESERVER }, + { EAI_BADFLAGS, NET_HOSTERROR_TYPE_INTERNAL_ERROR }, + { EAI_FAIL, NET_HOSTERROR_TYPE_NAMESERVER }, + { EAI_FAMILY, NET_HOSTERROR_TYPE_INTERNAL_ERROR }, + { EAI_MEMORY, NET_HOSTERROR_TYPE_INTERNAL_ERROR }, ++#ifdef EAI_NODATA + { EAI_NODATA, NET_HOSTERROR_TYPE_NOT_FOUND }, ++#endif + { EAI_NONAME, NET_HOSTERROR_TYPE_NOT_FOUND }, + { EAI_SERVICE, NET_HOSTERROR_TYPE_INTERNAL_ERROR }, + { EAI_SOCKTYPE, NET_HOSTERROR_TYPE_INTERNAL_ERROR }, Modified: head/mail/dovecot/files/patch-src_master_main.c ============================================================================== --- head/mail/dovecot/files/patch-src_master_main.c Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot/files/patch-src_master_main.c Wed Dec 4 17:59:41 2019 (r519037) @@ -1,6 +1,6 @@ ---- src/master/main.c.orig 2018-11-23 11:06:45 UTC +--- src/master/main.c.orig 2019-12-04 09:31:27 UTC +++ src/master/main.c -@@ -862,6 +862,8 @@ int main(int argc, char *argv[]) +@@ -866,6 +866,8 @@ int main(int argc, char *argv[]) i_fatal("dup2(dev_null_fd) failed: %m"); if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0) i_fatal("dup2(dev_null_fd) failed: %m"); Modified: head/mail/dovecot/pkg-plist ============================================================================== --- head/mail/dovecot/pkg-plist Wed Dec 4 17:39:07 2019 (r519036) +++ head/mail/dovecot/pkg-plist Wed Dec 4 17:59:41 2019 (r519037) @@ -91,7 +91,6 @@ include/dovecot/auth-master-connection.h include/dovecot/auth-master.h include/dovecot/auth-penalty.h include/dovecot/auth-policy.h -include/dovecot/auth-postfix-connection.h include/dovecot/auth-request-handler.h include/dovecot/auth-request-stats.h include/dovecot/auth-request-var-expand.h @@ -106,7 +105,6 @@ include/dovecot/backtrace-string.h include/dovecot/base32.h include/dovecot/base64.h include/dovecot/bits.h -include/dovecot/bloomfilter.h include/dovecot/bsearch-insert-pos.h include/dovecot/buffer.h include/dovecot/byteorder.h @@ -495,7 +493,6 @@ include/dovecot/mmap-util.h include/dovecot/module-context.h include/dovecot/module-dir.h include/dovecot/mountpoint.h -include/dovecot/murmurhash3.h include/dovecot/mycrypt.h include/dovecot/net.h include/dovecot/nfs-workarounds.h