From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S7ArT-00080t-Ln for garchives@archives.gentoo.org; Mon, 12 Mar 2012 19:24:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40568E08CD; Mon, 12 Mar 2012 19:24:23 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 0FB58E0DEB for ; Mon, 12 Mar 2012 19:21:53 +0000 (UTC) Received: from oxusltgw02.schlund.de (oxusltgw02.lxa.perfora.net [172.19.206.4]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0MFtvS-1S9yND0v5S-00EV2J; Mon, 12 Mar 2012 15:21:53 -0400 Date: Mon, 12 Mar 2012 15:21:53 -0400 (EDT) From: "Bruce Hill, Jr." To: gentoo-user@lists.gentoo.org Message-ID: <1015380101.609885.1331580113217.JavaMail.open-xchange@email.1and1.com> In-Reply-To: References: <1669924605.604523.1331575521916.JavaMail.open-xchange@email.1and1.com> Subject: Re: [gentoo-user] virtual/shadow Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v6.20.0-Rev36 X-Provags-ID: V02:K0:7hCSTP6Y03H6pw1CPlcfks4IFERxzsIg12zX7F3IMef J2FVPvIEDy2jylDOIdcgb0CTHscZ5X7mxm+1Ka1ECcmUaRuDnd aCIKf8YN7ztG4WX+kxyXH7DR6dmmaNpeY15nWcuG05s9o+W8ZY fyZTkY1GouUDJLmFY3gry12lceyb6Up1KvyqxMaiB92s8tW1E9 PbyAESdkqyoRvXbAj+7b5JaqaTjVw/LeWbfReOhQwGgqg/aPst pHZFR+dSZfIUleRe5Eyg1O0VhpkALCGGYVAV+6olP7Kq0STdzr iHBy4oOsmvUfwtO9LINn/FzdA3hDeAy9WfK5SnxRJsqNNNa59c 3iPJu8W+LbSL5Lu9LNEUu5c1sUstkpUwAhgy/02oWag+LRsD3T VMkf0hypJflwsi0vY70nXObhubY+q/rat2/5NQAYYJpFzxv65H Ys6WO X-Archives-Salt: ebaeca85-72dc-45b8-971d-2c4d05bf30bc X-Archives-Hash: 48f437216f2805af52300bebb48ccc4b On March 12, 2012 at 2:50 PM Paul Hartman wrote: > On Mon, Mar 12, 2012 at 1:05 PM, Bruce Hill, Jr. > wrote: > > These virtual apps are irritating me, and the fanboi answers in #gentoo > > are worse. > > > > What is the purpose of virtual/shadow and why would I want it? > > Virtual packages are kind of an abstraction layer for compatible > alternative packages. Other packages can depend on the virtual instead > of depending on every combination of possible alternatives, and the > user can install whichever of the alternatives he prefers. > > For example, MariaDB is a drop-in replacement for MySQL. From a > dependency standpoint, they are compatible. Instead of any program > depending on MySQL being modified to check for either MySQL or > MariaDB, virtual/mysql was created and it can be satisfied by either > dev-db/mysql or dev-db/mariadb being installed. > > In the case of shadow, he new virtual is to allow you to use either > sys-apps/shadow or sys-apps/hardened-shadow. See here: > http://www.gossamer-threads.com/lists/gentoo/dev/249394 > > If you view the virtual package's ebuild, this line is the key: > RDEPEND="|| ( >=sys-apps/shadow-4.1 sys-apps/hardened-shadow )" > > > HTH :) > Thanks for the kind explanation. I didn't realize hardened was not a profile (selinux is) and wondered why anything to do with hardened would even show up on my system(s). -- Happy Penguin Computers >`) 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ 662-269-2706; 662-491-8613 support at happypenguincomputers dot com http://www.happypenguincomputers.com