diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-02-22 08:46:54 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-02-22 08:46:54 +0100 |
commit | 93a324d308b208d1ae629da846f2d89571a74355 (patch) | |
tree | 65600768e190a9622d0d76ce9363c1285bd12d89 /net-analyzer/mtr | |
parent | net-misc/curl: version bump to 7.53.0 (diff) | |
download | gentoo-93a324d308b208d1ae629da846f2d89571a74355.tar.gz gentoo-93a324d308b208d1ae629da846f2d89571a74355.tar.bz2 gentoo-93a324d308b208d1ae629da846f2d89571a74355.zip |
net-analyzer/mtr: run fcaps_pkg_postinst to ensure fcaps are set, bug #609730
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-analyzer/mtr')
-rw-r--r-- | net-analyzer/mtr/mtr-0.87-r1.ebuild | 2 | ||||
-rw-r--r-- | net-analyzer/mtr/mtr-9999.ebuild | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/net-analyzer/mtr/mtr-0.87-r1.ebuild b/net-analyzer/mtr/mtr-0.87-r1.ebuild index 50bfe44956bc..f45a9667fa8b 100644 --- a/net-analyzer/mtr/mtr-0.87-r1.ebuild +++ b/net-analyzer/mtr/mtr-0.87-r1.ebuild @@ -52,6 +52,8 @@ src_configure() { } pkg_postinst() { + fcaps_pkg_postinst + if use prefix && [[ ${CHOST} == *-darwin* ]] ; then ewarn "mtr needs root privileges to run. To grant them:" ewarn " % sudo chown root ${EPREFIX}/usr/sbin/mtr" diff --git a/net-analyzer/mtr/mtr-9999.ebuild b/net-analyzer/mtr/mtr-9999.ebuild index 47d97b07432d..7ba93fe887e3 100644 --- a/net-analyzer/mtr/mtr-9999.ebuild +++ b/net-analyzer/mtr/mtr-9999.ebuild @@ -60,6 +60,8 @@ src_configure() { } pkg_postinst() { + fcaps_pkg_postinst + if use prefix && [[ ${CHOST} == *-darwin* ]] ; then ewarn "mtr needs root privileges to run. To grant them:" ewarn " % sudo chown root ${EPREFIX}/usr/sbin/mtr" |