Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sys-devel/bc: fix cross-compile builds #627126 | Mike Frysinger | 2018-09-17 | 1 | -0/+3 |
| | | | | Fixes: https://bugs.gentoo.org/627126 | ||||
* | sys-devel/bc: replace ed usage with sed | Mike Frysinger | 2018-09-17 | 1 | -1/+1 |
| | | | | | The ed usage here is minor and easy enough to convert to sed. This avoids a depend that no one else generally has. | ||||
* | sys-devel/bc: add support for --sandbox & USE=forced-sandbox | Mike Frysinger | 2018-09-17 | 1 | -0/+65 |
The dc tool has an ! command which allows for arbitrary system() calls which is not ideal for processing arbitrary user scripts. First add support for a --sandbox flag at runtime (like sed/gawk gnu tools), then add a USE=forced-sandbox option so people can lock it down. The patches have been sent to upstream, but considering how slow the bc project tends to move, and their lack of a project site/git repo, going to merge this now and just wait for upstream feedback. |