From owner-svn-ports-all@freebsd.org Sat Dec 3 18:31:36 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D90A8C64621; Sat, 3 Dec 2016 18:31:36 +0000 (UTC) (envelope-from adamw@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 mx1.freebsd.org (Postfix) with ESMTPS id B3541160B; Sat, 3 Dec 2016 18:31:36 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB3IVZGI044931; Sat, 3 Dec 2016 18:31:35 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB3IVZQf044924; Sat, 3 Dec 2016 18:31:35 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201612031831.uB3IVZQf044924@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sat, 3 Dec 2016 18:31:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427636 - in head/mail: dovecot2 dovecot2-antispam-plugin dovecot2-pigeonhole dovecot2/files X-SVN-Group: ports-head 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.23 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: Sat, 03 Dec 2016 18:31:36 -0000 Author: adamw Date: Sat Dec 3 18:31:35 2016 New Revision: 427636 URL: https://svnweb.freebsd.org/changeset/ports/427636 Log: Update dovecot2 to 2.2.27, and bump PORTREVISION on pigeonhole and antispam-plugin. Also, while here, switch the MASTER_SITE to https, because https. The big thing in this release is the ability to read and write encrypted messages. I'm very interested in hearing FreeBSD users' experiences with it. Really, Larry Rosenman did almost all the actual work here. * dovecot.list.index.log rotation sizes/times were changed so that the .log file stays smaller and .log.2 is deleted sooner. + Added mail_crypt plugin that allows encryption of stored emails. See http://wiki2.dovecot.org/Plugins/MailCrypt + stats: Global stats can be sent to Carbon server by setting stats_carbon_server=ip:port + imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT + Added generic hash modifier for %variables: %{;rounds=,truncate=,salt=s>:field} Hash algorithm is any of the supported ones, e.g. md5, sha1, sha256. Also "pkcs5" is supported using SHA256. For example: %{sha256:user} or %{md5;truncate=32:user}. + Added support for SHA3-256 and SHA3-512 hashes. + config: Support DNS wildcards in local_name, e.g. local_name *.example.com { .. } matches anything.example.com, but not multiple.anything.example.com. + config: Support multiple names in local_name, e.g. local_name "1.example.com 2.example.com" { .. } - Fixed crash in auth process when auth-policy was configured and authentication was aborted/failed without a username set. - director: If two users had different tags but the same hash, the users may have been redirected to the wrong tag's hosts. - Index files may have been thought incorrectly lost, causing "Missing middle file seq=.." to be logged and index rebuild. This happened more easily with IMAP hibernation enabled. - Various fixes to restoring state correctly in un-hibernation. - dovecot.index files were commonly 4 bytes per email too large. This is because 3 bytes per email were being wasted that could have been used for IMAP keywords. - Various fixes to handle dovecot.list.index corruption better. - lib-fts: Fixed assert-crash in address tokenizer with specific input. - Fixed assert-crash in HTML to text parsing with specific input (e.g. for FTS indexing or snippet generation) - doveadm sync -1: Fixed handling mailbox GUID conflicts. - sdbox, mdbox: Perform full index rebuild if corruption is detected inside lib-index, which runs index fsck. - quota: Don't skip quota checks when moving mails between different quota roots. - search: Multiple sequence sets or UID sets in search parameters weren't handled correctly. They were incorrectly merged together Added: head/mail/dovecot2/files/patch-src_lib-ssl-iostream_dovecot-openssl-common.c (contents, props changed) Deleted: head/mail/dovecot2/files/patch-src_lib-http_http-client-request.c Modified: head/mail/dovecot2-antispam-plugin/Makefile head/mail/dovecot2-pigeonhole/Makefile head/mail/dovecot2/Makefile head/mail/dovecot2/distinfo head/mail/dovecot2/pkg-plist Modified: head/mail/dovecot2-antispam-plugin/Makefile ============================================================================== --- head/mail/dovecot2-antispam-plugin/Makefile Sat Dec 3 18:28:30 2016 (r427635) +++ head/mail/dovecot2-antispam-plugin/Makefile Sat Dec 3 18:31:35 2016 (r427636) @@ -3,7 +3,7 @@ PORTNAME= dovecot2-antispam-plugin PORTVERSION= 20130429 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= mail MASTER_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni Modified: head/mail/dovecot2-pigeonhole/Makefile ============================================================================== --- head/mail/dovecot2-pigeonhole/Makefile Sat Dec 3 18:28:30 2016 (r427635) +++ head/mail/dovecot2-pigeonhole/Makefile Sat Dec 3 18:31:35 2016 (r427636) @@ -3,7 +3,7 @@ PORTNAME= dovecot-pigeonhole PORTVERSION= 0.4.16 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} Modified: head/mail/dovecot2/Makefile ============================================================================== --- head/mail/dovecot2/Makefile Sat Dec 3 18:28:30 2016 (r427635) +++ head/mail/dovecot2/Makefile Sat Dec 3 18:31:35 2016 (r427636) @@ -13,10 +13,10 @@ ###################################################################### PORTNAME= dovecot -PORTVERSION= 2.2.26.0 +PORTVERSION= 2.2.27 PORTREVISION= 4 CATEGORIES= mail ipv6 -MASTER_SITES= http://www.dovecot.org/releases/${PORTVERSION:R:R}/ +MASTER_SITES= https://www.dovecot.org/releases/${PORTVERSION:R}/ PKGNAMESUFFIX= 2 MAINTAINER= adamw@FreeBSD.org Modified: head/mail/dovecot2/distinfo ============================================================================== --- head/mail/dovecot2/distinfo Sat Dec 3 18:28:30 2016 (r427635) +++ head/mail/dovecot2/distinfo Sat Dec 3 18:31:35 2016 (r427636) @@ -1,3 +1,3 @@ -TIMESTAMP = 1477674340 -SHA256 (dovecot-2.2.26.0.tar.gz) = f692a1f39de36cd15f6681f7fee5fba2ef3e72b529acbee02b23422e16926f05 -SIZE (dovecot-2.2.26.0.tar.gz) = 5687576 +TIMESTAMP = 1480788212 +SHA256 (dovecot-2.2.27.tar.gz) = 897f92a87cda4b27b243f8149ce0ba7b7e71a2be8fb7994eb0a025e54cde18e9 +SIZE (dovecot-2.2.27.tar.gz) = 5794668 Added: head/mail/dovecot2/files/patch-src_lib-ssl-iostream_dovecot-openssl-common.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/dovecot2/files/patch-src_lib-ssl-iostream_dovecot-openssl-common.c Sat Dec 3 18:31:35 2016 (r427636) @@ -0,0 +1,13 @@ +This fixes building against LibreSSL. + +--- src/lib-ssl-iostream/dovecot-openssl-common.c.orig 2016-12-03 18:13:25 UTC ++++ src/lib-ssl-iostream/dovecot-openssl-common.c +@@ -101,7 +101,7 @@ bool dovecot_openssl_common_global_unref + ERR_remove_thread_state(NULL); + #endif + ERR_free_strings(); +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + OPENSSL_cleanup(); + #endif + return FALSE; Modified: head/mail/dovecot2/pkg-plist ============================================================================== --- head/mail/dovecot2/pkg-plist Sat Dec 3 18:28:30 2016 (r427635) +++ head/mail/dovecot2/pkg-plist Sat Dec 3 18:31:35 2016 (r427636) @@ -110,6 +110,7 @@ include/dovecot/dict-sql.h include/dovecot/dict-transaction-memory.h include/dovecot/dict.h include/dovecot/dns-lookup.h +include/dovecot/dns-util.h include/dovecot/doveadm-cmd.h include/dovecot/doveadm-dsync.h include/dovecot/doveadm-dump.h @@ -522,8 +523,10 @@ include/dovecot/seq-range-array.h include/dovecot/service-settings.h include/dovecot/settings-parser.h include/dovecot/settings.h +include/dovecot/sha-common.h include/dovecot/sha1.h include/dovecot/sha2.h +include/dovecot/sha3.h include/dovecot/shared-storage.h include/dovecot/smtp-client.h include/dovecot/sort.h @@ -570,6 +573,8 @@ lib/dovecot/doveadm/lib10_doveadm_quota_ lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so lib/dovecot/doveadm/lib20_doveadm_fts_plugin.a lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so +lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.a +lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so lib/dovecot/dovecot-config lib/dovecot/lib01_acl_plugin.a lib/dovecot/lib01_acl_plugin.so @@ -577,12 +582,16 @@ lib/dovecot/lib02_imap_acl_plugin.a lib/dovecot/lib02_imap_acl_plugin.so lib/dovecot/lib02_lazy_expunge_plugin.a lib/dovecot/lib02_lazy_expunge_plugin.so +lib/dovecot/lib05_mail_crypt_acl_plugin.a +lib/dovecot/lib05_mail_crypt_acl_plugin.so lib/dovecot/lib05_pop3_migration_plugin.a lib/dovecot/lib05_pop3_migration_plugin.so lib/dovecot/lib05_snarf_plugin.a lib/dovecot/lib05_snarf_plugin.so lib/dovecot/lib10_last_login_plugin.a lib/dovecot/lib10_last_login_plugin.so +lib/dovecot/lib10_mail_crypt_plugin.a +lib/dovecot/lib10_mail_crypt_plugin.so lib/dovecot/lib10_mail_filter_plugin.a lib/dovecot/lib10_mail_filter_plugin.so lib/dovecot/lib10_quota_plugin.a @@ -660,6 +669,10 @@ lib/dovecot/libdovecot.so.0 lib/dovecot/libdovecot.so.0.0.0 lib/dovecot/libfs_compress.a lib/dovecot/libfs_compress.so +lib/dovecot/libfs_crypt.a +lib/dovecot/libfs_crypt.so +lib/dovecot/libfs_mail_crypt.a +lib/dovecot/libfs_mail_crypt.so lib/dovecot/stats/libstats_auth.a lib/dovecot/stats/libstats_auth.so lib/dovecot/stats/libstats_mail.a @@ -723,6 +736,7 @@ man/man1/doveadm-index.1.gz man/man1/doveadm-instance.1.gz man/man1/doveadm-kick.1.gz man/man1/doveadm-log.1.gz +man/man1/doveadm-mailbox-cryptokey.1.gz man/man1/doveadm-mailbox.1.gz man/man1/doveadm-mount.1.gz man/man1/doveadm-move.1.gz