First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 15602
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nahor <nahor.j+gentoo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mod_php-4.3.1-r2.patch mod_php-4.3.1-r2.ebuild patch to use c-client instead of uw-imap patch Celestial Wizard 2003-05-02 07:02 0000 448 bytes Details | Diff
c-client-2002b.ebuild ebuild for c-client text/plain Celestial Wizard 2003-05-02 07:03 0000 1.38 KB Details
Makefile.patch Patch for Makefile to only build c-client library patch Celestial Wizard 2003-05-02 07:08 0000 2.15 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 15602 depends on: 20372 Show dependency tree
Bug 15602 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-02-12 17:52 0000
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 From SpanKY 2003-03-03 04:33:47 0000 -------
will php compile with imap support against Courier-imap ?

------- Comment #2 From Nahor 2003-03-11 16:13:57 0000 -------
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 From Celestial Wizard 2003-04-30 08:35:46 0000 -------
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 From Celestial Wizard 2003-05-02 06:58:53 0000 -------
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 From Celestial Wizard 2003-05-02 07:02:37 0000 -------
Created an attachment (id=11379) [details]
mod_php-4.3.1-r2.ebuild patch to use c-client instead of uw-imap

------- Comment #6 From Celestial Wizard 2003-05-02 07:03:28 0000 -------
Created an attachment (id=11380) [details]
ebuild for c-client

------- Comment #7 From Celestial Wizard 2003-05-02 07:04:37 0000 -------
(From update of attachment 11380 [details])
this ebuild also includes the patch from Ilya Volynets in bug 19442 for CLFAGS

------- Comment #8 From Celestial Wizard 2003-05-02 07:06:03 0000 -------
(From update of attachment 11380 [details])
this also includes the CFLAGS patch from Ilya Volynets in bug 19442

------- Comment #9 From Celestial Wizard 2003-05-02 07:07:19 0000 -------
the ebuild for c-client also includes the CLFAGS patch from Ilya Volynets from
bug 19442

------- Comment #10 From Celestial Wizard 2003-05-02 07:07:57 0000 -------
ok, well now I know where the comments go :)

opps

------- Comment #11 From Celestial Wizard 2003-05-02 07:08:24 0000 -------
Created an attachment (id=11381) [details]
Patch for Makefile to only build c-client library

------- Comment #12 From Robin Johnson 2003-05-23 13:27:04 0000 -------
bug link to ebuild for c-client

------- Comment #13 From Robin Johnson 2003-06-05 14:02:41 0000 -------
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 From Robin Johnson 2003-06-06 17:26:42 0000 -------
*** Bug 22334 has been marked as a duplicate of this bug. ***

------- Comment #15 From Robin Johnson 2003-06-26 11:52:11 0000 -------
It's been in CVS a file now, and works.

------- Comment #16 From Wayne Davison 2003-06-26 13:07:31 0000 -------
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 From Robin Johnson 2003-06-26 13:35:56 0000 -------
Ok, i've fixed that IUSE=xml2 wayne.

------- Comment #18 From Stuart Herbert (RETIRED) 2004-08-16 05:59:20 0000 -------
Closing (very) old bug.

First Last Prev Next    No search results available      Search page      Enter new bug