pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update mail/dovecot to 0.99.10.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00f72d613b79
branches:  trunk
changeset: 475868:00f72d613b79
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri May 28 22:20:42 2004 +0000

description:
Update mail/dovecot to 0.99.10.5.

v0.99.10.5 2003-12-27  Timo Sirainen <tss%iki.fi@localhost>

        + MySQL authentication, patch by Matthew Reimer
        + --with-moduledir configure option
        - mbox: APPEND reversed given \Draft and \Deleted flags
        - mbox: "LF not found" errors happened sometimes when X-IMAPbase
          header was updated. Possibly corrupted mbox sometimes.
          Thanks to Fabrice Bellet for finding this bug.
        - Custom flags couldn't be unset
        - Maildir: make sure ":2," is appended to filename when moving mails
          from new/ to cur/.
        - Maildir: synchronization might have sometimes set wrong flags to
          messages, or crash completely
        - Maildir: RENAME xx inbox.xx didn't result as uppercased ".INBOX.xx"
          directory which then couldn't be accessed
        - Don't crash with RAND_bytes() error messages anymore. This mostly
          happened with Fedora/RedHat.

pkgsrc changes:

        o Disable crammd5 patch, doesn't apply cleanly anymore.
        o Add a new option "DOVECOT_USE_MYSQL" to authenticate users
          against a mysql database.

diffstat:

 doc/CHANGES                   |   3 +-
 doc/TODO                      |   3 +-
 mail/dovecot/Makefile         |  16 +++++++++----
 mail/dovecot/distinfo         |  10 +++-----
 mail/dovecot/patches/patch-ab |  51 +++++++++---------------------------------
 mk/bsd.pkg.defaults.mk        |   7 +++++-
 6 files changed, 35 insertions(+), 55 deletions(-)

diffs (217 lines):

diff -r 50daa4189d66 -r 00f72d613b79 doc/CHANGES
--- a/doc/CHANGES       Fri May 28 22:16:56 2004 +0000
+++ b/doc/CHANGES       Fri May 28 22:20:42 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.6048 2004/05/28 22:16:56 recht Exp $
+$NetBSD: CHANGES,v 1.6049 2004/05/28 22:20:42 xtraeme Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -2671,3 +2671,4 @@
        Removed raw [dillo 2004-05-28]
        Updated docbook-simple to 1.1.b3 [minskim 2004-05-28]
        Updated py-pyrex to 0.9.2.1 [recht 2004-05-28]
+       Updated dovecot to 0.99.10.5 [xtraeme 2004-05-28]
diff -r 50daa4189d66 -r 00f72d613b79 doc/TODO
--- a/doc/TODO  Fri May 28 22:16:56 2004 +0000
+++ b/doc/TODO  Fri May 28 22:20:42 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.1790 2004/05/28 16:40:34 minskim Exp $
+$NetBSD: TODO,v 1.1791 2004/05/28 22:20:42 xtraeme Exp $
 
 Suggested new packages
 ======================
@@ -200,7 +200,6 @@
        o dmalloc-5.3.0
        o dnetc-2.9004-482 [pkg/22390]
        o docbook-4.3
-       o dovecot-0.99.10.5
        o dvd+rw-tools-5.19-1.4.9.7 [pkg/25433]
        o dvdrip-0.50.18
        o dylan-compiler-2.3.11
diff -r 50daa4189d66 -r 00f72d613b79 mail/dovecot/Makefile
--- a/mail/dovecot/Makefile     Fri May 28 22:16:56 2004 +0000
+++ b/mail/dovecot/Makefile     Fri May 28 22:20:42 2004 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.17 2004/03/26 02:27:43 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2004/05/28 22:20:42 xtraeme Exp $
 
-DISTNAME=              dovecot-0.99.10.4
-PKGREVISION=           2
+DISTNAME=              dovecot-0.99.10.5
 CATEGORIES=            mail
 MASTER_SITES=          http://dovecot.fi/
 
+.if 0
 PATCH_SITES=           http://www.roughtrade.net/dovecot/
 PATCHFILES=            dovecot-crammd5-0.99.10.2.diff
 PATCH_DIST_STRIP=      -p1
+.endif
 
 MAINTAINER=            tom%replic8.net@localhost
 HOMEPAGE=              http://dovecot.fi/
@@ -27,8 +28,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-BUILD_DEFS+=           DOVECOT_USE_GNUTLS DOVECOT_USE_PGSQL    \
-                       USE_INET6 USE_OPENLDAP USE_SASL2
+BUILD_DEFS+=           DOVECOT_USE_GNUTLS DOVECOT_USE_MYSQL \
+                       DOVECOT_USE_PGSQL USE_INET6 USE_OPENLDAP USE_SASL2
 
 .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-ssl=gnutls
@@ -38,6 +39,11 @@
 .  include "../../security/openssl/buildlink3.mk"
 .endif
 
+.if !empty(DOVECOT_USE_MYSQL:M[Yy][Ee][SS])
+CONFIGURE_ARGS+=       --with-mysql
+.  include "../../databases/mysql4-client/buildlink3.mk"
+.endif
+
 .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --with-pgsql
 CPPFLAGS=              -I${BUILDLINK_DIR}/include/pgsql
diff -r 50daa4189d66 -r 00f72d613b79 mail/dovecot/distinfo
--- a/mail/dovecot/distinfo     Fri May 28 22:16:56 2004 +0000
+++ b/mail/dovecot/distinfo     Fri May 28 22:20:42 2004 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.7 2003/12/09 04:06:37 xtraeme Exp $
+$NetBSD: distinfo,v 1.8 2004/05/28 22:20:43 xtraeme Exp $
 
-SHA1 (dovecot-0.99.10.4.tar.gz) = e4eabc78894e2c204d788521812497e021f45c08
-Size (dovecot-0.99.10.4.tar.gz) = 859856 bytes
-SHA1 (dovecot-crammd5-0.99.10.2.diff) = bd879993f2275bcafd9f6ae1e673114b0fbd82a2
-Size (dovecot-crammd5-0.99.10.2.diff) = 16476 bytes
+SHA1 (dovecot-0.99.10.5.tar.gz) = b9bef7b38e93bdbb0ec168e158b62b436d736589
+Size (dovecot-0.99.10.5.tar.gz) = 863825 bytes
 SHA1 (patch-aa) = 6ed31ba47883903e5a7b2fcb715432e0c3e8947c
-SHA1 (patch-ab) = 05efdd1f833cdf6a8df942f071c9961b31bd55e7
+SHA1 (patch-ab) = 4d8d0c850e20da0b948fdaa7d67a822663e6f0f9
diff -r 50daa4189d66 -r 00f72d613b79 mail/dovecot/patches/patch-ab
--- a/mail/dovecot/patches/patch-ab     Fri May 28 22:16:56 2004 +0000
+++ b/mail/dovecot/patches/patch-ab     Fri May 28 22:20:42 2004 +0000
@@ -1,20 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2003/12/09 04:06:37 xtraeme Exp $
+$NetBSD: patch-ab,v 1.4 2004/05/28 22:20:43 xtraeme Exp $
 
---- dovecot-example.conf.orig  2003-12-09 04:45:27.000000000 +0100
-+++ dovecot-example.conf       2003-12-09 04:50:48.000000000 +0100
-@@ -1,17 +1,15 @@
- ## Dovecot 1.0 configuration file
- 
- # Default values are shown after each value, it's not required to uncomment
--# any of the lines. Exception to this are paths, they're just examples
--# with real defaults being based on configure options. The paths listed here
--# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--# --with-ssldir=/etc/ssl
-+# any of the lines. Exception to this are paths, they're just examples with
-+# real defaults being based on configure options.
- 
- # Base directory where to store runtime data.
- #base_dir = /var/run/dovecot/
+--- dovecot-example.conf.orig  2004-05-29 00:13:10.000000000 +0200
++++ dovecot-example.conf       2004-05-29 00:15:24.000000000 +0200
+@@ -11,7 +11,7 @@
  
  # Protocols we want to be serving:
  #  imap imaps pop3 pop3s
@@ -23,7 +11,7 @@
  
  # IP or host address where to listen in for connections. It's not currently
  # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
-@@ -27,7 +25,7 @@
+@@ -27,7 +27,7 @@
  #pop3s_listen = 
  
  # Disable SSL/TLS support.
@@ -32,7 +20,7 @@
  
  # 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
-@@ -81,7 +79,7 @@
+@@ -81,7 +81,7 @@
  login = imap
  
  # Executable location.
@@ -41,7 +29,7 @@
  
  # User to use for the login process. Create a completely new user for this,
  # and don't use it anywhere else. The user must also belong to a group where
-@@ -126,7 +124,7 @@
+@@ -126,7 +126,7 @@
  login = pop3
  
  # Exception to above rule being the executable location.
@@ -50,16 +38,7 @@
  
  ##
  ## Mail processes
-@@ -318,7 +316,7 @@
- ##
- 
- # Executable location
--#imap_executable = /usr/libexec/dovecot/imap
-+imap_executable = @PREFIX@/libexec/dovecot/imap
- 
- # Set max. process size in megabytes. Most of the memory goes to mmap()ing
- # files, so it shouldn't harm much even if this limit is set pretty high.
-@@ -326,14 +324,14 @@
+@@ -326,14 +326,14 @@
  
  # Support for dynamically loadable modules.
  #imap_use_modules = no
@@ -76,7 +55,7 @@
  
  # Set max. process size in megabytes. Most of the memory goes to mmap()ing
  # files, so it shouldn't harm much even if this limit is set pretty high.
-@@ -341,7 +339,7 @@
+@@ -341,7 +341,7 @@
  
  # Support for dynamically loadable modules.
  #pop3_use_modules = no
@@ -85,20 +64,12 @@
  
  ##
  ## Authentication processes
-@@ -381,7 +379,7 @@
- #   ldap <config path>: LDAP, see doc/dovecot-ldap.conf
- #   pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
- #auth_userdb = passwd
--auth_userdb = pgsql /usr/local/etc/dovecot-pgsql.conf
-+auth_userdb = passwd
- 
- # Where password database is kept:
- #   passwd: /etc/passwd or similiar, using getpwnam()
-@@ -391,9 +389,9 @@
+@@ -390,9 +390,10 @@
  #   vpopmail: vpopmail authentication
  #   ldap <config path>: LDAP, see doc/dovecot-ldap.conf
  #   pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
 -auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
++#auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
 +auth_passdb = passwd
  
 -#auth_executable = /usr/libexec/dovecot/dovecot-auth
diff -r 50daa4189d66 -r 00f72d613b79 mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Fri May 28 22:16:56 2004 +0000
+++ b/mk/bsd.pkg.defaults.mk    Fri May 28 22:20:42 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.244 2004/05/27 09:28:15 recht Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.245 2004/05/28 22:20:42 xtraeme Exp $
 #
 
 # A file providing defaults for pkgsrc and the packages collection.
@@ -808,6 +808,11 @@
 # Possible: YES, NO
 # Default: NO
 
+DOVECOT_USE_MYSQL?=    NO
+# Used by dovecot package to determive whether to enable MySQL support.
+# Possible: YES, NO
+# Default: NO
+
 DOVECOT_USE_PGSQL?=    NO
 # Used by dovecot package to determine whether to enable PostgreSQL support.
 # Possible: YES, NO



Home | Main Index | Thread Index | Old Index