From owner-svn-ports-head@freebsd.org Fri Oct 2 22:44:21 2015 Return-Path: Delivered-To: svn-ports-head@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 BEC97A0E209; Fri, 2 Oct 2015 22:44:21 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 AE2831C23; Fri, 2 Oct 2015 22:44:21 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t92MiLL1042414; Fri, 2 Oct 2015 22:44:21 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t92MiK6C042406; Fri, 2 Oct 2015 22:44:20 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201510022244.t92MiK6C042406@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Fri, 2 Oct 2015 22:44:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398453 - in head/mail: dovecot2 dovecot2-antispam-plugin dovecot2-pigeonhole X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 22:44:21 -0000 Author: adamw Date: Fri Oct 2 22:44:19 2015 New Revision: 398453 URL: https://svnweb.freebsd.org/changeset/ports/398453 Log: Update dovecot2 to 2.2.19, and bump PORTREVISION on antispam-plugin and pigeonhole. Changes: * pop3_deleted_flag has been broken since v2.2.10. Using it would cause buffer overflows, which could be exploitable. However, this bug would have become visible quite soon after users had deleted some POP3 mails, because the pop3 processes would have started crashing all the time even in normal use. * "doveadm director flush" command has a changed meaning now: It safely moves users to their wanted backends, instead of simply forgetting the mapping entirely and leaving the existing connections untouched. Use -F parameter to get the original unsafe behavior. + Added imap-hibernate processes (see imap_hibernate_timeout setting). IDLEing IMAP connections can be hibernated, which saves memory. + Optimized tracking mailboxes' vsizes (= sum of all messages' sizes). If mailbox_list_index=yes, it's also stored in there. This makes it very efficient to look up vsizes for all mailboxes. + Added a quota "count" backend, which uses the mailbox vsizes to get the current quota usage. It requires using the new quota_vsizes=yes setting, which tracks the messages' "virtual sizes" rather than "physical sizes". Their distiction is minor and mostly irrelevant nowadays (if mail sizes should be counted with LF or CRLF newlines). + "doveadm director up/down" commands added. The monitoring script should be using these commands instead of changing the vhost count. This allows admin to manually disable a server by changing the vhost count to 0 without the monitoring script changing it back. + Added support for HAProxy protocol: http://wiki2.dovecot.org/HAProxy + Added push-notification plugin framework, which can be used to easily implement push notifications to various backends. Implemented "ox" backend for notifying Open-Xchange via HTTP/json. + imap_logout_format supports more variables now, e.g. number of deleted messages. + pop3: Added pop3_delete_type setting (related to pop3_deleted_flag). + plugin { fts_enforced=yes } setting now fails body searches unless it can be done via the full text search engine. + Added %{passdb:*} and %{userdb:*} variables to various places + auth: Added ":protected" suffix for passdb and userdb fields. If used, the field doesn't overwrite an existing field. + IMAP/POP3 proxy: If a backend server dies, avoid client reconnection spikes by slowly disconnecting clients over time. This is enabled by setting login_proxy_max_disconnect_delay=secs passdb extra field. + imap: Added new read-only METADATA entries: /private/specialuse, /shared/comment, /shared/admin + imap: If client disconnects in the middle of a command, log how long the command had been running. - mdbox: Rebuilding could have caused message's reference count to overflow the 16bit number in some situations, causing problems when trying to expunge the duplicates. - Various search fixes (fts, solr, tika, lib-charset, indexer) - Various virtual plugin fixes - Various fixes and optimizations to dsync, imapc and pop3-migration - imap: Various RFC compliancy and crash fixes to NOTIFY 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 Fri Oct 2 22:36:08 2015 (r398452) +++ head/mail/dovecot2-antispam-plugin/Makefile Fri Oct 2 22:44:19 2015 (r398453) @@ -3,7 +3,7 @@ PORTNAME= dovecot2-antispam-plugin PORTVERSION= 20130429 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= mail MASTER_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni Modified: head/mail/dovecot2-pigeonhole/Makefile ============================================================================== --- head/mail/dovecot2-pigeonhole/Makefile Fri Oct 2 22:36:08 2015 (r398452) +++ head/mail/dovecot2-pigeonhole/Makefile Fri Oct 2 22:44:19 2015 (r398453) @@ -3,6 +3,7 @@ PORTNAME= dovecot-pigeonhole PORTVERSION= 0.4.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} Modified: head/mail/dovecot2/Makefile ============================================================================== --- head/mail/dovecot2/Makefile Fri Oct 2 22:36:08 2015 (r398452) +++ head/mail/dovecot2/Makefile Fri Oct 2 22:44:19 2015 (r398453) @@ -13,7 +13,7 @@ ###################################################################### PORTNAME= dovecot -PORTVERSION= 2.2.18 +PORTVERSION= 2.2.19 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/${PORTVERSION:R}/ PKGNAMESUFFIX= 2 Modified: head/mail/dovecot2/distinfo ============================================================================== --- head/mail/dovecot2/distinfo Fri Oct 2 22:36:08 2015 (r398452) +++ head/mail/dovecot2/distinfo Fri Oct 2 22:44:19 2015 (r398453) @@ -1,2 +1,2 @@ -SHA256 (dovecot-2.2.18.tar.gz) = b6d8468cea47f1227f47b80618f7fb872e2b2e9d3302adc107a005dd083865bb -SIZE (dovecot-2.2.18.tar.gz) = 5100040 +SHA256 (dovecot-2.2.19.tar.gz) = 759e1e3f9d907cdaabad1f5fbacc793ca191d234c084bec3bba42966952a4e9f +SIZE (dovecot-2.2.19.tar.gz) = 5256627 Modified: head/mail/dovecot2/pkg-plist ============================================================================== --- head/mail/dovecot2/pkg-plist Fri Oct 2 22:36:08 2015 (r398452) +++ head/mail/dovecot2/pkg-plist Fri Oct 2 22:44:19 2015 (r398453) @@ -33,6 +33,13 @@ bin/dsync %%ETCDIR%%/README include/dovecot/abspath.h include/dovecot/access-lookup.h +include/dovecot/acl-api-private.h +include/dovecot/acl-api.h +include/dovecot/acl-cache.h +include/dovecot/acl-global-file.h +include/dovecot/acl-lookup-dict.h +include/dovecot/acl-plugin.h +include/dovecot/acl-storage.h include/dovecot/anvil-client.h include/dovecot/aqueue.h include/dovecot/array-decl.h @@ -51,6 +58,7 @@ include/dovecot/auth-master.h include/dovecot/auth-penalty.h include/dovecot/auth-postfix-connection.h include/dovecot/auth-request-handler.h +include/dovecot/auth-request-var-expand.h include/dovecot/auth-request.h include/dovecot/auth-server-connection.h include/dovecot/auth-settings.h @@ -124,6 +132,7 @@ include/dovecot/fdatasync-path.h include/dovecot/fdpass.h include/dovecot/file-cache.h include/dovecot/file-copy.h +include/dovecot/file-create-locked.h include/dovecot/file-dotlock.h include/dovecot/file-lock.h include/dovecot/file-set-size.h @@ -133,9 +142,17 @@ include/dovecot/fs-sis-common.h include/dovecot/fsync-mode.h include/dovecot/fts-api-private.h include/dovecot/fts-api.h +include/dovecot/fts-common.h include/dovecot/fts-expunge-log.h +include/dovecot/fts-filter-private.h +include/dovecot/fts-filter.h +include/dovecot/fts-icu.h include/dovecot/fts-indexer.h +include/dovecot/fts-language.h include/dovecot/fts-parser.h +include/dovecot/fts-tokenizer-generic-private.h +include/dovecot/fts-tokenizer-private.h +include/dovecot/fts-tokenizer.h include/dovecot/fts-user.h include/dovecot/guid.h include/dovecot/hash-decl.h @@ -179,6 +196,7 @@ include/dovecot/imap-fetch.h include/dovecot/imap-id.h include/dovecot/imap-keepalive.h include/dovecot/imap-list.h +include/dovecot/imap-master-client.h include/dovecot/imap-match.h include/dovecot/imap-metadata.h include/dovecot/imap-msgpart-url.h @@ -191,6 +209,7 @@ include/dovecot/imap-search-args.h include/dovecot/imap-search.h include/dovecot/imap-seqset.h include/dovecot/imap-settings.h +include/dovecot/imap-state.h include/dovecot/imap-status.h include/dovecot/imap-sync.h include/dovecot/imap-url.h @@ -214,6 +233,7 @@ include/dovecot/imapc-sync.h include/dovecot/imem.h include/dovecot/index-attachment.h include/dovecot/index-mail.h +include/dovecot/index-mailbox-size.h include/dovecot/index-rebuild.h include/dovecot/index-search-private.h include/dovecot/index-search-result.h @@ -235,6 +255,7 @@ include/dovecot/iostream-rawlog.h include/dovecot/iostream-ssl-private.h include/dovecot/iostream-ssl.h include/dovecot/iostream-temp.h +include/dovecot/iostream.h include/dovecot/ipc-client.h include/dovecot/ipc-server.h include/dovecot/ipwd.h @@ -248,8 +269,10 @@ include/dovecot/istream-chain.h include/dovecot/istream-concat.h include/dovecot/istream-crlf.h include/dovecot/istream-dot.h +include/dovecot/istream-failure-at.h include/dovecot/istream-file-private.h include/dovecot/istream-fs-file.h +include/dovecot/istream-fs-stats.h include/dovecot/istream-hash.h include/dovecot/istream-header-filter.h include/dovecot/istream-jsonstr.h @@ -313,6 +336,7 @@ include/dovecot/mail-transaction-log.h include/dovecot/mail-types.h include/dovecot/mail-user-hash.h include/dovecot/mail-user.h +include/dovecot/mailbox-attribute-internal.h include/dovecot/mailbox-attribute-private.h include/dovecot/mailbox-attribute.h include/dovecot/mailbox-guid-cache.h @@ -329,9 +353,11 @@ include/dovecot/mailbox-list-private.h include/dovecot/mailbox-list-subscriptions.h include/dovecot/mailbox-list.h include/dovecot/mailbox-log.h +include/dovecot/mailbox-recent-flags.h include/dovecot/mailbox-search-result-private.h include/dovecot/mailbox-tree.h include/dovecot/mailbox-uidvalidity.h +include/dovecot/mailbox-watch.h include/dovecot/maildir-filename-flags.h include/dovecot/maildir-filename.h include/dovecot/maildir-keywords.h @@ -398,6 +424,7 @@ include/dovecot/notify-plugin.h include/dovecot/numpack.h include/dovecot/ostream-cmp.h include/dovecot/ostream-dot.h +include/dovecot/ostream-failure-at.h include/dovecot/ostream-hash.h include/dovecot/ostream-metawrap.h include/dovecot/ostream-private.h @@ -422,6 +449,26 @@ include/dovecot/primes.h include/dovecot/printf-format-fix.h include/dovecot/priorityq.h include/dovecot/process-title.h +include/dovecot/push-notification-drivers.h +include/dovecot/push-notification-event-flagsclear.h +include/dovecot/push-notification-event-flagsset.h +include/dovecot/push-notification-event-mailboxcreate.h +include/dovecot/push-notification-event-mailboxdelete.h +include/dovecot/push-notification-event-mailboxrename.h +include/dovecot/push-notification-event-mailboxsubscribe.h +include/dovecot/push-notification-event-mailboxunsubscribe.h +include/dovecot/push-notification-event-message-common.h +include/dovecot/push-notification-event-messageappend.h +include/dovecot/push-notification-event-messageexpunge.h +include/dovecot/push-notification-event-messagenew.h +include/dovecot/push-notification-event-messageread.h +include/dovecot/push-notification-event-messagetrash.h +include/dovecot/push-notification-events-rfc5423.h +include/dovecot/push-notification-events.h +include/dovecot/push-notification-plugin.h +include/dovecot/push-notification-triggers.h +include/dovecot/push-notification-txn-mbox.h +include/dovecot/push-notification-txn-msg.h include/dovecot/qp-decoder.h include/dovecot/quota-fs.h include/dovecot/quota-plugin.h @@ -453,6 +500,7 @@ include/dovecot/sha1.h include/dovecot/sha2.h include/dovecot/shared-storage.h include/dovecot/smtp-client.h +include/dovecot/sort.h include/dovecot/sql-api-private.h include/dovecot/sql-api.h include/dovecot/sql-db-cache.h @@ -470,6 +518,7 @@ include/dovecot/subscription-file.h include/dovecot/syslog-util.h include/dovecot/test-common.h include/dovecot/time-util.h +include/dovecot/timing.h include/dovecot/unichar.h include/dovecot/unix-socket-create.h include/dovecot/unlink-directory.h @@ -529,6 +578,8 @@ lib/dovecot/lib20_mail_log_plugin.a lib/dovecot/lib20_mail_log_plugin.so lib/dovecot/lib20_mailbox_alias_plugin.a lib/dovecot/lib20_mailbox_alias_plugin.so +lib/dovecot/lib20_push_notification_plugin.a +lib/dovecot/lib20_push_notification_plugin.so lib/dovecot/lib20_quota_clone_plugin.a lib/dovecot/lib20_quota_clone_plugin.so lib/dovecot/lib20_replication_plugin.a @@ -591,6 +642,7 @@ libexec/dovecot/doveadm-server libexec/dovecot/dovecot-lda libexec/dovecot/gdbhelper libexec/dovecot/imap +libexec/dovecot/imap-hibernate libexec/dovecot/imap-login libexec/dovecot/imap-urlauth libexec/dovecot/imap-urlauth-login @@ -669,4 +721,4 @@ share/aclocal/dovecot.m4 %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so %%SSL%%lib/dovecot/libssl_iostream_openssl.a %%SSL%%lib/dovecot/libssl_iostream_openssl.so -@unexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data." +@postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."