Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild does not honnor PROVIDE direktive
Date: Fri, 21 Mar 2008 15:26:27
Message-Id: 20080321152623.285b0036@loonquawl.digimed.co.uk
In Reply to: [gentoo-user] ebuild does not honnor PROVIDE direktive by Dan Johansson
1 On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote:
2
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
29 --
30 Neil Bothwick
31
32 No, you *can't* call 999 now. I'm downloading my mail.

Attachments

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

Replies

Subject Author
Re: [gentoo-user] ebuild does not honnor PROVIDE direktive Dan Johansson <Dan.Johansson@×××.nu>