-----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

Reply via email to