[Dovecot] [PATCH] Compile cleaning against OpenLDAP 2.3.x

2007-04-12 Thread Roy Marples
Hi List

Looks like OpenLDAP 2.3 doesn't define LDAP_DEPRECATED [1] anymore which
causes a few warnings in Gentoo [2].

Attached is a patch that re-defines this so that dovecot can continue
using simple functions like ldap_bind().

Thanks

Roy

[1]
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00487.html

[2] http://bugs.gentoo.org/show_bug.cgi?id=162437diff -ur /tmp/dovecot-1.0.rc29/src/auth/db-ldap.h dovecot-1.0.rc29/src/auth/db-ldap.h
--- /tmp/dovecot-1.0.rc29/src/auth/db-ldap.h	2007-01-19 15:15:13.0 +
+++ dovecot-1.0.rc29/src/auth/db-ldap.h	2007-04-12 09:29:06.0 +0100
@@ -1,6 +1,10 @@
 #ifndef __DB_LDAP_H
 #define __DB_LDAP_H
 
+/* Functions like ldap_bind have been deprecated in openldap 2.3
+ * This define enables them until the code here can be refactored */
+#define LDAP_DEPRECATED 1
+
 #include 
 
 struct auth_request;


Re: [Dovecot] v1.0.0 released

2007-04-13 Thread Roy Marples
On Fri, 13 Apr 2007 15:04:23 +0300
Timo Sirainen <[EMAIL PROTECTED]> wrote:

> http://dovecot.org/releases/dovecot-1.0.0.tar.gz
> http://dovecot.org/releases/dovecot-1.0.0.tar.gz.sig
> 
> It took almost 5 years, but it's finally ready. I'm not expecting to
> release v1.0.1 anytime soon, unless someone's been sitting on a major
> bug just waiting for v1.0 to be released. :)

Congrats Timo!

In Gentoo right now :)

Thanks

Roy