From 0430e636770cb91117be7879ae964192db8ef5fb Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 3 Jul 2020 15:16:30 +0200 Subject: net-analyzer/multipath-tcp-tools: Initial commit Package-Manager: Portage-2.3.103, Repoman-2.3.23 Bug: https://bugs.gentoo.org/730608 Signed-off-by: Jeroen Roovers --- net-analyzer/multipath-tcp-tools/Manifest | 1 + net-analyzer/multipath-tcp-tools/metadata.xml | 11 ++++++ .../multipath-tcp-tools-2018_p12_p21.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 net-analyzer/multipath-tcp-tools/Manifest create mode 100644 net-analyzer/multipath-tcp-tools/metadata.xml create mode 100644 net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21.ebuild (limited to 'net-analyzer/multipath-tcp-tools') diff --git a/net-analyzer/multipath-tcp-tools/Manifest b/net-analyzer/multipath-tcp-tools/Manifest new file mode 100644 index 000000000000..0911f9054218 --- /dev/null +++ b/net-analyzer/multipath-tcp-tools/Manifest @@ -0,0 +1 @@ +DIST multipath-tcp-tools-2018_p12_p21.tar.gz 199660476 BLAKE2B a66274229e42c39c2c2821a02087602c76cd725bf850080db8ac9123b35428eaa2c2696d089ebb097365d912e37068b696b0e4f0afecf71f10625be0e75b055b SHA512 2be083f88d987bd5dd069319aecd427c46c962a24d1573b5dca32ec0a209f0b4ed9564968c0041813f7fa62bf2f0ff4bd1307eb562240687666a5636e807b8c3 diff --git a/net-analyzer/multipath-tcp-tools/metadata.xml b/net-analyzer/multipath-tcp-tools/metadata.xml new file mode 100644 index 000000000000..c7fb82034f95 --- /dev/null +++ b/net-analyzer/multipath-tcp-tools/metadata.xml @@ -0,0 +1,11 @@ + + + + +netmon@gentoo.org + + +Th[is package] contains a collection of applications written in C to help +both analyze and visualize MPTCP packet traces. + + diff --git a/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21.ebuild b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21.ebuild new file mode 100644 index 000000000000..3c59f4d1d6c8 --- /dev/null +++ b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Analysis tools for Multipath Transmission Control Protocol (MPTCP)" +HOMEPAGE="https://github.com/nasa/multipath-tcp-tools" +SRC_URI="https://github.com/nasa/multipath-tcp-tools/archive/v${PV//_p/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="NOSA" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/openssl:* + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +S=${WORKDIR}/${P//_p/-}/network-traffic-analysis-tools + +src_prepare() { + sed -i \ + -e 's|/man/man1|/share&|g' \ + Makefile || die + + default +} + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + emake PREFIX="${D}/${EPREFIX}/usr" install + + dodoc README +} -- cgit v1.2.3-65-gdbad