Re: [gentoo-portage-dev] [RFC] Depending on active version

2007-01-31 Thread Stephen Bennett
On Tue, 30 Jan 2007 17:06:51 +0100
Marius Mauch [EMAIL PROTECTED] wrote:

 The idea is to add a special category (let's call it active for
 now) that has the following properties:
 - this category doesn't exist in portdir or vdb (= no ebuilds)
 - when portage ($pkgmanager) encounters a active/foo atom in a
 dependency string it executes some special code (e.g.
 $PORTDIR/scripts/active-check/foo =active/foo-1) to determine if
 that atom is satisfied

Given that in the general case the package manager can't change the
active provider and will have to bail with an appropriate message that
the user needs to change it themselves, the obvious solution to this is
the previously-discussed-somewhere-I-can't-remember ebuild function,
called on depgraph creation, to check that it will be able to compile
in the current system environment. It's considerably simpler and more
generally useful than subverting DEPEND to add weird special-case hacks
to it.
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] tiny manpage fix

2006-05-27 Thread Stephen Bennett
On Thu, 25 May 2006 21:57:30 -0400
Alec Warner [EMAIL PROTECTED] wrote:

 +.B sesandbox
 +Enable sandbox\-ing with selinux support, such that the selinux
 contexts are set properly. 
 +.TP

The description isn't quite accurate -- what it does is to spawn
sandboxed processes in a more restricted domain to provide some
kernel-level confinement of the build process. SELinux contexts will
get set properly regardless of whether sesandbox is enabled or not.
-- 
gentoo-portage-dev@gentoo.org mailing list