tcp/udp pipe measuring tool; from sgi via freebsd port; brad@ help and ok
This commit is contained in:
parent
cc49eab753
commit
e4d12ca8e2
35
net/ttcp/Makefile
Normal file
35
net/ttcp/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/05/08 03:58:14 mickey Exp $
|
||||
|
||||
COMMENT= "benchmarking tool for analysing TCP and UDP performance"
|
||||
|
||||
PKGNAME= ttcp-1.12
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/
|
||||
DISTFILES= ttcp.c ttcp.1 README
|
||||
EXTRACT_ONLY=
|
||||
DIST_SUBDIR= ttcp
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
post-extract:
|
||||
@cd ${FULLDISTDIR} && cp -f ${DISTFILES} ${WRKSRC}
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -o ${WRKBUILD}/ttcp ${WRKSRC}/ttcp.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttcp
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/ttcp ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp
|
||||
|
||||
.include <bsd.port.mk>
|
9
net/ttcp/files/md5
Normal file
9
net/ttcp/files/md5
Normal file
@ -0,0 +1,9 @@
|
||||
MD5 (ttcp/README) = 6b1e5ff6247a9f284f3b58eb651b37a9
|
||||
MD5 (ttcp/ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82
|
||||
MD5 (ttcp/ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26
|
||||
RMD160 (ttcp/README) = 0552eb0f8c2c545cce32a5b0b67cf8b592bd7bfb
|
||||
RMD160 (ttcp/ttcp.1) = 4820c2b9c058a430030a774dcf012d41c8e6ec8c
|
||||
RMD160 (ttcp/ttcp.c) = 99e8f596134eec2077989fd7205648187716e016
|
||||
SHA1 (ttcp/README) = 0de9d88ae141eb1ff7720c2962d3d99e1c39673d
|
||||
SHA1 (ttcp/ttcp.1) = f5ae207c779bf3af1ac43fcd5614b734d139e1a3
|
||||
SHA1 (ttcp/ttcp.c) = 1ff5b8fd64ff3dbe1b5a66bfc9813b1a5e3063fd
|
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.
|
5
net/ttcp/pkg/PLIST
Normal file
5
net/ttcp/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/05/08 03:58:14 mickey Exp $
|
||||
bin/ttcp
|
||||
man/man1/ttcp.1
|
||||
share/doc/ttcp/README
|
||||
@dirrm share/doc/ttcp
|
Loading…
Reference in New Issue
Block a user