Summary: | PHP imap UW-imap Courier-imap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nahor <nahor.j+gentoo> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | minor | CC: | celestialwizard, elcondor+bugzilla, gentoo, grandmasterlinux |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 20372 | ||
Bug Blocks: | |||
Attachments: |
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
will php compile with imap support against Courier-imap ? 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 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. 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" Created attachment 11379 [details, diff]
mod_php-4.3.1-r2.ebuild patch to use c-client instead of uw-imap
Created attachment 11380 [details]
ebuild for c-client
Comment on attachment 11380 [details] ebuild for c-client this ebuild also includes the patch from Ilya Volynets in bug 19442 for CLFAGS Comment on attachment 11380 [details] ebuild for c-client this also includes the CFLAGS patch from Ilya Volynets in bug 19442 the ebuild for c-client also includes the CLFAGS patch from Ilya Volynets from bug 19442 ok, well now I know where the comments go :) opps Created attachment 11381 [details, diff]
Patch for Makefile to only build c-client library
bug link to ebuild for c-client 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. *** Bug 22334 has been marked as a duplicate of this bug. *** It's been in CVS a file now, and works. 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. Ok, i've fixed that IUSE=xml2 wayne. Closing (very) old bug. |