Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2016 18:31:35 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
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
Message-ID:  <201612031831.uB3IVZQf044924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:
     %{<hash algorithm>;rounds=<n>,truncate=<bits>,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612031831.uB3IVZQf044924>