1 |
On Wednesday 23 November 2011 19:31:11 Mike Frysinger wrote: |
2 |
> currently we blacklist certain phases (which is largely based on EAPI=0 and |
3 |
> blocking src_*) for enew{user,group}. moving forward, ferringb suggested |
4 |
> we invert this into a whitelist of allowed phases. |
5 |
> |
6 |
> afaict, the blacklisting + dev documentation has done a good job of |
7 |
> restricting calls to three places: pkg_{setup,preinst,postinst}. so |
8 |
> inverting the logic should largely be safe. on the off chance it isn't, i |
9 |
> think letting the ebuild `die` and getting it fixed up via bug reports is |
10 |
> acceptable (i grepped through the tree a bit and looked sane). |
11 |
|
12 |
committed: |
13 |
http://sources.gentoo.org/eclass/user.eclass?r1=1.10&r2=1.11 |
14 |
-mike |