sys-process/extrace - 0.9 (dm9pZCAq)

Search

Package Information

Description:
trace exec() calls system-wide
Homepage:
https://github.com/leahneukirchen/extrace
License:
GPL-2 MIT

Ebuild Details

Version EAPI Keywords Slot
0.9 8 amd64 ~x86 0
View Raw Ebuild
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fcaps linux-info

DESCRIPTION="trace exec() calls system-wide"
HOMEPAGE="https://github.com/leahneukirchen/extrace"
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="pwait"

DEPEND="pwait? ( !sys-process/procps )"
RDEPEND="${DEPEND}"

CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS"

get_all() {
	echo "${PN}" $(usev pwait)
}

src_compile() {
	emake ALL="$(get_all)"
}

src_install() {
	local ALL=( $(get_all) )

	dobin "${ALL[@]}"
	doman "${ALL[@]/%/.1}"
}

pkg_postinst() {
	local ALL=( $(get_all) )

	fcaps cap_net_admin+ep "${ALL[@]/#/usr/bin/}"
}

USE Flags

Dependencies

DEPEND

pwait? ( !sys-process/procps )

RDEPEND

pwait? ( !sys-process/procps )