summaryrefslogtreecommitdiff
path: root/benchmarks/netpipe
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2001-07-27 23:33:35 +0000
committerthorpej <thorpej@pkgsrc.org>2001-07-27 23:33:35 +0000
commit105d0ab3633020c0b6505f8f61ea994d6e6a78a8 (patch)
treed542ccfb2fa81c3c3b5c9cedb4690eeb7d57dc0b /benchmarks/netpipe
parentb6ef576793d7e807dda5eb3ffaa68c361ffeabac (diff)
downloadpkgsrc-105d0ab3633020c0b6505f8f61ea994d6e6a78a8.tar.gz
A package for the NetPIPE performance measuring tool.
Diffstat (limited to 'benchmarks/netpipe')
-rw-r--r--benchmarks/netpipe/Makefile16
-rw-r--r--benchmarks/netpipe/distinfo5
-rw-r--r--benchmarks/netpipe/patches/patch-aa20
-rw-r--r--benchmarks/netpipe/pkg/DESCR4
-rw-r--r--benchmarks/netpipe/pkg/PLIST3
5 files changed, 48 insertions, 0 deletions
diff --git a/benchmarks/netpipe/Makefile b/benchmarks/netpipe/Makefile
new file mode 100644
index 00000000000..02d08bebd9f
--- /dev/null
+++ b/benchmarks/netpipe/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/27 23:33:35 thorpej Exp $
+
+DISTNAME= netpipe-2.4
+CATEGORIES= benchmarks net
+MASTER_SITES= ftp://ftp.scl.ameslab.gov/pub/netpipe/
+
+MAINTAINER= thorpej@netbsd.org
+HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
+COMMENT= TCP/PVM/MPI testing and performance measuring tool
+
+do-install:
+ cd ${WRKSRC} ; \
+ ${INSTALL_PROGRAM} NPtcp ${PREFIX}/bin/NPtcp ; \
+ ${INSTALL_MAN} netpipe.1 ${PREFIX}/man/man1/netpipe.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/netpipe/distinfo b/benchmarks/netpipe/distinfo
new file mode 100644
index 00000000000..c41c0f99029
--- /dev/null
+++ b/benchmarks/netpipe/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/27 23:33:35 thorpej Exp $
+
+SHA1 (netpipe-2.4.tar.gz) = 1d5c795c912dfbf9b48c0a7fc0e751ed521a760b
+Size (netpipe-2.4.tar.gz) = 23009 bytes
+SHA1 (patch-aa) = c1c72cc5625911d3f97ae6f42a201a6ed4224a69
diff --git a/benchmarks/netpipe/patches/patch-aa b/benchmarks/netpipe/patches/patch-aa
new file mode 100644
index 00000000000..92b5b44aafe
--- /dev/null
+++ b/benchmarks/netpipe/patches/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.orig Tue Apr 27 14:03:25 1999
++++ Makefile Fri Jul 27 16:20:10 2001
+@@ -13,7 +13,7 @@
+ TARGETS = NPtcp
+ # If you have TCP, MPI and PVM
+ #TARGETS = NPtcp NPmpi NPpvm
+-CFLAGS = -O
++CFLAGS = -O -DHAVE_GETRUSAGE
+ # Adjust these for MPI (only used if you have MPI)
+ MPI_HOME = /home/mpich
+ MPI_ARCH = IRIX
+@@ -25,7 +25,7 @@
+ EXTRA_LIBS =
+ #EXTRA_LIBS = -lgcc
+
+-targets: $(TARGETS)
++all: $(TARGETS)
+
+ #
+ # This section of the Makefile is for compiling the binaries
diff --git a/benchmarks/netpipe/pkg/DESCR b/benchmarks/netpipe/pkg/DESCR
new file mode 100644
index 00000000000..d8c007df00d
--- /dev/null
+++ b/benchmarks/netpipe/pkg/DESCR
@@ -0,0 +1,4 @@
+NetPIPE (Network Prototol Independent Performance Evaluator) is a
+protocol independent performance tool that encapsulates the best
+of ttcp and netperf and visually represents the network performance
+under a variety of conditions.
diff --git a/benchmarks/netpipe/pkg/PLIST b/benchmarks/netpipe/pkg/PLIST
new file mode 100644
index 00000000000..27c649b5724
--- /dev/null
+++ b/benchmarks/netpipe/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/27 23:33:35 thorpej Exp $
+bin/NPtcp
+man/man1/netpipe.1