net-analyzer/dublin-traceroute: New ebuild

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-03-30 23:52:02 +02:00
parent 5ee691d948
commit f1459f01e1
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST dublin-traceroute-0.4.2.tar.gz 419753 BLAKE2B 99bb5ac79d08988aa48138426be691af98807c7cf10f526f2e9ccb161852a9e7008f18d076e482857ee92f68ad8616dbd35abf09b09104fe00757754f67c70b1 SHA512 4711dbf1fd6190e0260e5dd0f5e2f296ccb88cc1fc301260f01fb357f44cc42f11a82d4ab09f9f571fabee4516374e87fb1bea8971432a6f145116cef57f553a

View file

@ -0,0 +1,36 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils 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 ""
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Alarig Le Lay</name>
<email>alarig@swordarmor.fr</email>
</maintainer>
</pkgmetadata>