From 0211e10e157c3da633a1e3ad30871121ffcd2b50 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 17 Apr 2001 12:25:33 +0000 Subject: Import new "netio" package: Network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix --- benchmarks/netio/Makefile | 20 ++++++++++++++++++++ benchmarks/netio/distinfo | 5 +++++ benchmarks/netio/patches/patch-aa | 13 +++++++++++++ benchmarks/netio/pkg/DESCR | 8 ++++++++ benchmarks/netio/pkg/PLIST | 4 ++++ 5 files changed, 50 insertions(+) create mode 100644 benchmarks/netio/Makefile create mode 100644 benchmarks/netio/distinfo create mode 100644 benchmarks/netio/patches/patch-aa create mode 100644 benchmarks/netio/pkg/DESCR create mode 100644 benchmarks/netio/pkg/PLIST (limited to 'benchmarks') diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile new file mode 100644 index 00000000000..6d89e6fd003 --- /dev/null +++ b/benchmarks/netio/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/17 12:25:33 tron Exp $ + +DISTNAME= netio113 +PKGNAME= netio-1.13 +CATEGORIES= benchmarks net +MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/os2/leo/systools/ +EXTRACT_SUFX= .zip + +MAINTAINER= tron@netbsd.org +COMMENT= Network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix + +ALL_TARGET= pkgsrc +WRKSRC= ${WRKDIR} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netio + ${INSTALL_DATA} ${WRKSRC}/netio.doc ${PREFIX}/share/doc/netio + +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/netio/distinfo b/benchmarks/netio/distinfo new file mode 100644 index 00000000000..466cf9562bd --- /dev/null +++ b/benchmarks/netio/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/04/17 12:25:33 tron Exp $ + +SHA1 (netio113.zip) = f68a8476d3ef0f5b16e2e7829d6bb3c175ec2980 +Size (netio113.zip) = 34 bytes +SHA1 (patch-aa) = af0a4123d226cb7ddc03434413c15edaf11b9f27 diff --git a/benchmarks/netio/patches/patch-aa b/benchmarks/netio/patches/patch-aa new file mode 100644 index 00000000000..73e8de02ba9 --- /dev/null +++ b/benchmarks/netio/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/17 12:25:33 tron Exp $ + +--- Makefile.orig Thu Oct 28 19:37:44 1999 ++++ Makefile Tue Apr 17 14:16:41 2001 +@@ -57,6 +57,8 @@ + watt32: + $(MAKE) all CC="gcc -g -O2" O=.o X=.exe OUT=-o \ + CFLAGS="-DWATT32 -I../../inc" LIBS="../../lib/libwatt.a" ++pkgsrc: ++ $(MAKE) all O=.o X= CFLAGS="$(CFLAGS) -DLINUX" OUT=-o + + INC = -I. + diff --git a/benchmarks/netio/pkg/DESCR b/benchmarks/netio/pkg/DESCR new file mode 100644 index 00000000000..48325aa6595 --- /dev/null +++ b/benchmarks/netio/pkg/DESCR @@ -0,0 +1,8 @@ +This is a network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix. +It measures the net throughput of a network via NetBIOS and/or TCP/IP +protocols (Unix and DOS only support TCP/IP) using various different +packet sizes. + +One instance has to run on one machine as a server process, another +instance is used on another machine to perform the benchmark. When +executed without arguments, the program will explain its usage. diff --git a/benchmarks/netio/pkg/PLIST b/benchmarks/netio/pkg/PLIST new file mode 100644 index 00000000000..9c2a50bc5e8 --- /dev/null +++ b/benchmarks/netio/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/17 12:25:33 tron Exp $ +bin/netio +share/doc/netio/netio.doc +@dirrm share/doc/netio -- cgit v1.2.3