summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-04-04 09:38:46 +0000
committerghen <ghen@pkgsrc.org>2006-04-04 09:38:46 +0000
commitac62e6f946dc72d1d0af2fe7a80b865bf35a5bb4 (patch)
treec510cdbadb90a6e314397b3931685983a47ea8bc /mail
parent11104176dd68a007e875ba8705ad54e7af89b0d3 (diff)
downloadpkgsrc-ac62e6f946dc72d1d0af2fe7a80b865bf35a5bb4.tar.gz
Update Dovecot from 1.0beta3 to 1.0beta5. The beta4 release had SSL issues
which were fixed again in beta5. patch-ac and patch-ad were taken from CVS and are not needed anymore. Changes in Dovecot 1.0beta4: * Changed the default lock_method back to fcntl. Apparently flock gives problems with some systems. * mbox: mailboxes beginning with '.' are now also listed * Replaced mail_use_modules and mail_modules settings with mail_plugins and mail_plugin_dir. Now instead of loading all plugins from the directory, you'll have to give a list of plugins to load. If the plugin couldn't be loaded, the process exits instead of just ignoring the problem (this is important with ACL plugin). + Added support for "master users" who can log in as other people. The master username can be given either in authorization ID string with SASL PLAIN mechanism or by setting auth_master_user_separator and giving it within the normal username string. + Added ACL plugin with ACL file backend. This however doesn't mean that there yet exists a proper shared folder support. If master user logged in as someone else, the ACLs are checked as the master user. + Added some Dovecot extensions to checkpassword passdb, see ChangeLog + Updated passwd-file format to allow specifying any key=value fields + Maildir++ quota support and several quota fixes + passdb supporting extra fields: Added "allow_nets" option which takes a comma separated list of IPs/networks where to allow user to log in. + NFS: Handle ESTALE errors the best way we can + IMAP now writes to log when client disconnects + In shared mailboxes (if dovecot-shared file exists) \Seen flags are now kept only in index files, so as long as each user has a separate index file they have separate \Seen flags. - Fixes to DIGEST-MD5 realm handling so it works with more clients - BODYSTRUCTURE -> BODY conversion from cache file was broken with mails containing message/rfc822 parts. - Fixed several memory leaks - We could have sent client FETCH notifications about messages before telling about them with EXISTS - Compiling fixes for Solaris and some other OSes - Fixed problem with internal timeout handling code, which caused eg. outlook-idle workaround to break. - If /dev/urandom didn't exist, we didn't seed OpenSSL's random number generator properly. Patch by Vilmos Nebehaj. - Maildir: Recent flags weren't always immediately removed from mails when mailbox was opened. - Several changes to SSL proxying code, hopefully making it work better. Changes in Dovecot 1.0beta5: - Beta4's SSL proxying rewrite worked worse than I thought. Reverted it back to original code. - Filesystem quota plugin now looks up the mount path correctly.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot/Makefile5
-rw-r--r--mail/dovecot/PLIST5
-rw-r--r--mail/dovecot/distinfo15
-rw-r--r--mail/dovecot/patches/patch-aa10
-rw-r--r--mail/dovecot/patches/patch-ab46
-rw-r--r--mail/dovecot/patches/patch-ac41
-rw-r--r--mail/dovecot/patches/patch-ad23
-rw-r--r--mail/dovecot/patches/patch-ae13
8 files changed, 40 insertions, 118 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index a134f07d5c8..0db76dfc117 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2006/02/10 12:20:55 tv Exp $
+# $NetBSD: Makefile,v 1.47 2006/04/04 09:38:46 ghen Exp $
-DISTNAME= dovecot-1.0.beta3
+DISTNAME= dovecot-1.0.beta5
PKGNAME= ${DISTNAME:S/.beta/beta/}
-PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/
diff --git a/mail/dovecot/PLIST b/mail/dovecot/PLIST
index 11b6a170ea1..1b2d9add75c 100644
--- a/mail/dovecot/PLIST
+++ b/mail/dovecot/PLIST
@@ -1,12 +1,15 @@
-@comment $NetBSD: PLIST,v 1.8 2006/02/08 13:43:49 ghen Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/04/04 09:38:46 ghen Exp $
+lib/dovecot/imap/lib01_acl_plugin.so
lib/dovecot/imap/lib01_convert_plugin.so
lib/dovecot/imap/lib01_quota_plugin.so
lib/dovecot/imap/lib01_zlib_plugin.la
lib/dovecot/imap/lib02_imap_quota_plugin.la
lib/dovecot/imap/lib02_trash_plugin.so
+lib/dovecot/lda/lib01_acl_plugin.so
lib/dovecot/lda/lib01_convert_plugin.so
lib/dovecot/lda/lib01_quota_plugin.so
lib/dovecot/lda/lib02_trash_plugin.so
+lib/dovecot/lib01_acl_plugin.la
lib/dovecot/lib01_convert_plugin.la
lib/dovecot/lib01_quota_plugin.la
lib/dovecot/lib02_trash_plugin.la
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index 50d4e202df1..ff1d1a3e1a7 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.25 2006/03/13 09:35:27 ghen Exp $
+$NetBSD: distinfo,v 1.26 2006/04/04 09:38:46 ghen Exp $
-SHA1 (dovecot-1.0.beta3.tar.gz) = a5d1fc471c88b96e0ef9d7296b25450a1d7a1419
-RMD160 (dovecot-1.0.beta3.tar.gz) = 180e694ee78b73e69995096e1598cca427f6c87d
-Size (dovecot-1.0.beta3.tar.gz) = 1360574 bytes
-SHA1 (patch-aa) = be37d7ed741930e683028e6ea626aa1d312a328e
-SHA1 (patch-ab) = 4fc3888eb96692e82364295e3aae75f48a042982
-SHA1 (patch-ac) = 27de0de32111e351cd547cb5a9847a15e4c991a0
-SHA1 (patch-ad) = c390d007c60b80a6456c42f3512afdea76e5e03c
-SHA1 (patch-ae) = b34743e2276eff0c1fc37e0fd622fdd598c0bca3
+SHA1 (dovecot-1.0.beta5.tar.gz) = ba6521cb90fe93a94fb2bdcdfe81f122050697cf
+RMD160 (dovecot-1.0.beta5.tar.gz) = 2b0e74670c128aa4a1a8f905e30ff7a8dee2e511
+Size (dovecot-1.0.beta5.tar.gz) = 1401261 bytes
+SHA1 (patch-aa) = b2d48d991cb57f1ae99617d26a5d9f30fcdc4700
+SHA1 (patch-ab) = a674cc1cb195e31f7c8cd1cd2735c69e3562fca7
diff --git a/mail/dovecot/patches/patch-aa b/mail/dovecot/patches/patch-aa
index af042b31a89..be104a5b9d4 100644
--- a/mail/dovecot/patches/patch-aa
+++ b/mail/dovecot/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.5 2006/02/06 15:54:37 ghen Exp $
+$NetBSD: patch-aa,v 1.6 2006/04/04 09:38:46 ghen Exp $
---- Makefile.in.orig 2006-01-31 11:12:20.000000000 +0100
+--- Makefile.in.orig 2006-03-15 10:47:59.000000000 +0100
+++ Makefile.in
-@@ -212,7 +212,7 @@ SUBDIRS = \
+@@ -214,7 +214,7 @@ SUBDIRS = \
$(DOCS)
confdir = $(sysconfdir)
-conf_DATA = dovecot-example.conf
+conf_DATA =
EXTRA_DIST = \
- dovecot.spec \
- dovecot.spec.in \
+ COPYING.LGPL \
+ COPYING.MIT \
diff --git a/mail/dovecot/patches/patch-ab b/mail/dovecot/patches/patch-ab
index 353f2f4368f..c946ae45aa2 100644
--- a/mail/dovecot/patches/patch-ab
+++ b/mail/dovecot/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
+$NetBSD: patch-ab,v 1.12 2006/04/04 09:38:46 ghen Exp $
---- dovecot-example.conf.orig 2006-02-06 16:39:00.000000000 +0100
+--- dovecot-example.conf.orig 2006-03-15 10:47:59.000000000 +0100
+++ dovecot-example.conf
-@@ -5,17 +5,14 @@
+@@ -7,17 +7,14 @@
# value inside quotes, eg.: key = "# char and trailing whitespace "
# Default values are shown after each value, it's not required to uncomment
@@ -22,7 +22,7 @@ $NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
# IP or host address where to listen in for connections. It's not currently
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
-@@ -31,7 +28,7 @@
+@@ -43,7 +40,7 @@
#ssl_listen =
# Disable SSL/TLS support.
@@ -31,7 +31,7 @@ $NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
-@@ -420,19 +417,19 @@
+@@ -432,19 +429,19 @@
protocol imap {
# Login executable location.
@@ -55,16 +55,16 @@ $NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
# Maximum IMAP command line length in bytes. Some clients generate very long
# command lines with huge mailboxes, so you may need to raise this if you get
-@@ -441,7 +438,7 @@ protocol imap {
-
- # Support for dynamically loadable modules.
- #mail_use_modules = no
-- #mail_modules = /usr/lib/dovecot/imap
-+ #mail_modules = @PREFIX@/lib/dovecot/imap
+@@ -454,7 +451,7 @@ protocol imap {
+ # Support for dynamically loadable plugins. mail_plugins is a space separated
+ # list of plugins to load.
+ #mail_plugins =
+- #mail_plugin_dir = /usr/lib/dovecot/imap
++ #mail_plugin_dir = @PREFIX@/lib/dovecot/imap
# Send IMAP capabilities in greeting message. This makes it unnecessary for
# clients to request it with CAPABILITY command, so it saves one round-trip.
-@@ -481,10 +478,10 @@ protocol imap {
+@@ -494,10 +491,10 @@ protocol imap {
protocol pop3 {
# Login executable location.
@@ -77,16 +77,16 @@ $NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
# Don't try to set mails non-recent or seen with POP3 sessions. This is
# mostly intended to reduce disk I/O. With maildir it doesn't move files
-@@ -535,7 +532,7 @@ protocol pop3 {
-
- # Support for dynamically loadable modules.
- #mail_use_modules = no
-- #mail_modules = /usr/lib/dovecot/pop3
-+ #mail_modules = @PREFIX@/lib/dovecot/pop3
+@@ -549,7 +546,7 @@ protocol pop3 {
+ # Support for dynamically loadable plugins. mail_plugins is a space separated
+ # list of plugins to load.
+ #mail_plugins =
+- #mail_plugin_dir = /usr/lib/dovecot/pop3
++ #mail_plugin_dir = @PREFIX@/lib/dovecot/pop3
# Workarounds for various client bugs:
# outlook-no-nuls:
-@@ -553,7 +550,7 @@ protocol pop3 {
+@@ -567,7 +564,7 @@ protocol pop3 {
##
# Executable location
@@ -95,16 +95,16 @@ $NetBSD: patch-ab,v 1.11 2006/03/13 09:35:27 ghen Exp $
# Set max. process size in megabytes.
#auth_process_size = 256
-@@ -642,7 +639,7 @@ auth default {
- # Note that PAM can only be used to verify if user's password is correct,
- # so it can't be used as userdb. If you don't want to use a separate user
+@@ -664,7 +661,7 @@ auth default {
# database (passwd usually), you can use static userdb.
+ # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
+ # authentication to actually work.
- passdb pam {
+ #passdb pam {
# [session=yes] [cache_key=<key>] [<service name>]
#
# session=yes makes Dovecot open and immediately close PAM session. Some
-@@ -666,13 +663,13 @@ auth default {
+@@ -688,13 +685,13 @@ auth default {
# args = session=yes *
# args = cache_key=%u dovecot
#args = dovecot
diff --git a/mail/dovecot/patches/patch-ac b/mail/dovecot/patches/patch-ac
deleted file mode 100644
index 154b1d57329..00000000000
--- a/mail/dovecot/patches/patch-ac
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2006/02/12 02:47:32 grant Exp $
-
---- configure.orig 2006-02-08 21:13:57.000000000 +1100
-+++ configure
-@@ -27710,7 +27710,7 @@ pkg_failed=no
- echo "$as_me:$LINENO: checking for SSL" >&5
- echo $ECHO_N "checking for SSL... $ECHO_C" >&6
-
--if test -n "$PKG_CONFIG"; then
-+#if test -n "$PKG_CONFIG"; then
- if test -n "$SSL_CFLAGS"; then
- pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
- else
-@@ -27725,10 +27725,10 @@ else
- pkg_failed=yes
- fi
- fi
--else
-- pkg_failed=untried
--fi
--if test -n "$PKG_CONFIG"; then
-+#else
-+# pkg_failed=untried
-+#fi
-+#if test -n "$PKG_CONFIG"; then
- if test -n "$SSL_LIBS"; then
- pkg_cv_SSL_LIBS="$SSL_LIBS"
- else
-@@ -27743,9 +27743,9 @@ else
- pkg_failed=yes
- fi
- fi
--else
-- pkg_failed=untried
--fi
-+#else
-+# pkg_failed=untried
-+#fi
-
-
-
diff --git a/mail/dovecot/patches/patch-ad b/mail/dovecot/patches/patch-ad
deleted file mode 100644
index 91b4bf8d10a..00000000000
--- a/mail/dovecot/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2006/02/12 02:47:32 grant Exp $
-
---- src/lib-sql/Makefile.in.orig 2006-02-08 21:13:53.000000000 +1100
-+++ src/lib-sql/Makefile.in
-@@ -470,12 +470,16 @@ sql-drivers-register.c: Makefile
- echo '/* this file automatically generated by Makefile */' >$@
- echo '#include "lib.h"' >>$@
- echo '#include "sql-api.h"' >>$@
-- for i in $(sql_drivers) ; do \
-+ for i in $(sql_drivers) null; do \
-+ if [ "$${i}" != "null" ]; then \
- echo "extern struct sql_db driver_$${i}_db;" >>$@ ; \
-+ fi \
- done
- echo 'void sql_drivers_register_all(void) {' >>$@
-- for i in $(sql_drivers) ; do \
-+ for i in $(sql_drivers) null; do \
-+ if [ "$${i}" != "null" ]; then \
- echo "sql_driver_register(&driver_$${i}_db);" >>$@ ; \
-+ fi \
- done
- echo '}' >>$@
-
diff --git a/mail/dovecot/patches/patch-ae b/mail/dovecot/patches/patch-ae
deleted file mode 100644
index 45e56192f7c..00000000000
--- a/mail/dovecot/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2006/02/12 19:13:49 markd Exp $
-
---- src/auth/mech-gssapi.c.orig 2006-01-10 15:46:10.000000000 +1300
-+++ src/auth/mech-gssapi.c
-@@ -138,7 +138,7 @@ static OM_uint32 obtain_service_credenti
- return major_status;
- }
-
-- gss_release_name(&minor_status, gss_principal);
-+ gss_release_name(&minor_status, &gss_principal);
-
- return major_status;
- }