On Sunday 22 October 2006 19:38, Francesco Riosa wrote:
> Roy Marples ha scritto:
> > On Sunday 22 October 2006 13:01, Francesco Riosa wrote:
> >> This is a nice thing for mysql since it can use two init scripts "mysql"
> >> and "mysqlmanager". Both provide "mysql".
> >
> > You cannot provide something that already exists, so msqld will have to
> > provide mysql.
>
> They are mutually exclusive either one or the other run, and are
> installed at the same time by dev-db/mysql

No, I mean that if an init script is called "foo" and "bar" provides foo then 
the script "foo" will always be used instead of "bar".

Basically you cannot provide something that exists in /etc/init.d

>
> >> Is there an environment variable usable in depend() that tell if this
> >> functionality is present?
> >
> > Nope. Why would you need to know this?
>
> because if "mysqlmanager" provide mysql _now_ all the < baselayout-1.13
> versions will complain loudly, that's because "provide mysql" is
> commented out in the current init.d/mysqlmanager::depend() ;)

RDEPEND=">baselayout-1.13.0_alpha1"
and slap a warning in the ebuild about downgrading.

Seriously though, poeple should only use baselayout features that found in 
stable baselyout. It took over a year for 1.12 to finally go stable - even 
then there were quite a few hiccups. 1.13 should be no different as we now 
have direct support for FreeBSD, vservers and now a vastly revamped 
dependancy system.

-- 
Roy Marples <[EMAIL PROTECTED]>
Gentoo/Linux/FreeBSD Developer (baselayout, networking)
-- 
[email protected] mailing list

Reply via email to