Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] VDB access
Date: Tue, 05 Feb 2008 21:21:11
Message-Id: 47A8D35E.4030708@gentoo.org
In Reply to: [gentoo-dev] VDB access by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Ciaran McCreesh wrote:
5 > * Modify built_with_use so that it calls native_built_with_use if such
6 > a function exists, and falls back to its own implementation otherwise.
7 >
8 > * Allow package managers that implement native_built_with_use to sandbox
9 > off vdb completely, and ban all ebuild access to vdb.
10
11 The problem that I see with native_built_with_use is that the
12 package manager will then need to precisely implement the
13 build_with_use interface along with any and all supported options
14 (and this interface would effectively become part of the EAPI).
15
16 If the package manager exposes a slightly lower level interface to
17 the USE flags then build_with_use can use that instead, and the
18 package manager won't have to implement the full build_with_use
19 interface. For example, portageq currently supports a "metadata"
20 command that can be used to query installed package metadata such as
21 USE and IUSE. Perhaps we should use some type of interface similar
22 to that.
23
24 Zac
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v2.0.7 (GNU/Linux)
27
28 iD8DBQFHqNNc/ejvha5XGaMRAjseAKDQ73gjzGKR9Rdnz8o1EYxVI63v3QCgxAfA
29 QCCmjfOLes0cZTpcPBuRCCI=
30 =S5M6
31 -----END PGP SIGNATURE-----
32 --
33 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] VDB access Vlastimil Babka <caster@g.o>
Re: [gentoo-dev] VDB access Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>