Date: Fri, 17 Jul 2009 00:01:54 GMT From: dunno <> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136829: [new port] benchmarks/nuttcp: TCP/UDP network testing tool Message-ID: <200907170001.n6H01s0i072923@www.freebsd.org> Resent-Message-ID: <200907170010.n6H0A4Qf001460@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136829 >Category: ports >Synopsis: [new port] benchmarks/nuttcp: TCP/UDP network testing tool >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 17 00:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: dunno >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: >Description: nuttcp is based on nttcp, which in turn was an enhancement by someone at Silicon Graphics (SGI) on the original ttcp, which was written by Mike Muuss at BRL sometime before December 1984, to compare the perfor- mance of TCP stacks by U.C. Berkeley and BBN to help DARPA decide which version to place in the first BSD Unix release. nuttcp has several useful features beyond those of the basic ttcp/nttcp, such as a server mode, rate limiting, multiple parallel streams, and timer based usage. More recent changes include IPv6 support, IPv4 multicast, and the abil- ity to set the maximum segment size or TOS/DSCP bits. -- from man page WWW: http://www.lcp.nrl.navy.mil/nuttcp/ >How-To-Repeat: >Fix: --- nuttcp.diff begins here --- Index: Makefile =================================================================== RCS file: /home/csup/ports/benchmarks/Makefile,v retrieving revision 1.66 diff -u -p -r1.66 Makefile --- Makefile 13 Jul 2009 22:40:20 -0000 1.66 +++ Makefile 16 Jul 2009 23:51:39 -0000 @@ -32,6 +32,7 @@ SUBDIR += netpipe SUBDIR += nqueens SUBDIR += nttcp + SUBDIR += nuttcp SUBDIR += octave-forge-benchmark SUBDIR += p5-Benchmark-Forking SUBDIR += p5-Benchmark-Stopwatch Index: nuttcp/Makefile =================================================================== RCS file: nuttcp/Makefile diff -N nuttcp/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ nuttcp/Makefile 16 Jul 2009 23:54:01 -0000 @@ -0,0 +1,40 @@ +# New ports collection makefile for: nuttcp +# Date Created: 17 Jul 2009 +# Whom: dunno +# +# $FreeBSD$ +# + +PORTNAME= nuttcp +PORTVERSION= 5.5.5 +CATEGORIES= benchmarks net +MASTER_SITES= ftp://ftp.lcp.nrl.navy.mil/pub/${PORTNAME}/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= TCP/UDP network testing tool + +USE_BZIP2= yes +MAKEFILE= /dev/null +ALL_TARGET= ${PORTNAME} +MAN8= ${PORTNAME}.8 + +post-patch: + ${FIND} ${WRKSRC}/ -type f -exec \ + ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' {} + + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8/ + + ${MKDIR} ${DATADIR}/ +. for file in LICENSE README examples.txt + ${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}/ +. endfor + + ${MKDIR} -p ${PREFIX}/etc/xinetd.d/ +. for file in nuttcp nuttcp4 nuttcp6 + ${INSTALL_DATA} ${WRKSRC}/xinetd.d/${file} + ${PREFIX}/etc/xinetd.d/ +. endfor + +.include <bsd.port.mk> Index: nuttcp/distinfo =================================================================== RCS file: nuttcp/distinfo diff -N nuttcp/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ nuttcp/distinfo 16 Jul 2009 23:08:42 -0000 @@ -0,0 +1,3 @@ +MD5 (nuttcp-5.5.5.tar.bz2) = ec79568d622f85d6077c0dc819a31b84 +SHA256 (nuttcp-5.5.5.tar.bz2) = b3c857028351136009af1d40d29e6b683e1f5575f7f6135642958c6fc9a03e01 +SIZE (nuttcp-5.5.5.tar.bz2) = 72697 Index: nuttcp/pkg-descr =================================================================== RCS file: nuttcp/pkg-descr diff -N nuttcp/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ nuttcp/pkg-descr 16 Jul 2009 23:23:01 -0000 @@ -0,0 +1,12 @@ +nuttcp is based on nttcp, which in turn was an enhancement by someone +at Silicon Graphics (SGI) on the original ttcp, which was written by +Mike Muuss at BRL sometime before December 1984, to compare the perfor- +mance of TCP stacks by U.C. Berkeley and BBN to help DARPA decide which +version to place in the first BSD Unix release. nuttcp has several +useful features beyond those of the basic ttcp/nttcp, such as a server +mode, rate limiting, multiple parallel streams, and timer based usage. +More recent changes include IPv6 support, IPv4 multicast, and the abil- +ity to set the maximum segment size or TOS/DSCP bits. + -- from man page + +WWW: http://www.lcp.nrl.navy.mil/nuttcp/ --- nuttcp.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907170001.n6H01s0i072923>