diff options
author | mharo <mharo@FreeBSD.org> | 1999-06-02 14:14:11 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-06-02 14:14:11 +0800 |
commit | a48e7628c2c5f7832bac5a2b4cb003cfa1b1077f (patch) | |
tree | 2a0384f446ad4eb5182d20f9908f514215da09f1 /benchmarks | |
parent | 5724e16964db3928027aa6ee3449ead6216a36be (diff) | |
download | freebsd-ports-gnome-a48e7628c2c5f7832bac5a2b4cb003cfa1b1077f.tar.gz freebsd-ports-gnome-a48e7628c2c5f7832bac5a2b4cb003cfa1b1077f.tar.zst freebsd-ports-gnome-a48e7628c2c5f7832bac5a2b4cb003cfa1b1077f.zip |
TTCP is a benchmarking tool for determining TCP and UDP performance
between two systems.
I could never remember where to get it, others may find it useful
to have in the ports collection too.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/ttcp/Makefile | 34 | ||||
-rw-r--r-- | benchmarks/ttcp/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/ttcp/pkg-comment | 1 | ||||
-rw-r--r-- | benchmarks/ttcp/pkg-descr | 14 | ||||
-rw-r--r-- | benchmarks/ttcp/pkg-plist | 3 |
5 files changed, 55 insertions, 0 deletions
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile new file mode 100644 index 000000000000..f5adb140179c --- /dev/null +++ b/benchmarks/ttcp/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: ttcp +# Version required: 1.12 +# Date created: Tue Jun 1 22:58:13 PDT 1999 +# Whom: mharo@FreeBSD.org +# +# $Id$ +# + +DISTNAME= ttcp-1.12 +CATEGORIES= net +MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/ +DISTFILES= ttcp.c ttcp.1 README + +MAINTAINER= mharo@FreeBSD.org + +EXTRACT_ONLY= #none +NO_WRKSUBDIR= yes +MAN1= ttcp.1 + +post-extract: + ${CP} ${DISTDIR}/ttcp.c ${WRKSRC}/ + ${CP} ${DISTDIR}/ttcp.1 ${WRKSRC}/ + ${CP} ${DISTDIR}/README ${WRKSRC}/ + +do-build: + ${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1 + ${MKDIR} ${PREFIX}/share/doc/ttcp + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp/ + +.include <bsd.port.mk> diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo new file mode 100644 index 000000000000..980bbb75dedb --- /dev/null +++ b/benchmarks/ttcp/distinfo @@ -0,0 +1,3 @@ +MD5 (ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26 +MD5 (ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82 +MD5 (README) = 6b1e5ff6247a9f284f3b58eb651b37a9 diff --git a/benchmarks/ttcp/pkg-comment b/benchmarks/ttcp/pkg-comment new file mode 100644 index 000000000000..d97cd17c584d --- /dev/null +++ b/benchmarks/ttcp/pkg-comment @@ -0,0 +1 @@ +TTCP is a benchmarking tool for determining TCP and UDP performance diff --git a/benchmarks/ttcp/pkg-descr b/benchmarks/ttcp/pkg-descr new file mode 100644 index 000000000000..a90ba3f06dd1 --- /dev/null +++ b/benchmarks/ttcp/pkg-descr @@ -0,0 +1,14 @@ +TTCP is a benchmarking tool for determining TCP and UDP performance +between 2 systems. + +The program was created at the US Army Ballistics Research Lab (BRL) +and is in the public domain. Feel free to distribute this program +but please do leave the credit notices in the source and man page intact. + +How to get TCP performance numbers: + + receiver sender + +host1% ttcp -r -s host2% ttcp -t -s host1 + +-n and -l options change the number and size of the buffers. diff --git a/benchmarks/ttcp/pkg-plist b/benchmarks/ttcp/pkg-plist new file mode 100644 index 000000000000..5d2266f36ebd --- /dev/null +++ b/benchmarks/ttcp/pkg-plist @@ -0,0 +1,3 @@ +bin/ttcp +share/doc/ttcp/README +@dirrm share/doc/ttcp |