Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20372 - c-client ebuild
Summary: c-client ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 15602
  Show dependency tree
 
Reported: 2003-05-02 22:58 UTC by Celestial Wizard
Modified: 2003-06-26 11:52 UTC (History)
2 users (show)

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


Attachments
The Ebuild (c-client-2002b.ebuild,1.38 KB, text/plain)
2003-05-02 22:59 UTC, Celestial Wizard
Details
Patch for Makefile (Makefile.patch,2.15 KB, patch)
2003-05-02 22:59 UTC, Celestial Wizard
Details | Diff
A slightly improved c-client ebuild (c-client-2002c.ebuild,1.38 KB, text/plain)
2003-05-28 07:16 UTC, Wayne Davison
Details
Corresponding uw-imap patch (uw-imap.patch,920 bytes, patch)
2003-05-28 07:34 UTC, Wayne Davison
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.