pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail Update mail/dovecot2* to 2.3.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40257548e4f6
branches:  trunk
changeset: 373474:40257548e4f6
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jan 02 15:52:44 2018 +0000

description:
Update mail/dovecot2* to 2.3.0.

Some of the larger changes:

* Various setting changes, see https://wiki2.dovecot.org/Upgrading/2.3
* Logging rewrite started: Logging is now based on hierarchical events.
  This makes it possible to do various things, like: 1) giving
  consistent log prefixes, 2) enabling debug logging with finer
  granularity, 3) provide logs in more machine readable formats
  (e.g. json). Everything isn't finished yet, especially a lot of the
  old logging code still needs to be translated to the new way.
* Statistics rewrite started: Stats are now based on (log) events.
  It's possible to gather statistics about any event that is logged.
  See http://wiki2.dovecot.org/Statistics for details
* ssl_dh setting replaces the old generated ssl-parameters.dat
* IMAP: When BINARY FETCH finds a broken mails, send [PARSE] error
  instead of [UNKNOWNCTE]
* Linux: core dumping via PR_SET_DUMPABLE is no longer enabled by
  default due to potential security reasons (found by cPanel Security
  Team).
+ Added support for SMTP submission proxy server, which includes
  support for BURL and CHUNKING extension.
+ LMTP rewrite. Supports now CHUNKING extension and mixing of
  local/proxy recipients.
+ auth: Support libsodium to add support for ARGON2I and ARGON2ID
  password schemes.
+ auth: Support BLF-CRYPT password scheme in all platforms
+ auth: Added LUA scripting support for passdb/userdb.
  See https://wiki2.dovecot.org/AuthDatabase/Lua
- Input streams are more reliable now when there are errors or when
  the maximum buffer size is reached. Previously in some situations
  this could have caused Dovecot to try to read already freed memory.
- Output streams weren't previously handling failures when writing a
  trailer at the end of the stream. This mainly affected encrypt and
  zlib compress ostreams, which could have silently written truncated
  files if the last write happened to fail (which shouldn't normally
  have ever happened).
- virtual plugin: Fixed panic when fetching mails from virtual
  mailboxes with IMAP BINARY extension.
- doveadm-server: Fix potential hangs with SSL connections
- doveadm proxy: Reading commands' output from v2.2.33+ servers could
  have caused the output to be corrupted or caused a crash.
- Many other smaller fixes

diffstat:

 mail/dovecot2-ldap/Makefile                              |   4 +-
 mail/dovecot2-sqlite/Makefile                            |   3 +-
 mail/dovecot2/Makefile.common                            |   7 +-
 mail/dovecot2/PLIST                                      |  63 +++++++++++----
 mail/dovecot2/distinfo                                   |  18 ++--
 mail/dovecot2/patches/patch-ab                           |   8 +-
 mail/dovecot2/patches/patch-ae                           |   8 +-
 mail/dovecot2/patches/patch-src_old-stats_mail-stats.h   |  17 ++++
 mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c |   8 +-
 mail/dovecot2/patches/patch-src_stats_mail-stats.h       |  17 ----
 10 files changed, 91 insertions(+), 62 deletions(-)

diffs (truncated from 450 to 300 lines):

diff -r c92f7a00a0b4 -r 40257548e4f6 mail/dovecot2-ldap/Makefile
--- a/mail/dovecot2-ldap/Makefile       Tue Jan 02 12:24:05 2018 +0000
+++ b/mail/dovecot2-ldap/Makefile       Tue Jan 02 15:52:44 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/07/18 15:03:05 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/02 15:52:44 fhajny Exp $
 #
 
 .include "../../mail/dovecot2/Makefile.plugin"
@@ -20,7 +20,7 @@
                        src/lib-ldap/libdovecot-ldap.la \
                        ${DESTDIR}${PREFIX}/lib/dovecot; \
                ${LIBTOOL} --mode=install ${INSTALL_LIB} \
-                       src/plugins/dict-ldap/libdict_ldap.la \
+                       src/lib-dict-backend/libdict_ldap.la \
                        ${DESTDIR}${PREFIX}/lib/dovecot/dict; \
        )
        ${INSTALL_DATA} ${WRKSRC}/src/lib-ldap/ldap-client.h \
diff -r c92f7a00a0b4 -r 40257548e4f6 mail/dovecot2-sqlite/Makefile
--- a/mail/dovecot2-sqlite/Makefile     Tue Jan 02 12:24:05 2018 +0000
+++ b/mail/dovecot2-sqlite/Makefile     Tue Jan 02 15:52:44 2018 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.9 2017/11/30 16:45:29 adam Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/02 15:52:44 fhajny Exp $
 
-PKGREVISION= 1
 .include "../../mail/dovecot2/Makefile.plugin"
 
 PKGNAME=               ${DISTNAME:S/dovecot/dovecot-sqlite/}
diff -r c92f7a00a0b4 -r 40257548e4f6 mail/dovecot2/Makefile.common
--- a/mail/dovecot2/Makefile.common     Tue Jan 02 12:24:05 2018 +0000
+++ b/mail/dovecot2/Makefile.common     Tue Jan 02 15:52:44 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2017/10/22 07:07:34 adam Exp $
+# $NetBSD: Makefile.common,v 1.16 2018/01/02 15:52:44 fhajny Exp $
 #
 # when updating to a new release, update ABI depends in
 # the buildlink3.mk file as well, since the plugins' version
@@ -7,9 +7,9 @@
 # used by mail/dovecot2/Makefile
 # used by mail/dovecot2/Makefile.plugin
 
-DISTNAME=      dovecot-2.2.33.2
+DISTNAME=      dovecot-2.3.0
 CATEGORIES=    mail
-MASTER_SITES=  https://www.dovecot.org/releases/${PKGVERSION_NOREV:R:R}/
+MASTER_SITES=  https://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      http://www.dovecot.org/
@@ -18,6 +18,7 @@
 
 DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo
 PATCHDIR=      ${.CURDIR}/../../mail/dovecot2/patches
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/dovecot/dovecot-ce/}
 
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config rpcgen
diff -r c92f7a00a0b4 -r 40257548e4f6 mail/dovecot2/PLIST
--- a/mail/dovecot2/PLIST       Tue Jan 02 12:24:05 2018 +0000
+++ b/mail/dovecot2/PLIST       Tue Jan 02 15:52:44 2018 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.57 2017/10/12 10:34:28 adam Exp $
+@comment $NetBSD: PLIST,v 1.58 2018/01/02 15:52:44 fhajny Exp $
 bin/doveadm
 bin/doveconf
 bin/dsync
-include/dovecot/abspath.h
 include/dovecot/access-lookup.h
 include/dovecot/acl-api-private.h
 include/dovecot/acl-api.h
@@ -44,9 +43,11 @@
 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
+include/dovecot/charset-utf8-private.h
 include/dovecot/charset-utf8.h
 include/dovecot/child-wait.h
 include/dovecot/client-common.h
@@ -78,8 +79,6 @@
 include/dovecot/dcrypt.h
 include/dovecot/dict-client.h
 include/dovecot/dict-private.h
-include/dovecot/dict-sql-settings.h
-include/dovecot/dict-sql.h
 include/dovecot/dict-transaction-memory.h
 include/dovecot/dict.h
 include/dovecot/dns-lookup.h
@@ -100,14 +99,14 @@
 include/dovecot/dsasl-client.h
 include/dovecot/dsync-brain.h
 include/dovecot/dsync-ibc.h
-include/dovecot/duplicate.h
 include/dovecot/eacces-error.h
 include/dovecot/env-util.h
+include/dovecot/event-filter.h
+include/dovecot/event-log.h
 include/dovecot/execv-const.h
 include/dovecot/fail-mail-storage.h
 include/dovecot/failures.h
-include/dovecot/fd-close-on-exec.h
-include/dovecot/fd-set-nonblock.h
+include/dovecot/fd-util.h
 include/dovecot/fdatasync-path.h
 include/dovecot/fdpass.h
 include/dovecot/file-cache.h
@@ -242,6 +241,8 @@
 include/dovecot/iostream-lz4.h
 include/dovecot/iostream-openssl.h
 include/dovecot/iostream-private.h
+include/dovecot/iostream-proxy.h
+include/dovecot/iostream-pump.h
 include/dovecot/iostream-rawlog-private.h
 include/dovecot/iostream-rawlog.h
 include/dovecot/iostream-ssl-private.h
@@ -281,16 +282,18 @@
 include/dovecot/istream-sized.h
 include/dovecot/istream-tee.h
 include/dovecot/istream-timeout.h
+include/dovecot/istream-try.h
 include/dovecot/istream-unix.h
 include/dovecot/istream-zlib.h
 include/dovecot/istream.h
 include/dovecot/json-parser.h
 include/dovecot/json-tree.h
 include/dovecot/lda-settings.h
+include/dovecot/lib-event-private.h
+include/dovecot/lib-event.h
 include/dovecot/lib-signals.h
 include/dovecot/lib.h
 include/dovecot/llist.h
-include/dovecot/lmtp-client.h
 include/dovecot/log-throttle.h
 include/dovecot/login-common.h
 include/dovecot/login-proxy-state.h
@@ -302,6 +305,7 @@
 include/dovecot/mail-cache.h
 include/dovecot/mail-copy.h
 include/dovecot/mail-deliver.h
+include/dovecot/mail-duplicate.h
 include/dovecot/mail-error.h
 include/dovecot/mail-html2text.h
 include/dovecot/mail-index-alloc-cache.h
@@ -396,6 +400,7 @@
 include/dovecot/mech-otp-skey-common.h
 include/dovecot/mech-plain-common.h
 include/dovecot/mech.h
+include/dovecot/memarea.h
 include/dovecot/mempool.h
 include/dovecot/message-address.h
 include/dovecot/message-binary-part.h
@@ -417,8 +422,8 @@
 include/dovecot/mmap-util.h
 include/dovecot/module-context.h
 include/dovecot/module-dir.h
-include/dovecot/mountpoint-list.h
 include/dovecot/mountpoint.h
+include/dovecot/murmurhash3.h
 include/dovecot/mycrypt.h
 include/dovecot/net.h
 include/dovecot/nfs-workarounds.h
@@ -446,6 +451,7 @@
 include/dovecot/passdb-template.h
 include/dovecot/passdb.h
 include/dovecot/password-scheme.h
+include/dovecot/path-util.h
 include/dovecot/pkcs5.h
 include/dovecot/pop3-capability.h
 include/dovecot/pop3-client.h
@@ -488,7 +494,6 @@
 include/dovecot/quota-private.h
 include/dovecot/quota.h
 include/dovecot/quoted-printable.h
-include/dovecot/rand.h
 include/dovecot/randgen.h
 include/dovecot/raw-storage.h
 include/dovecot/raw-sync.h
@@ -514,12 +519,29 @@
 include/dovecot/sha2.h
 include/dovecot/sha3.h
 include/dovecot/shared-storage.h
+include/dovecot/smtp-address.h
+include/dovecot/smtp-client-command.h
+include/dovecot/smtp-client-connection.h
+include/dovecot/smtp-client-private.h
+include/dovecot/smtp-client-transaction.h
 include/dovecot/smtp-client.h
+include/dovecot/smtp-command-parser.h
+include/dovecot/smtp-command.h
+include/dovecot/smtp-common.h
+include/dovecot/smtp-params.h
+include/dovecot/smtp-parser.h
+include/dovecot/smtp-reply-parser.h
+include/dovecot/smtp-reply.h
+include/dovecot/smtp-server-private.h
+include/dovecot/smtp-server.h
+include/dovecot/smtp-submit-settings.h
+include/dovecot/smtp-submit.h
+include/dovecot/smtp-syntax.h
 include/dovecot/sort.h
 include/dovecot/sql-api-private.h
 include/dovecot/sql-api.h
 include/dovecot/sql-db-cache.h
-include/dovecot/ssl-proxy.h
+include/dovecot/stats-client.h
 include/dovecot/stats-connection.h
 include/dovecot/stats-parser.h
 include/dovecot/stats.h
@@ -586,8 +608,8 @@
 lib/dovecot/lib20_zlib_plugin.la
 lib/dovecot/lib21_fts_squat_plugin.la
 lib/dovecot/lib30_imap_zlib_plugin.la
-lib/dovecot/lib90_stats_plugin.la
-lib/dovecot/lib95_imap_stats_plugin.la
+lib/dovecot/lib90_old_stats_plugin.la
+lib/dovecot/lib95_imap_old_stats_plugin.la
 lib/dovecot/lib99_welcome_plugin.la
 lib/dovecot/libdcrypt_openssl.la
 lib/dovecot/libdovecot-compression.la
@@ -602,8 +624,8 @@
 lib/dovecot/libfs_crypt.la
 lib/dovecot/libfs_mail_crypt.la
 ${PLIST.ssl}lib/dovecot/libssl_iostream_openssl.la
-lib/dovecot/stats/libstats_auth.la
-lib/dovecot/stats/libstats_mail.la
+lib/dovecot/old-stats/libold_stats_mail.la
+lib/dovecot/old-stats/libstats_auth.la
 libexec/dovecot/aggregator
 libexec/dovecot/anvil
 libexec/dovecot/auth
@@ -629,6 +651,7 @@
 libexec/dovecot/lmtp
 libexec/dovecot/log
 libexec/dovecot/maildirlock
+libexec/dovecot/old-stats
 libexec/dovecot/pop3
 libexec/dovecot/pop3-login
 libexec/dovecot/quota-status
@@ -636,8 +659,9 @@
 libexec/dovecot/replicator
 libexec/dovecot/script
 libexec/dovecot/script-login
-libexec/dovecot/ssl-params
 libexec/dovecot/stats
+libexec/dovecot/submission
+libexec/dovecot/submission-login
 ${PLIST.tcpwrappers}libexec/dovecot/tcpwrap
 libexec/dovecot/xml2text
 man/man1/deliver.1
@@ -666,7 +690,6 @@
 man/man1/doveadm-log.1
 man/man1/doveadm-mailbox-cryptokey.1
 man/man1/doveadm-mailbox.1
-man/man1/doveadm-mount.1
 man/man1/doveadm-move.1
 man/man1/doveadm-penalty.1
 man/man1/doveadm-proxy.1
@@ -675,6 +698,7 @@
 man/man1/doveadm-quota.1
 man/man1/doveadm-reload.1
 man/man1/doveadm-replicator.1
+man/man1/doveadm-save.1
 man/man1/doveadm-search.1
 man/man1/doveadm-stats.1
 man/man1/doveadm-stop.1
@@ -703,6 +727,7 @@
 share/doc/dovecot/wiki/AuthDatabase.LDAP.PasswordLookups.txt
 share/doc/dovecot/wiki/AuthDatabase.LDAP.Userdb.txt
 share/doc/dovecot/wiki/AuthDatabase.LDAP.txt
+share/doc/dovecot/wiki/AuthDatabase.Lua.txt
 share/doc/dovecot/wiki/AuthDatabase.Passwd.txt
 share/doc/dovecot/wiki/AuthDatabase.PasswdFile.txt
 share/doc/dovecot/wiki/AuthDatabase.SQL.txt
@@ -746,6 +771,7 @@
 share/doc/dovecot/wiki/Design.Indexes.TransactionLog.txt
 share/doc/dovecot/wiki/Design.Indexes.txt
 share/doc/dovecot/wiki/Design.InputStreams.txt
+share/doc/dovecot/wiki/Design.Lua.txt
 share/doc/dovecot/wiki/Design.MailProcess.txt
 share/doc/dovecot/wiki/Design.Memory.txt
 share/doc/dovecot/wiki/Design.OutputStreams.txt
@@ -930,6 +956,7 @@
 share/doc/dovecot/wiki/SharedMailboxes.Symlinks.txt
 share/doc/dovecot/wiki/SharedMailboxes.txt
 share/doc/dovecot/wiki/SocketUnavailable.txt
+share/doc/dovecot/wiki/Statistics.Old.txt
 share/doc/dovecot/wiki/Statistics.txt
 share/doc/dovecot/wiki/SystemUsers.txt
 share/doc/dovecot/wiki/TestInstallation.txt
@@ -981,6 +1008,7 @@
 share/examples/dovecot/conf.d/20-imap.conf
 share/examples/dovecot/conf.d/20-lmtp.conf
 share/examples/dovecot/conf.d/20-pop3.conf
+share/examples/dovecot/conf.d/20-submission.conf
 share/examples/dovecot/conf.d/90-acl.conf
 share/examples/dovecot/conf.d/90-plugin.conf



Home | Main Index | Thread Index | Old Index