diff --git a/benchmarks/netstrain/Makefile b/benchmarks/netstrain/Makefile new file mode 100644 index 00000000000..704a8fd92a6 --- /dev/null +++ b/benchmarks/netstrain/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/07/25 00:46:29 jolan Exp $ + +COMMENT= "tool to measure TCP throughput" +DISTNAME= netstrain-3.0 +CATEGORIES= benchmarks net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netstrain/} + +HOMEPAGE= http://netstrain.sourceforge.net/ + +MAINTAINER= Jolan Luff + +# ISC-like +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes + +NO_REGRESS= Yes + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netstrain + ${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/netstrain + ${INSTALL_PROGRAM} ${WRKBUILD}/netstraind ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKBUILD}/netstrain ${PREFIX}/bin + +.include diff --git a/benchmarks/netstrain/distinfo b/benchmarks/netstrain/distinfo new file mode 100644 index 00000000000..15e39b4d52b --- /dev/null +++ b/benchmarks/netstrain/distinfo @@ -0,0 +1,3 @@ +MD5 (netstrain-3.0.tar.gz) = ce04b79ae18c5143991ace8661baadcf +RMD160 (netstrain-3.0.tar.gz) = 7c7e06d04a101f521c01a7c5544c666261bd3d3a +SHA1 (netstrain-3.0.tar.gz) = fdeb114ee71584d95fa225b2fd55ee7bdbf08591 diff --git a/benchmarks/netstrain/patches/patch-Makefile b/benchmarks/netstrain/patches/patch-Makefile new file mode 100644 index 00000000000..e16cbb77cfe --- /dev/null +++ b/benchmarks/netstrain/patches/patch-Makefile @@ -0,0 +1,14 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2003/07/25 00:46:29 jolan Exp $ +--- Makefile.orig Sat Aug 10 04:40:28 2002 ++++ Makefile Thu Jul 24 19:05:19 2003 +@@ -2,8 +2,8 @@ + + # variables + +-CC = gcc +-CFLAGS = -Wall -O2 ++#CC = gcc ++CFLAGS+=-Wall + + COMMON_OBJS = error.o net6emu.o + diff --git a/benchmarks/netstrain/pkg/DESCR b/benchmarks/netstrain/pkg/DESCR new file mode 100644 index 00000000000..881c2433912 --- /dev/null +++ b/benchmarks/netstrain/pkg/DESCR @@ -0,0 +1,4 @@ +NetStrain is a tool to measure practical data throughput between two +machines over a TCP connection. It can be used for performance testing, +stress/stability testing and to demonstrate various network effects. It +supports both IPv4 and IPv6. diff --git a/benchmarks/netstrain/pkg/PLIST b/benchmarks/netstrain/pkg/PLIST new file mode 100644 index 00000000000..6c270333f3a --- /dev/null +++ b/benchmarks/netstrain/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/07/25 00:46:29 jolan Exp $ +bin/netstrain +bin/netstraind +share/doc/netstrain/README +@dirrm share/doc/netstrain