Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] restricting phases where enew{user,group} is allowed
Date: Sat, 26 Nov 2011 06:43:46
In Reply to: [gentoo-dev] restricting phases where enew{user,group} is allowed by Mike Frysinger
On Wednesday 23 November 2011 19:31:11 Mike Frysinger wrote:
> currently we blacklist certain phases (which is largely based on EAPI=0 and > blocking src_*) for enew{user,group}. moving forward, ferringb suggested > we invert this into a whitelist of allowed phases. > > afaict, the blacklisting + dev documentation has done a good job of > restricting calls to three places: pkg_{setup,preinst,postinst}. so > inverting the logic should largely be safe. on the off chance it isn't, i > think letting the ebuild `die` and getting it fixed up via bug reports is > acceptable (i grepped through the tree a bit and looked sane).
committed: -mike


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