1 |
On Saturday 26 January 2013 08:21:37 Michał Górny wrote: |
2 |
> On Fri, 25 Jan 2013 18:51:44 -0500 Mike Frysinger wrote: |
3 |
> > # Or set it via the global ebuild var FILECAPS: |
4 |
> > # @CODE |
5 |
> > # FILECAPS=( |
6 |
> > # cap_net_raw bin/ping bin/ping6 |
7 |
> > # ) |
8 |
> > # @CODE |
9 |
> |
10 |
> Please don't. We have enough eclasses randomly exporting |
11 |
> pkg_postinst(). |
12 |
|
13 |
i'm not terribly concerned for two reasons: |
14 |
- pkg_postinst should be discouraged in favor of pkg_preinst since postinst |
15 |
can't call `die` |
16 |
- most of the ebuilds that will be using fcaps don't use eclasses that export |
17 |
pkg_postinst thus they should be able to leverage it fine |
18 |
-mike |