pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail
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
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.16
--- pkgsrc/mail/dovecot2/Makefile.common:1.15 Sun Oct 22 07:07:34 2017
+++ pkgsrc/mail/dovecot2/Makefile.common Tue Jan 2 15:52:44 2018
@@ -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 @@ LICENSE= mit AND gnu-lgpl-v2.1 AND modif
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
Index: pkgsrc/mail/dovecot2/PLIST
diff -u pkgsrc/mail/dovecot2/PLIST:1.57 pkgsrc/mail/dovecot2/PLIST:1.58
--- pkgsrc/mail/dovecot2/PLIST:1.57 Thu Oct 12 10:34:28 2017
+++ pkgsrc/mail/dovecot2/PLIST Tue Jan 2 15:52:44 2018
@@ -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/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
@@ -746,6 +771,7 @@ share/doc/dovecot/wiki/Design.Indexes.Ma
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.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 +1008,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 +1029,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/distinfo
diff -u pkgsrc/mail/dovecot2/distinfo:1.79 pkgsrc/mail/dovecot2/distinfo:1.80
--- pkgsrc/mail/dovecot2/distinfo:1.79 Sun Oct 22 07:07:34 2017
+++ pkgsrc/mail/dovecot2/distinfo Tue Jan 2 15:52:44 2018
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.79 2017/10/22 07:07:34 adam Exp $
+$NetBSD: distinfo,v 1.80 2018/01/02 15:52:44 fhajny 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.tar.gz) = e5772a317f2df99329cd9c1289adfbc552fa6b84
+RMD160 (dovecot-2.3.0.tar.gz) = f78c06acc7e729fd1d80d7128df8a44a67bdf391
+SHA512 (dovecot-2.3.0.tar.gz) = 8d8591e371ba2ebf8d3c1561af49b970d8351c4acdde8a97ff0ab403bf4cad6e4d96e9556c9be747a85085552449cab4c52bb41bda36e1a822594ec87661ce7f
+Size (dovecot-2.3.0.tar.gz) = 6635541 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
+SHA1 (patch-src_plugins_quota_quota-fs.c) = 1bc23107c9d547badf2d976b6f2d0e8134e97338
Index: pkgsrc/mail/dovecot2-ldap/Makefile
diff -u pkgsrc/mail/dovecot2-ldap/Makefile:1.1 pkgsrc/mail/dovecot2-ldap/Makefile:1.2
--- pkgsrc/mail/dovecot2-ldap/Makefile:1.1 Mon Jul 18 15:03:05 2016
+++ pkgsrc/mail/dovecot2-ldap/Makefile Tue Jan 2 15:52:44 2018
@@ -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 @@ 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.10
--- pkgsrc/mail/dovecot2-sqlite/Makefile:1.9 Thu Nov 30 16:45:29 2017
+++ pkgsrc/mail/dovecot2-sqlite/Makefile Tue Jan 2 15:52:44 2018
@@ -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/}
Index: pkgsrc/mail/dovecot2/patches/patch-ab
diff -u pkgsrc/mail/dovecot2/patches/patch-ab:1.4 pkgsrc/mail/dovecot2/patches/patch-ab:1.5
--- pkgsrc/mail/dovecot2/patches/patch-ab:1.4 Mon Oct 20 10:15:16 2014
+++ pkgsrc/mail/dovecot2/patches/patch-ab Tue Jan 2 15:52:44 2018
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.4 2014/10/20 10:15:16 wiz Exp $
+$NetBSD: patch-ab,v 1.5 2018/01/02 15:52:44 fhajny 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.2
--- pkgsrc/mail/dovecot2/patches/patch-ae:1.1.1.1 Fri Nov 5 12:00:39 2010
+++ pkgsrc/mail/dovecot2/patches/patch-ae Tue Jan 2 15:52:44 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.2 2018/01/02 15:52:44 fhajny 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.7
--- 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 Tue Jan 2 15:52:44 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.7 2018/01/02 15:52:44 fhajny 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
--- /dev/null Tue Jan 2 15:52:44 2018
+++ pkgsrc/mail/dovecot2/patches/patch-src_old-stats_mail-stats.h Tue Jan 2 15:52:44 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_old-stats_mail-stats.h,v 1.1 2018/01/02 15:52:44 fhajny 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