Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50801 - EBuild request for the newly open-sourced Ximian-Connector for MS Exchange
Summary: EBuild request for the newly open-sourced Ximian-Connector for MS Exchange
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: EBUILD
: 56216 58340 (view as bug list)
Depends on: 58320
Blocks:
  Show dependency tree
 
Reported: 2004-05-11 15:02 UTC by Joe McNamee
Modified: 2004-08-05 20:10 UTC (History)
20 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,1.68 KB, text/plain)
2004-05-11 23:15 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,1.28 KB, text/plain)
2004-05-11 23:43 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,1.29 KB, text/plain)
2004-05-12 00:01 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,1.29 KB, text/plain)
2004-05-12 00:32 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,874 bytes, text/plain)
2004-05-12 12:05 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,869 bytes, text/plain)
2004-05-12 15:53 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,834 bytes, text/plain)
2004-05-12 18:41 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,829 bytes, text/plain)
2004-05-13 14:32 UTC, Hypnos
Details
ximian-connector-1.4.7.1.ebuild (ximian-connector-1.4.7.1.ebuild,832 bytes, text/plain)
2004-06-05 14:40 UTC, Barrie Dempster
Details
openldap-2.1.30-r2.ebuild (openldap-2.1.30-r2.ebuild,7.31 KB, text/plain)
2004-06-27 11:08 UTC, Alastair Tse (RETIRED)
Details
openldap-2.1.30-ximian_connector.patch (openldap-2.1.30-ximian_connector.patch,6.28 KB, patch)
2004-06-27 11:08 UTC, Alastair Tse (RETIRED)
Details | Diff
Diff created from CVS (cvs.gnome.org) between CONNECTOR_1_4_7_1 and CONNECTOR_1_4_7_2 (ximian-connector-1.4.7.2.patch,87.95 KB, patch)
2004-07-14 08:59 UTC, Dave Shanker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe McNamee 2004-05-11 15:02:44 UTC
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.
Comment 1 Jacob Smullyan 2004-05-11 20:02:33 UTC
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.
Comment 2 Hypnos 2004-05-11 23:15:44 UTC
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
Comment 3 Hypnos 2004-05-11 23:43:52 UTC
Created attachment 31239 [details]
ximian-connector-1.4.7.1.ebuild

"Trickeration" no longer required
Comment 4 Hypnos 2004-05-12 00:01:53 UTC
Created attachment 31240 [details]
ximian-connector-1.4.7.1.ebuild

Fixed to not have extraneous entries in CONTENTS (package db key)
Comment 5 Hypnos 2004-05-12 00:32:40 UTC
Created attachment 31242 [details]
ximian-connector-1.4.7.1.ebuild

Relaxed requirement for libsoup (>=2 --> >=1.99)
Comment 6 foser (RETIRED) gentoo-dev 2004-05-12 06:10:50 UTC
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
Comment 7 Hypnos 2004-05-12 12:05:25 UTC
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
Comment 8 foser (RETIRED) gentoo-dev 2004-05-12 14:55:25 UTC
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
Comment 9 WIll Saxon 2004-05-12 15:37:05 UTC
I am using this in amd64 right now. I would not call it stable, but it may not be the connector's fault. 
Comment 10 Hypnos 2004-05-12 15:53:13 UTC
Created attachment 31301 [details]
ximian-connector-1.4.7.1.ebuild

Foser, thanks for the explanations; here's another ebuild.
Comment 11 Joe McNamee 2004-05-12 18:09:04 UTC
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).
Comment 12 Hypnos 2004-05-12 18:35:58 UTC
Joe,

Thanks for the feedback: "configure --help" is not consistent with the actual behavior, which is to require openldap no matter what.


Sourav
Comment 13 Hypnos 2004-05-12 18:41:21 UTC
Created attachment 31307 [details]
ximian-connector-1.4.7.1.ebuild

OpenLDAP now required, as demanded by configure script
Comment 14 Vermyndax 2004-05-13 13:46:45 UTC
Your ebuild is working great on two systems that I've tried so far...
Comment 15 Hypnos 2004-05-13 14:32:57 UTC
Created attachment 31370 [details]
ximian-connector-1.4.7.1.ebuild

Removed "ldap" from "IUSE", since it's required no matter what.
Comment 16 Rob Cowell 2004-05-20 06:43:50 UTC
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.
Comment 17 Andy Wang 2004-05-20 11:39:20 UTC
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.
Comment 18 Paul Kronenwetter 2004-05-26 10:54:15 UTC
The plugin works nicely for me...
Comment 19 foser (RETIRED) gentoo-dev 2004-05-26 16:09:01 UTC
important to get this some testing... ebuild seems fine as it is
Comment 20 Andy Wang 2004-05-27 07:02:42 UTC
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.
Comment 21 Dave Shanker 2004-05-27 07:43:30 UTC
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
Comment 22 Andrew Baudouin 2004-06-03 08:57:28 UTC
This ebuild's dependency needs to be changed from net-mail/evolution to mail-client/evolution.
Comment 23 Barrie Dempster 2004-06-05 14:40:55 UTC
Created attachment 32749 [details]
ximian-connector-1.4.7.1.ebuild

Fixed net-mail -> mail-client error
Comment 24 slynn@granite-mtn.net 2004-06-08 14:32:17 UTC
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.
Comment 25 foser (RETIRED) gentoo-dev 2004-06-17 09:37:36 UTC
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.
Comment 26 Andy Wang 2004-06-17 18:03:03 UTC
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.
Comment 27 Alastair Tse (RETIRED) gentoo-dev 2004-06-27 11:07:15 UTC
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.
Comment 28 Alastair Tse (RETIRED) gentoo-dev 2004-06-27 11:08:16 UTC
Created attachment 34288 [details]
openldap-2.1.30-r2.ebuild
Comment 29 Alastair Tse (RETIRED) gentoo-dev 2004-06-27 11:08:51 UTC
Created attachment 34289 [details, diff]
openldap-2.1.30-ximian_connector.patch
Comment 30 Don Seiler (RETIRED) gentoo-dev 2004-06-29 09:43:09 UTC
Note that ximian-connector 1.4.7.2 is what is avaiable from Novell now.  :p
Comment 31 Grant Likely 2004-06-30 09:35:26 UTC
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)
Comment 32 Alwyn Schoeman 2004-07-06 21:03:22 UTC
For some reason Novell has decided to not have a tar.gz available for 1.4.7.2.
Seems its not a supported platform.
Comment 33 Alwyn Schoeman 2004-07-06 21:10:49 UTC
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.
Comment 34 Dave Shanker 2004-07-14 08:59:08 UTC
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! :-)
Comment 35 Martin Holzer (RETIRED) gentoo-dev 2004-07-27 00:40:59 UTC
*** Bug 56216 has been marked as a duplicate of this bug. ***
Comment 36 Martin Holzer (RETIRED) gentoo-dev 2004-07-27 00:41:17 UTC
*** Bug 58340 has been marked as a duplicate of this bug. ***
Comment 37 Daniel Krieg 2004-08-01 23:48:09 UTC
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".
Comment 38 Alex Tribble 2004-08-03 00:02:24 UTC
Is this going to hit portage anytime soon?
Comment 39 Alex Tribble 2004-08-03 00:03:46 UTC
Is this going to hit portage anytime soon?
Comment 40 Dave Shanker 2004-08-03 11:18:34 UTC
1.4.7.2 is now on ftp.ximian.com.
Comment 41 Alastair Tse (RETIRED) gentoo-dev 2004-08-05 20:10:37 UTC
thanks all for the contributions. ximian-connector-1.4.7.2 is now in portage.