Subject: Cyrus IMAP 2.2.4 not really stable
To: None <tech-pkg@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2004.salmi.ch>
List: tech-pkg
Date: 05/27/2004 03:04:13
--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

according to what I read on the info-cyrus mailing list there are some
bugs / problems with Cyrus IMAP 2.2.4 (which was added to pkgsrc a few
hours ago). Release 2.2.5 will be out in a few days[1]; in the meantime
either release 2.2.3 should be used or the attached patches[2][3] (taken
from ASG CVS) should be applied.


Regards, Jukka

[1] http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=29651
[2] https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/hash.c.diff?r1=1.11&r2=1.12
[3] https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/lmtpd.c.diff?r1=text&tr1=1.135&r2=text&tr2=1.134&f=u

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="hash.c.diff"

===================================================================
RCS file: /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib/hash.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- src/cyrus/lib/hash.c	2003/10/22 18:50:12	1.11
+++ src/cyrus/lib/hash.c	2004/05/24 14:32:34	1.12
@@ -1,5 +1,5 @@
 /* +++Date last modified: 05-Jul-1997 */
-/* $Id: hash.c,v 1.11 2003/10/22 18:50:12 rjs3 Exp $ */
+/* $Id: hash.c,v 1.12 2004/05/24 14:32:34 rjs3 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -300,7 +300,7 @@
 		    void *rock)
 {
       unsigned i;
-      bucket *temp;
+      bucket *temp, *temp_next;
 
       for (i=0;i<table->size; i++)
       {
@@ -308,8 +308,9 @@
             {
                   for (temp = (table->table)[i];
                         NULL != temp;
-                        temp = temp -> next)
+                        temp = temp_next)
                   {
+			temp_next = temp->next;
                         func(temp -> key, temp->data, rock);
                   }
             }

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="lmtpd.c.diff"

===================================================================
RCS file: /afs/andrew.cmu.edu/system/cvs/src/cyrus/imap/lmtpd.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- src/cyrus/imap/lmtpd.c	2004/03/11 14:59:12	1.134
+++ src/cyrus/imap/lmtpd.c	2004/05/19 14:52:55	1.135
@@ -1,6 +1,6 @@
 /* lmtpd.c -- Program to deliver mail to a mailbox
  *
- * $Id: lmtpd.c,v 1.134 2004/03/11 14:59:12 ken3 Exp $
+ * $Id: lmtpd.c,v 1.135 2004/05/19 14:52:55 rjs3 Exp $
  * Copyright (c) 1998-2003 Carnegie Mellon University.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -97,7 +97,7 @@
 /* forward declarations */
 static int deliver(message_data_t *msgdata, char *authuser,
 		   struct auth_state *authstate);
-static int verify_user(const char *user, const char *domain, const char *mailhox,
+static int verify_user(const char *user, const char *domain, const char *mailbox,
 		       long quotacheck,
 		       struct auth_state *authstate);
 static char *generate_notify(message_data_t *m);

--0OAP2g/MAC+5xKAE--