Since the ximian-connector for Evolution has just been open-sourced, a complete ebuild of it (including source) would be welcome. The source can be found here: http://ftp.ximian.com/pub/source/evolution/ I'd bet that all that needs to be done is to slightly change the ebuild so it doesn't require the user to fetch, but I don't really know. Thanks to everyone for doing such a great job with Gentoo Reproducible: Always Steps to Reproduce: 1. 2. 3.
It will be more than that, since the previous ebuild was binary, wasn't it? In any case, the forums report that you need to patch Makefiles slightly to add -lldap and -lresolv, but otherwise it is pretty straightforward.
Created attachment 31238 [details] ximian-connector-1.4.7.1.ebuild Attaching an ebuild for the recently GPL'd ximian-connector-1.4.7.1 Notes: * Obviously, needs testing in the real world to make sure Evolution does interoperate correctly with Exchange * OpenLDAP in Portage is not NTLM-encryption capable, so passwords travel as clear text! * I used some trickeration to deal with non-standard installation dirs
Created attachment 31239 [details] ximian-connector-1.4.7.1.ebuild "Trickeration" no longer required
Created attachment 31240 [details] ximian-connector-1.4.7.1.ebuild Fixed to not have extraneous entries in CONTENTS (package db key)
Created attachment 31242 [details] ximian-connector-1.4.7.1.ebuild Relaxed requirement for libsoup (>=2 --> >=1.99)
a few things on the ebuild : * RDEP : you probably need to specify evo version more precise (1.4 only (?)) * RDEP : make libsoup : =libsoup<ver>* , because of the 1.5 releases * DEP : $REDEPEND->${RDEPEND} typo * DEP : most of those buildtime deps are base profile, they don't have to be defined here * src_compile : abandon, use G2CONF="`use_with ldap openldap`" etc. * src_compile : set USE_DESTDIR="1" ebuild wide instead * src_install : to the scrapheap, it adds nothing
Created attachment 31287 [details] ximian-connector-1.4.7.1.ebuild foser, I have made the requested changes except one: I don't understand your request concerning libsoup. Connector requires >= libsoup-2.0.so, which is provided by Portage packages >=net-libs/libsoup-1.99. Am I misunderstanding you? Sourav
that is correct, but the next release (for evo 1.5/2.0) is going to be 2.2 and SLOTted 2.2 . So it's merely a precaution for when the next major release hits the tree : =net-libs/libsoup-1.99* (i don't expect ever a proper 2.0 release) Also drop the virtual/glibc dep.. it is implied by almost any other dep. libtool & gettext are in profile, if you don't need a specific version no need to mention them. however pkgconfig is needed and so is intltool (i assume -> didn't check the src myself). It's G2CONF btw (check the gnome2 eclass for how this works) .. and we usually set it like G2CONF="${G2CONF} etc." Still REDEPEND typo => RDEPEND
I am using this in amd64 right now. I would not call it stable, but it may not be the connector's fault.
Created attachment 31301 [details] ximian-connector-1.4.7.1.ebuild Foser, thanks for the explanations; here's another ebuild.
Thanks for the amazingly quick ebuild. It works great. About the dependencies though. When I emerged it, it failed on not having openldap available. I have never had openldap in my use flags. I emerged it and it worked perfectly, no stability issues at all (knock on wood).
Joe, Thanks for the feedback: "configure --help" is not consistent with the actual behavior, which is to require openldap no matter what. Sourav
Created attachment 31307 [details] ximian-connector-1.4.7.1.ebuild OpenLDAP now required, as demanded by configure script
Your ebuild is working great on two systems that I've tried so far...
Created attachment 31370 [details] ximian-connector-1.4.7.1.ebuild Removed "ldap" from "IUSE", since it's required no matter what.
Since the ebuild has a dependency on OpenLDAP, can anyone point me in the right direction for getting openLdap to build? I keep getting errors about not being able to find usable POSIX threads. I know its slightly OT for this bug, but since you can't have one without the other, I figured you guys would know, and then I can get the connector ebuild working.
I haven't been able to get the global address list to work with the ximian-connector built with this ebuild. It works fine with the binary 1.4.6.0.6.1 package. Has anyone had success here? the connector binary is linked against libldap, but any attempt to query for users gives me a can't connect to ldap message.
The plugin works nicely for me...
important to get this some testing... ebuild seems fine as it is
Found out why the global address list doesn't work for me with the source built connector. Openldap isn't built with Ximian's NTLM patch. Work's active directory server requires NTLM authentication. The binary connector is statically linked against the ldap libs with their NTLM patch applied making it work. I think ideally, we need two ebuilds, one for source and one to keep using the binary ones. Unless someone wants to convince the ldap people to use ximian's ntlm patch.
Seems as though openldap must be recompiled with a patch from ximian in order for the GAL to work correctly. The patch which is needed is docs/openldap-ntlm.diff
This ebuild's dependency needs to be changed from net-mail/evolution to mail-client/evolution.
Created attachment 32749 [details] ximian-connector-1.4.7.1.ebuild Fixed net-mail -> mail-client error
Thanks for the good work on this ebuild. Can't seem to find ximian-connector 1.4.6 any more online and was great to compile from source anyway. Just wanted to let you know I compiled and have been running an Exchange account on the 1.4.7 build all day. Seems to be no problem so far. Thanks.
if one of the devs on CC has time to test it & put this in at this point for the gnome team, please go ahead. Do pay special attention to the ldap problem, i guess we should check the extent of the patching to ldap with our ldap maintainers and if the patch can be applied in general we should work from there, but this can be added at a later point.
another potential solution to the ldap problem is having the ebuild build a local static binary with the ntlm patch and then link it statically against that openldap library. Not ideal but it'd work. I ended up doing this manually.
i'm going to attach an openldap-2.1.30-r2 with the ntlm patch for people who can test with an exchange server to try out. if it works, then at least we can try to convince the gentoo openldap maintainers on including it.
Created attachment 34288 [details] openldap-2.1.30-r2.ebuild
Created attachment 34289 [details, diff] openldap-2.1.30-ximian_connector.patch
Note that ximian-connector 1.4.7.2 is what is avaiable from Novell now. :p
I've just tested this patch on my system and it works great for me; no problems connecting to my exchange server. (Toshiba S1 Pentium M Laptop)
For some reason Novell has decided to not have a tar.gz available for 1.4.7.2. Seems its not a supported platform.
Sorry, I was too quick. The source should still be in the same place, but Novell has just neglected to update it with the latest tarball.
Created attachment 35403 [details, diff] Diff created from CVS (cvs.gnome.org) between CONNECTOR_1_4_7_1 and CONNECTOR_1_4_7_2 Applying this patch will upgrade 1.4.7.1 to 1.4.7.2 and now my tasks list works fine! :-)
*** Bug 56216 has been marked as a duplicate of this bug. ***
*** Bug 58340 has been marked as a duplicate of this bug. ***
To get the openldap-2.1.30-ximian_connector.patch to work, you must replace the "openldap-2.1.23" with "openldap-2.1.30".
Is this going to hit portage anytime soon?
1.4.7.2 is now on ftp.ximian.com.
thanks all for the contributions. ximian-connector-1.4.7.2 is now in portage.