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.
This commit is contained in:
parent
149f65234e
commit
f54bf74009
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19170
34
benchmarks/ttcp/Makefile
Normal file
34
benchmarks/ttcp/Makefile
Normal file
@ -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>
|
3
benchmarks/ttcp/distinfo
Normal file
3
benchmarks/ttcp/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26
|
||||
MD5 (ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82
|
||||
MD5 (README) = 6b1e5ff6247a9f284f3b58eb651b37a9
|
1
benchmarks/ttcp/pkg-comment
Normal file
1
benchmarks/ttcp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
TTCP is a benchmarking tool for determining TCP and UDP performance
|
14
benchmarks/ttcp/pkg-descr
Normal file
14
benchmarks/ttcp/pkg-descr
Normal file
@ -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.
|
3
benchmarks/ttcp/pkg-plist
Normal file
3
benchmarks/ttcp/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/ttcp
|
||||
share/doc/ttcp/README
|
||||
@dirrm share/doc/ttcp
|
34
net/ttcp/Makefile
Normal file
34
net/ttcp/Makefile
Normal file
@ -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>
|
3
net/ttcp/distinfo
Normal file
3
net/ttcp/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26
|
||||
MD5 (ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82
|
||||
MD5 (README) = 6b1e5ff6247a9f284f3b58eb651b37a9
|
1
net/ttcp/pkg-comment
Normal file
1
net/ttcp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
TTCP is a benchmarking tool for determining TCP and UDP performance
|
14
net/ttcp/pkg-descr
Normal file
14
net/ttcp/pkg-descr
Normal file
@ -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.
|
3
net/ttcp/pkg-plist
Normal file
3
net/ttcp/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/ttcp
|
||||
share/doc/ttcp/README
|
||||
@dirrm share/doc/ttcp
|
Loading…
Reference in New Issue
Block a user