Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild does not honnor PROVIDE direktive
Date: Fri, 21 Mar 2008 16:36:36
Message-Id: 200803211736.31890.Dan.Johansson@dmj.nu
In Reply to: Re: [gentoo-user] ebuild does not honnor PROVIDE direktive by Neil Bothwick
1 On Friday 21 March 2008, Neil Bothwick wrote:
2 > On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote:
3 > > [ebuild N ] mail-mta/courier-0.58.0 USE="crypt fam ldap nls
4 > > nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam
5 > > -postgres -spell" 6,957 kB [1]
6 > > [ebuild N ] app-crypt/gnupg-2.0.7-r1 USE="bzip2
7 > > nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard" 3,526 kB
8 > > [ebuild N ] mail-mta/ssmtp-2.61-r2 USE="ssl -ipv6 -mailwrapper
9 > > -md5sum" 53 kB
10 > > [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0)
11 > > [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2)
12 > >
13 > > What I can't understand is why emerge is trying to emerge ssmtp. I see
14 > > that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and
15 > > ssmtp PROVIDE. Can someone share som light why emerge doesn't use the
16 > > PROVIDE="virtual/mta virtual/mda virtual/imapd" line in
17 > > courier-0.58.0.ebuild.
18 >
19 > Because at the time gnupg is to emerge, courier is not installed, so it
20 > uses the default mta, which is ssmtp. You could try
21 >
22 > USE="-crypt" emerge courier
23 >
24 > to install it without needing gnupg, then emerge it normally. Then gnupg
25 > will be pulled in, but courier will already satisfy the virtual/mta
26 > dependency.
27
28 THANKS, that did it. (:-)
29
30 --
31 Dan Johansson, <http://www.dmj.nu>
32 ***************************************************
33 This message is printed on 100% recycled electrons!
34 ***************************************************

Attachments

File name MIME type
signature.asc application/pgp-signature