pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q4] pkgsrc/mail



Module Name:    pkgsrc
Committed By:   spz
Date:           Fri Mar  2 21:24:18 UTC 2018

Modified Files:
        pkgsrc/mail/dovecot2 [pkgsrc-2017Q4]: Makefile.common PLIST
            buildlink3.mk distinfo
        pkgsrc/mail/dovecot2-ldap [pkgsrc-2017Q4]: Makefile
        pkgsrc/mail/dovecot2-sqlite [pkgsrc-2017Q4]: Makefile
        pkgsrc/mail/dovecot2/patches [pkgsrc-2017Q4]: patch-ab patch-ae
            patch-src_plugins_quota_quota-fs.c
Added Files:
        pkgsrc/mail/dovecot2/patches [pkgsrc-2017Q4]:
            patch-src_old-stats_mail-stats.h
Removed Files:
        pkgsrc/mail/dovecot2/patches [pkgsrc-2017Q4]:
            patch-src_stats_mail-stats.h

Log Message:
Pullup ticket #5713 - requested by taca
mail/dovecot2-ldap: security update
mail/dovecot2-sqlite: security update
mail/dovecot2: security update

Revisions pulled up:
- mail/dovecot2-ldap/Makefile                                   1.2
- mail/dovecot2-sqlite/Makefile                                 1.10
- mail/dovecot2/Makefile.common                                 1.16-1.18
- mail/dovecot2/PLIST                                           1.58-1.59
- mail/dovecot2/buildlink3.mk                                   1.26
- mail/dovecot2/distinfo                                        1.80-1.82
- mail/dovecot2/patches/patch-ab                                1.5
- mail/dovecot2/patches/patch-ae                                1.2
- mail/dovecot2/patches/patch-src_old-stats_mail-stats.h        1.1
- mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c      deleted
- mail/dovecot2/patches/patch-src_stats_mail-stats.h            deleted

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        fhajny
   Date:                Tue Jan  2 15:52:44 UTC 2018

   Modified Files:
        pkgsrc/mail/dovecot2: Makefile.common PLIST distinfo
        pkgsrc/mail/dovecot2-ldap: Makefile
        pkgsrc/mail/dovecot2-sqlite: Makefile
        pkgsrc/mail/dovecot2/patches: patch-ab patch-ae
            patch-src_plugins_quota_quota-fs.c
   Added Files:
        pkgsrc/mail/dovecot2/patches: patch-src_old-stats_mail-stats.h
   Removed Files:
        pkgsrc/mail/dovecot2/patches: patch-src_stats_mail-stats.h

   Log Message:
   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

   To generate a diff of this commit:
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/mail/dovecot2/Makefile.common
   cvs rdiff -u -r1.57 -r1.58 pkgsrc/mail/dovecot2/PLIST
   cvs rdiff -u -r1.79 -r1.80 pkgsrc/mail/dovecot2/distinfo
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/dovecot2-ldap/Makefile
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/dovecot2-sqlite/Makefile
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/mail/dovecot2/patches/patch-ab
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/mail/dovecot2/patches/patch-ae
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h
   cvs rdiff -u -r1.6 -r1.7 \
       pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c
   cvs rdiff -u -r1.2 -r0 \
       pkgsrc/mail/dovecot2/patches/patch-src_stats_mail-stats.h

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        maya
   Date:                Thu Jan  4 00:22:02 UTC 2018

   Modified Files:
        pkgsrc/mail/dovecot2: distinfo
   Removed Files:
        pkgsrc/mail/dovecot2/patches: patch-src_plugins_quota_quota-fs.c

   Log Message:
   dovecot2: remove now redundant patch.

   Heads up by jzu, thanks.

   To generate a diff of this commit:
   cvs rdiff -u -r1.80 -r1.81 pkgsrc/mail/dovecot2/distinfo
   cvs rdiff -u -r1.7 -r0 \
       pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        fhajny
   Date:                Mon Jan  8 13:03:15 UTC 2018

   Modified Files:
        pkgsrc/mail/dovecot2: buildlink3.mk

   Log Message:
   mail/dovecot2: bump ABI dependency to 2.3.0 for dovecot2-pigeonhole.

   To generate a diff of this commit:
   cvs rdiff -u -r1.25 -r1.26 pkgsrc/mail/dovecot2/buildlink3.mk

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        jperkin
   Date:                Wed Jan 24 15:16:49 UTC 2018

   Modified Files:
        pkgsrc/mail/dovecot2: Makefile.common

   Log Message:
   dovecot2: Don't automatically add compiler security features.

   To generate a diff of this commit:
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/dovecot2/Makefile.common

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Thu Mar  1 11:13:14 UTC 2018

   Modified Files:
        pkgsrc/mail/dovecot2: Makefile.common PLIST distinfo

   Log Message:
   mail/dovecot2: update to 2.3.0.1

   Small patch release to fix the worst bugs in v2.3.0. v2.3.1 is coming in about a month with a lot more changes.

    * CVE-2017-15130: TLS SNI config lookups may lead to excessive
      memory usage, causing imap-login/pop3-login VSZ limit to be reached
      and the process restarted. This happens only if Dovecot config has
      local_name { } or local { } configuration blocks and attacker uses
      randomly generated SNI servernames.
    * CVE-2017-14461: Parsing invalid email addresses may cause a crash or
      leak memory contents to attacker. For example, these memory contents
      might contain parts of an email from another user if the same imap
      process is reused for multiple users. First discovered by Aleksandar
      Nikolic of Cisco Talos. Independently also discovered by "flxflndy"
      via HackerOne.
    * CVE-2017-15132: Aborted SASL authentication leaks memory in login
      process.
    * Linux: Core dumping is no longer enabled by default via
      PR_SET_DUMPABLE, because this may allow attackers to bypass
      chroot/group restrictions. Found by cPanel Security Team. Nowadays
      core dumps can be safely enabled by using "sysctl -w
      fs.suid_dumpable=2". If the old behaviour is wanted, it can still be
      enabled by setting:
      import_environment=$import_environment PR_SET_DUMPABLE=1
    - imap-login with SSL/TLS connections may end up in infinite loop

   To generate a diff of this commit:
   cvs rdiff -u -r1.17 -r1.18 pkgsrc/mail/dovecot2/Makefile.common
   cvs rdiff -u -r1.58 -r1.59 pkgsrc/mail/dovecot2/PLIST
   cvs rdiff -u -r1.81 -r1.82 pkgsrc/mail/dovecot2/distinfo


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.2.1 pkgsrc/mail/dovecot2/Makefile.common
cvs rdiff -u -r1.57 -r1.57.2.1 pkgsrc/mail/dovecot2/PLIST
cvs rdiff -u -r1.25 -r1.25.2.1 pkgsrc/mail/dovecot2/buildlink3.mk
cvs rdiff -u -r1.79 -r1.79.2.1 pkgsrc/mail/dovecot2/distinfo
cvs rdiff -u -r1.1 -r1.1.14.1 pkgsrc/mail/dovecot2-ldap/Makefile
cvs rdiff -u -r1.9 -r1.9.2.1 pkgsrc/mail/dovecot2-sqlite/Makefile
cvs rdiff -u -r1.4 -r1.4.28.1 pkgsrc/mail/dovecot2/patches/patch-ab
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.60.1 pkgsrc/mail/dovecot2/patches/patch-ae
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h
cvs rdiff -u -r1.6 -r1.6.16.1 \
    pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/mail/dovecot2/patches/patch-src_stats_mail-stats.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/dovecot2/Makefile.common
diff -u pkgsrc/mail/dovecot2/Makefile.common:1.15 pkgsrc/mail/dovecot2/Makefile.common:1.15.2.1
--- pkgsrc/mail/dovecot2/Makefile.common:1.15   Sun Oct 22 07:07:34 2017
+++ pkgsrc/mail/dovecot2/Makefile.common        Fri Mar  2 21:24:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2017/10/22 07:07:34 adam Exp $
+# $NetBSD: Makefile.common,v 1.15.2.1 2018/03/02 21:24:18 spz Exp $
 #
 # when updating to a new release, update ABI depends in
 # the buildlink3.mk file as well, since the plugins' version
@@ -7,7 +7,7 @@
 # used by mail/dovecot2/Makefile
 # used by mail/dovecot2/Makefile.plugin
 
-DISTNAME=      dovecot-2.2.33.2
+DISTNAME=      dovecot-2.3.0.1
 CATEGORIES=    mail
 MASTER_SITES=  https://www.dovecot.org/releases/${PKGVERSION_NOREV:R:R}/
 
@@ -31,6 +31,9 @@ CONFIGURE_ARGS+=      --with-ssldir=${SSLDIR}
 CONFIGURE_ARGS+=       --without-gssapi
 CONFIGURE_ARGS+=       --without-ldap
 
+# Leave pkgsrc to enable compiler security features as appropriate.
+CONFIGURE_ARGS+=       --disable-hardening
+
 # Enable generic SQL backend support
 CONFIGURE_ARGS+=       --with-sql
 

Index: pkgsrc/mail/dovecot2/PLIST
diff -u pkgsrc/mail/dovecot2/PLIST:1.57 pkgsrc/mail/dovecot2/PLIST:1.57.2.1
--- pkgsrc/mail/dovecot2/PLIST:1.57     Thu Oct 12 10:34:28 2017
+++ pkgsrc/mail/dovecot2/PLIST  Fri Mar  2 21:24:18 2018
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.57 2017/10/12 10:34:28 adam Exp $
+@comment $NetBSD: PLIST,v 1.57.2.1 2018/03/02 21:24:18 spz 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/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
+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-private.h
 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-private.h
 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/ioloop.h
 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-seekable.h
 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-private.h
 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/mdbox-sync.h
 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/mkdir-parents.h
 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-cache.h
 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-plugin.h
 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/sha1.h
 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_virtual_plugin.la
 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_compress.la
 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/ipc
 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/rawlog
 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-kick.1
 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-pw.1
 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
 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
@@ -740,12 +765,14 @@ share/doc/dovecot/wiki/Design.Dcrypt.txt
 share/doc/dovecot/wiki/Design.DoveadmProtocol.HTTP.txt
 share/doc/dovecot/wiki/Design.DoveadmProtocol.txt
 share/doc/dovecot/wiki/Design.Dsync.txt
+share/doc/dovecot/wiki/Design.Events.txt
 share/doc/dovecot/wiki/Design.Indexes.Cache.txt
 share/doc/dovecot/wiki/Design.Indexes.MailIndexApi.txt
 share/doc/dovecot/wiki/Design.Indexes.MainIndex.txt
 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
@@ -878,6 +905,7 @@ share/doc/dovecot/wiki/Pigeonhole.Sieve.
 share/doc/dovecot/wiki/Pigeonhole.txt
 share/doc/dovecot/wiki/Plugins.Apparmor.txt
 share/doc/dovecot/wiki/Plugins.Autocreate.txt
+share/doc/dovecot/wiki/Plugins.CharsetAlias.txt
 share/doc/dovecot/wiki/Plugins.Compress.txt
 share/doc/dovecot/wiki/Plugins.Expire.txt
 share/doc/dovecot/wiki/Plugins.FTS.Lucene.txt
@@ -930,6 +958,7 @@ share/doc/dovecot/wiki/SharedMailboxes.S
 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 +1010,7 @@ share/examples/dovecot/conf.d/15-mailbox
 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
 share/examples/dovecot/conf.d/90-quota.conf
@@ -1001,3 +1031,4 @@ share/examples/dovecot/dovecot-openssl.c
 share/examples/dovecot/dovecot-sql.conf.ext
 share/examples/dovecot/dovecot.conf
 share/examples/dovecot/mkcert.sh
+@pkgdir etc/dovecot

Index: pkgsrc/mail/dovecot2/buildlink3.mk
diff -u pkgsrc/mail/dovecot2/buildlink3.mk:1.25 pkgsrc/mail/dovecot2/buildlink3.mk:1.25.2.1
--- pkgsrc/mail/dovecot2/buildlink3.mk:1.25     Thu Oct 12 10:34:28 2017
+++ pkgsrc/mail/dovecot2/buildlink3.mk  Fri Mar  2 21:24:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.25 2017/10/12 10:34:28 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.25.2.1 2018/03/02 21:24:18 spz Exp $
 
 BUILDLINK_TREE+=       dovecot
 
@@ -7,7 +7,7 @@ DOVECOT_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.dovecot+=                dovecot>=2.2.0
 # must match current package version for plugins to load
-BUILDLINK_ABI_DEPENDS.dovecot+=                dovecot>=2.2.33
+BUILDLINK_ABI_DEPENDS.dovecot+=                dovecot>=2.3.0
 BUILDLINK_PKGSRCDIR.dovecot?=          ../../mail/dovecot2
 
 pkgbase:=      dovecot

Index: pkgsrc/mail/dovecot2/distinfo
diff -u pkgsrc/mail/dovecot2/distinfo:1.79 pkgsrc/mail/dovecot2/distinfo:1.79.2.1
--- pkgsrc/mail/dovecot2/distinfo:1.79  Sun Oct 22 07:07:34 2017
+++ pkgsrc/mail/dovecot2/distinfo       Fri Mar  2 21:24:18 2018
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.79 2017/10/22 07:07:34 adam Exp $
+$NetBSD: distinfo,v 1.79.2.1 2018/03/02 21:24:18 spz Exp $
 
-SHA1 (dovecot-2.2.33.2.tar.gz) = c57f67d8056a487da66913253c0273270aa1eb8f
-RMD160 (dovecot-2.2.33.2.tar.gz) = c1d5d102e12a54659a35b9e3b575d9fd4ae28cc9
-SHA512 (dovecot-2.2.33.2.tar.gz) = 028910a4d02b1630f1ada4d1c45fcc3ea2057969db7078a78d46e2a578b4dceaf8be0ac8de4a613b4890019e721871f2d366ec651db658da4cc72977d3e09931
-Size (dovecot-2.2.33.2.tar.gz) = 6131086 bytes
+SHA1 (dovecot-2.3.0.1.tar.gz) = 911440fa278c7204b1257f4d861e7de123bf5305
+RMD160 (dovecot-2.3.0.1.tar.gz) = 6745d03a4b8d860476e2e7aacf91dd757b906037
+SHA512 (dovecot-2.3.0.1.tar.gz) = 2b30c46c1660f425f6303a15cf638388439fd7a8065c91d28caf41d9a6403a4fccb530df3f69037a634bc3b0b9e498037da6b0b93c176f5e3b5808907d3f759d
+Size (dovecot-2.3.0.1.tar.gz) = 6499984 bytes
 SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666
-SHA1 (patch-ab) = d637a64feec8e4eafacda149cf0193aa1b70a054
-SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656
+SHA1 (patch-ab) = 9db15fd853ba47ef4bf04f2adc9ab24f71ee4d1e
+SHA1 (patch-ae) = c795585df9f415ceabb28eec1ff691ee26168d3b
 SHA1 (patch-af) = c066e94dd6593d16eec3e66f5f4d26f021918498
 SHA1 (patch-src_imap_imap-client.h) = 1a2bf95ab6af57d88862a1512624bf263f4c2ce7
 SHA1 (patch-src_lib-ldap_ldap-private.h) = 2d5ce32330ad4164cc75f8d209ba499d37ed01fc
 SHA1 (patch-src_lib_connection.h) = c749dd1517902b6602f81e41bb90c6288a571487
-SHA1 (patch-src_plugins_quota_quota-fs.c) = c69305eb065a2417df1e8cd6ccbc1d317aee5d00
-SHA1 (patch-src_stats_mail-stats.h) = 36af4c9931953bf23c97d08fe50e0c299fe6c2c3
+SHA1 (patch-src_old-stats_mail-stats.h) = 0d40c618445c089af2646a6864c3e909812282af

Index: pkgsrc/mail/dovecot2-ldap/Makefile
diff -u pkgsrc/mail/dovecot2-ldap/Makefile:1.1 pkgsrc/mail/dovecot2-ldap/Makefile:1.1.14.1
--- pkgsrc/mail/dovecot2-ldap/Makefile:1.1      Mon Jul 18 15:03:05 2016
+++ pkgsrc/mail/dovecot2-ldap/Makefile  Fri Mar  2 21:24:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/07/18 15:03:05 fhajny Exp $
+# $NetBSD: Makefile,v 1.1.14.1 2018/03/02 21:24:18 spz Exp $
 #
 
 .include "../../mail/dovecot2/Makefile.plugin"
@@ -20,7 +20,7 @@ do-install:
                        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 \

Index: pkgsrc/mail/dovecot2-sqlite/Makefile
diff -u pkgsrc/mail/dovecot2-sqlite/Makefile:1.9 pkgsrc/mail/dovecot2-sqlite/Makefile:1.9.2.1
--- pkgsrc/mail/dovecot2-sqlite/Makefile:1.9    Thu Nov 30 16:45:29 2017
+++ pkgsrc/mail/dovecot2-sqlite/Makefile        Fri Mar  2 21:24:18 2018
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.9 2017/11/30 16:45:29 adam Exp $
+# $NetBSD: Makefile,v 1.9.2.1 2018/03/02 21:24:18 spz Exp $
 
-PKGREVISION= 1
 .include "../../mail/dovecot2/Makefile.plugin"
 
 PKGNAME=               ${DISTNAME:S/dovecot/dovecot-sqlite/}

Index: pkgsrc/mail/dovecot2/patches/patch-ab
diff -u pkgsrc/mail/dovecot2/patches/patch-ab:1.4 pkgsrc/mail/dovecot2/patches/patch-ab:1.4.28.1
--- pkgsrc/mail/dovecot2/patches/patch-ab:1.4   Mon Oct 20 10:15:16 2014
+++ pkgsrc/mail/dovecot2/patches/patch-ab       Fri Mar  2 21:24:18 2018
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.4 2014/10/20 10:15:16 wiz Exp $
+$NetBSD: patch-ab,v 1.4.28.1 2018/03/02 21:24:18 spz Exp $
 
---- doc/example-config/dovecot.conf.orig       2014-09-10 10:38:57.000000000 +0000
+--- doc/example-config/dovecot.conf.orig       2017-12-22 13:53:36.000000000 +0000
 +++ doc/example-config/dovecot.conf
 @@ -16,12 +16,9 @@
  # Default values are shown for each setting, it's not required to uncomment
@@ -11,8 +11,8 @@ $NetBSD: patch-ab,v 1.4 2014/10/20 10:15
 -# --sysconfdir=/etc --localstatedir=/var
  
  # Protocols we want to be serving.
--#protocols = imap pop3 lmtp
-+protocols = imap pop3 lmtp
+-#protocols = imap pop3 lmtp submission
++protocols = imap pop3 lmtp submission
  
  # A comma separated list of IPs or hosts where to listen in for connections. 
  # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.

Index: pkgsrc/mail/dovecot2/patches/patch-ae
diff -u pkgsrc/mail/dovecot2/patches/patch-ae:1.1.1.1 pkgsrc/mail/dovecot2/patches/patch-ae:1.1.1.1.60.1
--- pkgsrc/mail/dovecot2/patches/patch-ae:1.1.1.1       Fri Nov  5 12:00:39 2010
+++ pkgsrc/mail/dovecot2/patches/patch-ae       Fri Mar  2 21:24:18 2018
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1.1.1 2010/11/05 12:00:39 adam Exp $
+$NetBSD: patch-ae,v 1.1.1.1.60.1 2018/03/02 21:24:18 spz Exp $
 
---- doc/example-config/conf.d/auth-system.conf.ext.orig        2010-11-04 13:34:46.000000000 +0000
+--- doc/example-config/conf.d/auth-system.conf.ext.orig        2017-12-22 13:53:36.000000000 +0000
 +++ doc/example-config/conf.d/auth-system.conf.ext
 @@ -7,21 +7,21 @@
  # PAM is typically used with either userdb passwd or userdb static.
@@ -16,7 +16,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2010/11/05 1
 -}
 +#}
  
- # System users (NSS, /etc/passwd, or similiar).
+ # System users (NSS, /etc/passwd, or similar).
  # In many systems nowadays this uses Name Service Switch, which is
  # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
 -#passdb {
@@ -28,5 +28,5 @@ $NetBSD: patch-ae,v 1.1.1.1 2010/11/05 1
 -#}
 +}
  
- # Shadow passwords for system users (NSS, /etc/shadow or similiar).
+ # Shadow passwords for system users (NSS, /etc/shadow or similar).
  # Deprecated by PAM nowadays.

Index: pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c
diff -u pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c:1.6 pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c:1.6.16.1
--- pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c:1.6 Fri Apr  8 07:55:16 2016
+++ pkgsrc/mail/dovecot2/patches/patch-src_plugins_quota_quota-fs.c     Fri Mar  2 21:24:18 2018
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_plugins_quota_quota-fs.c,v 1.6 2016/04/08 07:55:16 adam Exp $
+$NetBSD: patch-src_plugins_quota_quota-fs.c,v 1.6.16.1 2018/03/02 21:24:18 spz Exp $
 
 Fix for missing declaration.
 
---- src/plugins/quota/quota-fs.c.orig  2016-04-08 07:46:25.000000000 +0000
+--- src/plugins/quota/quota-fs.c.orig  2017-12-22 13:53:41.000000000 +0000
 +++ src/plugins/quota/quota-fs.c
-@@ -680,7 +680,7 @@ fs_quota_get_netbsd(struct fs_quota_root
+@@ -700,7 +700,7 @@ fs_quota_get_netbsd(struct fs_quota_root
        struct quotakey qk;
        struct quotaval qv;
        struct quotahandle *qh;
@@ -12,4 +12,4 @@ Fix for missing declaration.
 +      int i, ret;
  
        if ((qh = quota_open(root->mount->mount_path)) == NULL) {
-               i_error("cannot open quota for %s: %m",
+               *error_r = t_strdup_printf("cannot open quota for %s: %m",

Added files:

Index: pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h
diff -u /dev/null pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h:1.1.2.2
--- /dev/null   Fri Mar  2 21:24:19 2018
+++ pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h       Fri Mar  2 21:24:18 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_old-stats_mail-stats.h,v 1.1.2.2 2018/03/02 21:24:18 spz Exp $
+
+Fix build under NetBSD (at least amd64 7.0_BETA).
+
+--- src/old-stats/mail-stats.h.orig    2016-12-03 17:13:21.000000000 +0000
++++ src/old-stats/mail-stats.h
+@@ -9,6 +9,10 @@
+ 
+ struct stats_send_ctx;
+ 
++#ifdef __NetBSD__
++#include <sys/time.h>
++#endif
++
+ struct mail_command {
+       struct mail_command *stable_prev, *stable_next;
+       struct mail_command *session_prev, *session_next;



Home | Main Index | Thread Index | Old Index