SwordArMor-gentoo-overlay/net-analyzer/dublin-traceroute/dublin-traceroute-0.4.2.ebuild
Alarig Le Lay 3025999fb9
net-analyzer/dublin-traceroute: Switching from cmake-utils to cmake
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2022-08-03 15:21:51 +02:00

37 lines
838 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake fcaps
DESCRIPTION="NAT-aware multipath tracerouting tool"
HOMEPAGE="https://dublin-traceroute.net/"
MY_GITHUB_AUTHOR="insomniacslk"
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="caps"
DEPEND="caps? ( sys-libs/libcap )"
RDEPEND="
${DEPEND}
net-libs/libpcap
"
BDEPEND="
dev-libs/jsoncpp
net-libs/libtins
"
pkg_postinst() {
fcaps cap_net_raw+ep usr/bin/dublin-traceroute
einfo ""
einfo "In order to generate nice output (instead of a JSON), you may want"
einfo "to install dev-python/dublin-traceroute and run"
einfo "'python -m dublintraceroute plot trace.json' after dublin-traceroute"
einfo ""
}