[Kolab-devel] patches for cyrus?

Richard Bos ml at radoeka.nl
Tue Oct 6 23:19:53 CEST 2009


Op dinsdag 06 oktober 2009 11:01:38 schreef Thomas Arendsen Hein:
> * Richard Bos <ml at radoeka.nl> [20091002 18:40]:
> > where can I find the patches for cyrus.  I expected them here:
> > http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/cyrus-imapd/cyr
> >us-imapd-2.3.13/ but that directory is clearly empty.  I'm actually
> > looking for the 2.3.14 and 2.3.15 patches.  The ones for 2.3.13 I already
> > have.
>
> The patches got moved below the imapd directory in HEAD, viewcvs
> does not show this in a useful manner.
>
> in kolab_2_2_branch the patches are still here:
> http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/cyrus-imapd/cyrus
>-imapd-2.3.13/?only_with_tag=kolab_2_2_branch
>
> In HEAD you'll find the patched for 2.3.14 here:
> http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/imapd/patches/cyrus-imapd
>-2.3.14/

Thanks Thomas.  Why is this patch 
KOLAB_cyrus-imapd-2.3.13_UID_configure_in.patch no longer provided.  
configure.in did not change between 2.3.13 and 2.3.14

Contents of the patch:
--- b/configure.in      2008-10-09 01:28:58.000000000 +0200
+++ a/configure.in      2008-11-12 08:38:08.000000000 +0100
@@ -1253,7 +1253,7 @@ for flag in ${ldflags} ${default_ldflags
 done

 IMAP_COM_ERR_LIBS="${COM_ERR_LIBS}"
-IMAP_LIBS="${LIB_SASL} ${LIBS} ${SQL_LIBS}"
+IMAP_LIBS="${LIB_SASL} -lldap -llber ${LIBS} ${SQL_LIBS}"

 AC_SUBST(LIB_RT)
 AC_SUBST(IMAP_COM_ERR_LIBS)


Now I have to admit the patch is also not present in the current patch 
location:
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/imapd/patches/cyrus-
imapd-2.3.13/
So one decided that it is nolonger needed?  Is that because a special 
configure argument is used, to active the -lldap and -llber?  If I call 
configure with the --with-ldap=%{_libdir} argument, the compilation stops with 
global.c:(.text+0xc4f): undefined reference to `ldap_.............'

What would be the correct argument to give to configure, to get ldap support 
compiled?


-- 
Richard




More information about the devel mailing list