From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JMVE7-0000uy-Dd for garchives@archives.gentoo.org; Tue, 05 Feb 2008 21:21:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A50A5E0436; Tue, 5 Feb 2008 21:21:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 81A6CE0436 for ; Tue, 5 Feb 2008 21:21:08 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 850BF659F9 for ; Tue, 5 Feb 2008 21:21:02 +0000 (UTC) Message-ID: <47A8D35E.4030708@gentoo.org> Date: Tue, 05 Feb 2008 13:21:34 -0800 From: Zac Medico User-Agent: Thunderbird 2.0.0.9 (X11/20071031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] VDB access References: <20080205010546.38414ec3@snowcone> In-Reply-To: <20080205010546.38414ec3@snowcone> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: c3bf14db-28f8-4a82-9cf0-859e4a4ed492 X-Archives-Hash: 3c332fef8206b0fc289260759f4c9720 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ciaran McCreesh wrote: > * Modify built_with_use so that it calls native_built_with_use if such > a function exists, and falls back to its own implementation otherwise. > > * Allow package managers that implement native_built_with_use to sandbox > off vdb completely, and ban all ebuild access to vdb. The problem that I see with native_built_with_use is that the package manager will then need to precisely implement the build_with_use interface along with any and all supported options (and this interface would effectively become part of the EAPI). If the package manager exposes a slightly lower level interface to the USE flags then build_with_use can use that instead, and the package manager won't have to implement the full build_with_use interface. For example, portageq currently supports a "metadata" command that can be used to query installed package metadata such as USE and IUSE. Perhaps we should use some type of interface similar to that. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHqNNc/ejvha5XGaMRAjseAKDQ73gjzGKR9Rdnz8o1EYxVI63v3QCgxAfA QCCmjfOLes0cZTpcPBuRCCI= =S5M6 -----END PGP SIGNATURE----- -- gentoo-dev@lists.gentoo.org mailing list