On Fri, 25 Jan 2013 18:51:44 -0500 Mike Frysinger <vap...@gentoo.org> wrote:
> # Or set it via the global ebuild var FILECAPS: > # @CODE > # FILECAPS=( > # cap_net_raw bin/ping bin/ping6 > # ) > # @CODE Please don't. We have enough eclasses randomly exporting pkg_postinst(). The FILECAPS array consumes the same amount of space as pkg_postinst() phase declaration. There's no real benefit to this automagic. Yet, the phase function exported is *forced* to every single eclass consumer. Therefore, you are implicitly adding lines for people who will have to make sure that every single other pkg_postinst() you clobbered is called. Of course, assuming people would actually notice some of the other useless pkg_postinst() phases being clobbered... -- Best regards, Michał Górny
signature.asc
Description: PGP signature