diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2022-07-31 12:55:00 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2022-07-31 12:55:00 +0300 |
commit | e6f2313fc4a21e537e9a6771e6f214f095dca4fd (patch) | |
tree | e654dc1fd03cf8a4419c453d0197f66b44015bba | |
parent | metadata.xml: fix indentation (diff) | |
download | bircoph-e6f2313fc4a21e537e9a6771e6f214f095dca4fd.tar.gz bircoph-e6f2313fc4a21e537e9a6771e6f214f095dca4fd.tar.bz2 bircoph-e6f2313fc4a21e537e9a6771e6f214f095dca4fd.zip |
sys-cluster/netpipe: added to the tree as net-analyzer/netpipe
Closes: https://bugs.gentoo.org/858896
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r-- | sys-cluster/netpipe/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/netpipe/files/netpipe-3.7.1-gv.patch | 20 | ||||
-rw-r--r-- | sys-cluster/netpipe/files/netpipe-3.7.1-makefile.patch | 21 | ||||
-rw-r--r-- | sys-cluster/netpipe/files/netpipe-3.7.2-ipv6.patch | 13 | ||||
-rw-r--r-- | sys-cluster/netpipe/metadata.xml | 19 | ||||
-rw-r--r-- | sys-cluster/netpipe/netpipe-3.7.2.ebuild | 75 |
6 files changed, 0 insertions, 149 deletions
diff --git a/sys-cluster/netpipe/Manifest b/sys-cluster/netpipe/Manifest deleted file mode 100644 index 8d7836a..0000000 --- a/sys-cluster/netpipe/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST NetPIPE-3.7.2.tar.gz 400248 SHA256 13dac884ff52951636f651c421f5ff4a853218a95aa28a4a852402ee385a2ab8 SHA512 158c24665bcc55144452c2aeff067e0d853ffca1ecd130d52c3ea7d4068c53e81f9a1133d0cca847d28f597f68b20f01e79811f81ab1396dd18ba2eaaf691430 WHIRLPOOL 33b22df3075ed57e3e77713ee16f7de3293f7795788afb4ae252ffebe427041f38940311099e03488f5628584ea77a6f1224160b0042241902cd91ae69b5f74d diff --git a/sys-cluster/netpipe/files/netpipe-3.7.1-gv.patch b/sys-cluster/netpipe/files/netpipe-3.7.1-gv.patch deleted file mode 100644 index 1351fc3..0000000 --- a/sys-cluster/netpipe/files/netpipe-3.7.1-gv.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naurd NetPIPE-3.7.1.orig/bin/feplot NetPIPE-3.7.1/bin/feplot ---- NetPIPE-3.7.1.orig/bin/feplot 2007-05-10 20:29:09.000000000 +0400 -+++ NetPIPE-3.7.1/bin/feplot 2012-04-24 01:38:48.382981163 +0400 -@@ -44,5 +44,5 @@ - - gnuplot < .gplot - --ghostview gplot.ps -+gv gplot.ps - -diff -Naurd NetPIPE-3.7.1.orig/bin/geplot NetPIPE-3.7.1/bin/geplot ---- NetPIPE-3.7.1.orig/bin/geplot 2007-05-10 20:29:09.000000000 +0400 -+++ NetPIPE-3.7.1/bin/geplot 2012-04-24 01:38:56.053039899 +0400 -@@ -46,5 +46,5 @@ - - gnuplot < $GPLOT - --ghostview $GPLOTPS -+gv $GPLOTPS - diff --git a/sys-cluster/netpipe/files/netpipe-3.7.1-makefile.patch b/sys-cluster/netpipe/files/netpipe-3.7.1-makefile.patch deleted file mode 100644 index 1ca6382..0000000 --- a/sys-cluster/netpipe/files/netpipe-3.7.1-makefile.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- NetPIPE-3.7.1.orig/makefile 2007-05-10 20:29:09.000000000 +0400 -+++ NetPIPE-3.7.1/makefile 2012-04-25 01:38:07.550185885 +0400 -@@ -20,8 +20,7 @@ - # - ######################################################################## - --CC = cc --CFLAGS = -O -g -+CFLAGS += $(LDFLAGS) - SRC = ./src - - # For MPI, mpicc will set up the proper include and library paths -@@ -247,7 +246,7 @@ - - ibv: $(SRC)/ibv.c $(SRC)/netpipe.c $(SRC)/netpipe.h - $(CC) $(CFLAGS) $(SRC)/ibv.c $(SRC)/netpipe.c -o NPibv \ -- -DOPENIB -DTCP -I $(IBV_INC) -L $(IBV_LIB) -libverbs -+ -DOPENIB -DTCP -libverbs - - atoll: $(SRC)/atoll.c $(SRC)/netpipe.c $(SRC)/netpipe.h - $(CC) $(CFLAGS) -DATOLL $(SRC)/netpipe.c \ diff --git a/sys-cluster/netpipe/files/netpipe-3.7.2-ipv6.patch b/sys-cluster/netpipe/files/netpipe-3.7.2-ipv6.patch deleted file mode 100644 index 202d580..0000000 --- a/sys-cluster/netpipe/files/netpipe-3.7.2-ipv6.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naurd NetPIPE-3.7.1.orig/src/sctp6.c NetPIPE-3.7.1/src/sctp6.c ---- NetPIPE-3.7.1.orig/src/sctp6.c 2007-05-10 20:29:09.000000000 +0400 -+++ NetPIPE-3.7.1/src/sctp6.c 2012-04-23 23:52:55.995844440 +0400 -@@ -133,7 +133,9 @@ - - bzero((char *) lsin1, sizeof(*lsin1)); - lsin1->sin6_family = AF_INET6; -+#ifdef SIN6_LEN - lsin1->sin6_len = sizeof(*lsin1); -+#endif - lsin1->sin6_port = htons(p->port); - /* Setting this to all 0 is the "ANY" address. */ - bzero(&lsin1->sin6_addr, sizeof(lsin1->sin6_addr)); diff --git a/sys-cluster/netpipe/metadata.xml b/sys-cluster/netpipe/metadata.xml deleted file mode 100644 index 55d625b..0000000 --- a/sys-cluster/netpipe/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>bircoph@gentoo.org</email> - <name>Andrew Savchenko</name> -</maintainer> -<longdescription lang="en"> - NetPIPE is a protocol independent performance tool that visually represents the - network performance under a variety of conditions. It performs simple ping-pong - tests, bouncing messages of increasing size between two processes, whether - across a network or within an SMP system. -</longdescription> -<use> - <flag name='memcpy'>Build memory testing tool (using memcpy)</flag> - <flag name='tcp'>Build TCP testing tool</flag> - <flag name='utils'>Install helper scripts</flag> -</use> -</pkgmetadata> diff --git a/sys-cluster/netpipe/netpipe-3.7.2.ebuild b/sys-cluster/netpipe/netpipe-3.7.2.ebuild deleted file mode 100644 index f5a5af3..0000000 --- a/sys-cluster/netpipe/netpipe-3.7.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit toolchain-funcs - -MY_PN="NetPIPE" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A Network Protocol Independent Performance Evaluator" -HOMEPAGE="http://bitspjoule.org/netpipe/" -SRC_URI="http://bitspjoule.org/netpipe/code/${MY_P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples infiniband ipv6 +memcpy mpi sctp +tcp utils" - -DEPEND=" - infiniband? ( sys-fabric/ofed ) - mpi? ( virtual/mpi ) -" -RDEPEND="${DEPEND} - utils? ( - app-shells/tcsh - app-text/gv - sci-visualization/gnuplot - virtual/ssh - ) -" - -# ipv6 is meaningless itself, but enables tcp6 or sctp6 -# at least single test module must be enabled -REQUIRED_USE=" - ipv6? ( || ( sctp tcp ) ) - || ( memcpy infiniband mpi sctp tcp ) -" - -PATCHES=( - "${FILESDIR}/${P}-ipv6.patch" - "${FILESDIR}/${PN}-3.7.1-gv.patch" - "${FILESDIR}/${PN}-3.7.1-makefile.patch" ) - -src_configure() { - # no configure script, create list of make targets - make_targets="" - use memcpy && make_targets+="memcpy " - use mpi && make_targets+="mpi mpi2 " - use infiniband && make_targets+="ibv " - use sctp && make_targets+="sctp " - use sctp && use ipv6 && make_targets+="sctp6 " - use tcp && make_targets+="tcp " - use tcp && use ipv6 && make_targets+="tcp6 " -} - -src_compile() { - CC=$(tc-getCC) emake ${make_targets} - unset ${make_targets} -} - -src_install() { - # no install target, going manual - dobin NP* - dodoc dox/README - doman dox/netpipe.1 - - use utils && dobin bin/* - - use doc && dodoc dox/{netpipe_paper.ps,np_cluster2002.pdf,np_euro.pdf} - if use examples; then - docinto examples - dodoc hosts/* - fi -} |