|Summary:||PHP imap UW-imap Courier-imap|
|Product:||Gentoo Linux||Reporter:||Nahor <nahor.j+gentoo>|
|Component:||[OLD] Development||Assignee:||PHP Bugs <php-bugs>|
|Severity:||minor||CC:||celestialwizard, elcondor+bugzilla, gentoo, grandmasterlinux|
|Package list:||Runtime testing required:||---|
|Bug Depends on:||20372|
mod_php-4.3.1-r2.ebuild patch to use c-client instead of uw-imap
ebuild for c-client
Patch for Makefile to only build c-client library
Description Nahor 2003-02-12 17:52:19 UTC
This bug is related to bug 72 and bug 15177. So sumarize, when one uses Courier-imap and wants to install PHP (with the USE keyword IMAP), he still has to install UW-imap. That quite confusing. Looking on the newsgroups, I found this post: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=97mgh5%24i2u%241%40FreeBSD.csie.NCTU.edu.tw It explains how to compile only the part of UW-imap required for PHP. If I understand well the use of virtual packages, I suggest then to have a virtual package imap-c-client and a package uw-imap-c-client. uw-imap-c-client will only provide the libc-client from uw-imap. Both uw-imap-c-client and the regular uw-imap package would satisfy imap-c-client. PHP would only require (if keyword IMAP is defined that is) imap-c-client.
Comment 1 SpanKY 2003-03-03 04:33:47 UTC
will php compile with imap support against Courier-imap ?
Comment 2 Nahor 2003-03-11 16:13:57 UTC
From bug 72, PHP currently _requires_ UW for compiling. It doesn't work with Courier alone. The thing is that PHP doesn't require the full UW-Imap package, only a specific library (and I'm not even sure that it need UW at all at runtime, only a compilation time). That why I'm suggesting to have a package that is only a subset of UW, to have what is require for PHP without having a full IMAP package
Comment 3 Celestial Wizard 2003-04-30 08:35:46 UTC
This is correct. c-client is the library containing end app client functions. PHP does indeed require c-client. I agree that the IMAP USE keyword is misleading and in this case incorrect. A separate package should be created to to provide c-client functionality only.
Comment 4 Celestial Wizard 2003-05-02 06:58:53 UTC
I have written a c-client ebuild and modified the mod_php ebuild so that imap in mod_php uses c-client instead of uw-imap if USE="imap"
Comment 5 Celestial Wizard 2003-05-02 07:02:37 UTC
Created attachment 11379 [details, diff] mod_php-4.3.1-r2.ebuild patch to use c-client instead of uw-imap
Comment 6 Celestial Wizard 2003-05-02 07:03:28 UTC
Created attachment 11380 [details] ebuild for c-client
Comment 7 Celestial Wizard 2003-05-02 07:04:37 UTC
Comment on attachment 11380 [details] ebuild for c-client this ebuild also includes the patch from Ilya Volynets in bug 19442 for CLFAGS
Comment 8 Celestial Wizard 2003-05-02 07:06:03 UTC
Comment on attachment 11380 [details] ebuild for c-client this also includes the CFLAGS patch from Ilya Volynets in bug 19442
Comment 9 Celestial Wizard 2003-05-02 07:07:19 UTC
the ebuild for c-client also includes the CLFAGS patch from Ilya Volynets from bug 19442
Comment 10 Celestial Wizard 2003-05-02 07:07:57 UTC
ok, well now I know where the comments go :) opps
Comment 11 Celestial Wizard 2003-05-02 07:08:24 UTC
Created attachment 11381 [details, diff] Patch for Makefile to only build c-client library
Comment 12 Robin Johnson 2003-05-23 13:27:04 UTC
bug link to ebuild for c-client
Comment 13 Robin Johnson 2003-06-05 14:02:41 UTC
Just an update on this. Presently it looks like there will be a virtual, virtual/imap-c-client which will be provided by UW-Imap, VImap, and the c-client ebuild. Consider it a work in progress.
Comment 14 Robin Johnson 2003-06-06 17:26:42 UTC
*** Bug 22334 has been marked as a duplicate of this bug. ***
Comment 15 Robin Johnson 2003-06-26 11:52:11 UTC
It's been in CVS a file now, and works.
Comment 16 Wayne Davison 2003-06-26 13:07:31 UTC
The only thing I noticed when checking this was that the php.eclass no longer has xml2 listed in its IUSE flags even though it tests it. I'll file a separate bug report about this unless someone just wants to tweak it and check it in.
Comment 17 Robin Johnson 2003-06-26 13:35:56 UTC
Ok, i've fixed that IUSE=xml2 wayne.
Comment 18 Stuart Herbert (RETIRED) 2004-08-16 05:59:20 UTC
Closing (very) old bug.