Re: [gentoo-user] ebuild does not honnor PROVIDE direktive

2008-03-21 Thread Neil Bothwick
On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote:

 [ebuild  N] mail-mta/courier-0.58.0  USE=crypt fam ldap nls
 nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam
 -postgres -spell 6,957 kB [1]
 [ebuild  N]  app-crypt/gnupg-2.0.7-r1  USE=bzip2 
 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard 3,526 kB
 [ebuild  N]   mail-mta/ssmtp-2.61-r2  USE=ssl -ipv6 -mailwrapper
 -md5sum 53 kB
 [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0)
 [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2)
 
 What I can't understand is why emerge is trying to emerge ssmtp. I see
 that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and
 ssmtp PROVIDE. Can someone share som light why emerge doesn't use the
 PROVIDE=virtual/mta virtual/mda virtual/imapd line in
 courier-0.58.0.ebuild.

Because at the time gnupg is to emerge, courier is not installed, so it
uses the default mta, which is ssmtp. You could try

USE=-crypt emerge courier

to install it without needing gnupg, then emerge it normally. Then gnupg
will be pulled in, but courier will already satisfy the virtual/mta
dependency.


-- 
Neil Bothwick

No, you *can't* call 999 now. I'm downloading my mail.


signature.asc
Description: PGP signature


Re: [gentoo-user] ebuild does not honnor PROVIDE direktive

2008-03-21 Thread Dan Johansson
On Friday 21 March 2008, Neil Bothwick wrote:
 On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote:
  [ebuild  N] mail-mta/courier-0.58.0  USE=crypt fam ldap nls
  nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam
  -postgres -spell 6,957 kB [1]
  [ebuild  N]  app-crypt/gnupg-2.0.7-r1  USE=bzip2
  nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard 3,526 kB
  [ebuild  N]   mail-mta/ssmtp-2.61-r2  USE=ssl -ipv6 -mailwrapper
  -md5sum 53 kB
  [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0)
  [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2)
 
  What I can't understand is why emerge is trying to emerge ssmtp. I see
  that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and
  ssmtp PROVIDE. Can someone share som light why emerge doesn't use the
  PROVIDE=virtual/mta virtual/mda virtual/imapd line in
  courier-0.58.0.ebuild.

 Because at the time gnupg is to emerge, courier is not installed, so it
 uses the default mta, which is ssmtp. You could try

 USE=-crypt emerge courier

 to install it without needing gnupg, then emerge it normally. Then gnupg
 will be pulled in, but courier will already satisfy the virtual/mta
 dependency.

THANKS, that did it. (:-)

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


signature.asc
Description: This is a digitally signed message part.