Gentoo Archives: gentoo-dev

From: "Robin H.Johnson" <robbat2@g.o>
To: gentoo-dev@g.o, gentoo-user@g.o
Subject: [gentoo-dev] PHP and IMAP dependancies - Followup
Date: Fri, 20 Jun 2003 18:16:07
Message-Id: 20030620181605.GA15849@cherenkov.orbis-terrarum.net
This is intended as a final followup to the repeated PHP IMAP
question(s) that keep re-occuring on these mailing lists.

Previously, PHP (dev-php/mod_php and dev-php/php) explictly depended on
net-mail/uw-imap, but only used the c-client libraries and headers from
the UW-IMAP. This raised MANY questions about why it did this, and
having multiple IMAP servers installed.

As the cleanest long term solution to it, I have created
net-libs/c-client, and virtual/imap-c-client.
PHP now depends on virtual/imap-c-client instead of uw-imap directly.

virtual/imap-c-client defaults to net-libs/c-client, but is also
provided by net-mail/uw-imap and net-mail/vimap (this is a fork of
uw-imap).

If you wish to remove uw-imap from your system since you only have it
there for PHP, here are some instructions:
=== START ===
# First ensure that nothing else needs uw-imap...
emerge unmerge net-mail/uw-imap
emerge net-libs/c-client
emerge dev-php/mod_php dev-php/php
==== END ====

This change does (should) not break any existing installations, so if
you don't change over to using uw-imap for any reasons, everything will
continue to work 100%.

If you find any bugs with this change, please submit them on bugzilla
and note that they should be assigned to robbat2@g.o.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@××××××××××××××.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85