Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20372

Summary: c-client ebuild
Product: Gentoo Linux Reporter: Celestial Wizard <celestialwizard>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: enhancement CC: gentoo, php-bugs
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 15602    
Attachments: The Ebuild
Patch for Makefile
A slightly improved c-client ebuild
Corresponding uw-imap patch

Description Celestial Wizard 2003-05-02 22:58:35 UTC
Allows for uw-imap c-client library to be installed instead of the entire
uw-imap package.  useful for packages such as mod_php which have imap support,
but only require end application libraries.

See Bug 15602 for more details (also includes CFLAGS fix from 19442)
Comment 1 Celestial Wizard 2003-05-02 22:59:09 UTC
Created attachment 11423 [details]
The Ebuild
Comment 2 Celestial Wizard 2003-05-02 22:59:46 UTC
Created attachment 11424 [details, diff]
Patch for Makefile

Patch to only build the c-client library from uw-imap instead of the entire
package.
Comment 3 Wayne Davison 2003-05-28 07:09:19 UTC
One problem I see with this is that the uw-imap package duplicates all these
files, so we really need a package such as mod_php to be able to build with
either the c-client package OR uw-imap package installed.  So, I'd suggest
creating a virtual/c-client category and changing both this ebuild and the
uw-imap ebuild to PROVIDE it.  This package should also conflict with the
uw-imap package.

I'll attach a revised ebuild that has these changes and is made from the
uw-imap-2002c version (instead of the 2002b version).
Comment 4 Wayne Davison 2003-05-28 07:16:05 UTC
Created attachment 12486 [details]
A slightly improved c-client ebuild

This ebuild uses the us-imap-2002c1 source.  It differs from the other ebuild
in that it PROVIDEs virtual/c-client, it conflicts with net-mail/uw-imap, and
it does not bother patching the Makefile to not build things like imapd (it
just doesn't install them).

I wasn't sure what to do about the EXTRACFLAGS and EXTRALDFLAGS settings in
the previous c-client ebuild, but since the uw-imap-2002c ebuild doesn't set
them, I opted to leave them out of my c-client ebuild.
Comment 5 Wayne Davison 2003-05-28 07:34:22 UTC
Created attachment 12487 [details, diff]
Corresponding uw-imap patch

To round things out, the uw-imap ebuild would also need to PROVIDE the new
virtual/c-client category, so this patch adds that and also adds a conflict
with the c-client package.  While I was at it, I also added a MY_PN var so
that the imap filename isn't specified twice.
Comment 6 Wayne Davison 2003-06-03 00:46:09 UTC
Perhaps this bug should be assigned to Preston A. Elder or Robin Johnson
since they handled the uw-imap issues in bug 21565?

Discussion issue:  An alternative to my proposed creation of a new virtual
would be to remove the c-client lib & header files from the uw-imap ebuild.
That would probably be cleaner -- any opinions on the matter?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-05 14:01:05 UTC
See bug #15602 for ongoing work.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 11:52:35 UTC
In CVS.