mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-17 23:18:49 -04:00
net-analyzer/besttrace-bin: add caps
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
This commit is contained in:
parent
866c4e723a
commit
12f022be84
@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit fcaps
|
||||
|
||||
DESCRIPTION="附带链路可视化的 traceroute 工具"
|
||||
HOMEPAGE="https://www.ipip.net"
|
||||
SRC_URI="https://cdn.ipip.net/17mon/besttrace4linux.zip -> ${P}.zip"
|
||||
@ -16,6 +18,8 @@ DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
FILECAPS=( cap_net_raw=ep /usr/bin/besttrace )
|
||||
|
||||
src_install() {
|
||||
use amd64 && dobin besttrace
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user