diff options
author | 2020-07-03 15:16:30 +0200 | |
---|---|---|
committer | 2020-07-03 15:25:36 +0200 | |
commit | 0430e636770cb91117be7879ae964192db8ef5fb (patch) | |
tree | 8fac20bd019be3cdc21e460fbd7a443cbb6aafe9 /net-analyzer | |
parent | net-libs/mbedtls: migrate from cmake-utils to cmake (diff) | |
download | gentoo-0430e636770cb91117be7879ae964192db8ef5fb.tar.gz gentoo-0430e636770cb91117be7879ae964192db8ef5fb.tar.bz2 gentoo-0430e636770cb91117be7879ae964192db8ef5fb.zip |
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 <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/multipath-tcp-tools/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/multipath-tcp-tools/metadata.xml | 11 | ||||
-rw-r--r-- | net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21.ebuild | 42 |
3 files changed, 54 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> +<email>netmon@gentoo.org</email> +</maintainer> +<longdescription> +Th[is package] contains a collection of applications written in C to help +both analyze and visualize MPTCP packet traces. +</longdescription> +</pkgmetadata> 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 +} |