Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424
Date: Thu, 23 Mar 2017 18:46:49
Message-Id: 20170323184635.3233779f@snowblower
In Reply to: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 by Alexis Ballier
1 On Thu, 23 Mar 2017 19:41:01 +0100
2 Alexis Ballier <aballier@g.o> wrote:
3 > > The PMS[0] says
4 > >
5 > > Ebuilds must not access [FILESDIR] in global scope.
6 > >
7 > > But, for example, autoconf-2.69-r2.ebuild does,
8 > >
9 > > if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then
10 > > source "${FILESDIR}"/eblits/main.eblit || die
11 > > fi
12 > >
13 > > in global scope.
14 > >
15 >
16 > Continuing to be the devil's advocate, it seems adding '&& -d
17 > ${FILESDIR}' to that if would fix the issue too. At least with all
18 > currently approved EAPIs.
19
20 Please stop. PMS was not written with the kind of resources needed to
21 deal with people deliberately trying to find loopholes.
22
23 --
24 Ciaran McCreesh

Replies