Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] portage.package.ebuild: Use a fake FILESDIR to catch invalid accesses
Date: Thu, 16 Mar 2017 20:37:01
Message-Id: 1489696602.12313.4.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] portage.package.ebuild: Use a fake FILESDIR to catch invalid accesses by Ulrich Mueller
1 On czw, 2017-03-16 at 21:29 +0100, Ulrich Mueller wrote:
2 > > > > > > On Thu, 16 Mar 2017, Michał Górny wrote:
3 > > + mysettings["FILESDIR"] = os.path.join(settings["PORTAGE_BUILDDIR"], "files")
4 >
5 > I believe that this contradicts current PMS 11.1, which defines
6 > FILESDIR as follows: "The full path to the package's files directory,
7 > used for small support files or patches. See section 4.3."
8 >
9 > So maybe you should first propose a clarification of the PMS wording?
10
11 I think that 'full' in this context means 'absolute'. I don't think this
12 really requires us to use the 'original' path. But sure, I'll submit
13 a patch in a few minutes.
14
15 --
16 Best regards,
17 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature