From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 17 15:50:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 856BB1065692 for ; Mon, 17 Aug 2009 15:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 615A38FC64 for ; Mon, 17 Aug 2009 15:50:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7HFo6Tq099839 for ; Mon, 17 Aug 2009 15:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7HFo6r0099838; Mon, 17 Aug 2009 15:50:06 GMT (envelope-from gnats) Resent-Date: Mon, 17 Aug 2009 15:50:06 GMT Resent-Message-Id: <200908171550.n7HFo6r0099838@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26E1E106568D for ; Mon, 17 Aug 2009 15:44:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 158848FC60 for ; Mon, 17 Aug 2009 15:44:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7HFi5vm054280 for ; Mon, 17 Aug 2009 15:44:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7HFi5DE054279; Mon, 17 Aug 2009 15:44:05 GMT (envelope-from nobody) Message-Id: <200908171544.n7HFi5DE054279@www.freebsd.org> Date: Mon, 17 Aug 2009 15:44:05 GMT From: Andy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137876: [new port] benchmarks/nuttcp: TCP/UDP network testing tool X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 15:50:06 -0000 >Number: 137876 >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: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 17 15:50:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andy >Release: 7.2-RELEASE-p3 >Organization: moskb >Environment: FreeBSD powercharge.moskb.local 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Sat Aug 15 13:24:15 MSD 2009 andy@powercharge.moskb.local:/usr/obj/usr/src/sys/MYKERN i386 >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: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136829 I'll be maintain that port, if you don't mind. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./pkg-descr # ./pkg-plist # ./distinfo # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: nuttcp X# Date Created: 17 Jul 2009 X# Whom: Andy Clark X# X# $FreeBSD$ X# X XPORTNAME= nuttcp XPORTVERSION= 6.1.2 XCATEGORIES= benchmarks net XMASTER_SITES= ftp://ftp.lcp.nrl.navy.mil/pub/${PORTNAME}/ \ X ftp://ftp.lcp.nrl.navy.mil/pub/${PORTNAME}/beta/:beta XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ X ${BETADISTFILE}:beta \ X ${NUTTSCPDISTFILE}:beta XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X XMAINTAINER= andrewclarkii@gmail.com XCOMMENT= TCP/UDP network testing tool X XUSE_BZIP2= yes XMAKEFILE= /dev/null XALL_TARGET= ${PORTNAME} XMAN8= ${PORTNAME}.8 X XBETAVERSION= 6.2.10 XBETADISTFILE= ${DISTNAME:S|${PORTVERSION}|${BETAVERSION}|}.c XNUTTSCPVERSION= 1.7 XNUTTSCPDISTFILE=nuttscp-${NUTTSCPVERSION} X XOPTIONS= NUTTSCP "Script for copying files using nuttcp" off \ X BETA "Use beta version" off X X.include X X.if defined(WITH_NUTTSCP) XUSE_PERL5= yes XPLIST_SUB+= NUTTSCP="" X.else XPLIST_SUB+= NUTTSCP="@comment " X.endif X X.if defined(WITH_BETA) XPKGVERSION= ${BETAVERSION} XPKGNAMESUFFIX= -devel X Xpost-extract: X ${CP} ${DISTDIR}/${DIST_SUBDIR}/${BETADISTFILE} ${WRKSRC} X ( cd ${WRKSRC}; ${LN} -sf ${BETADISTFILE} ${PORTNAME}.c ) X.endif X Xpost-patch: .SILENT X ${FIND} ${WRKSRC}/ -type f -exec \ X ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' {} + X Xdo-install: X. if defined(WITH_NUTTSCP) X ${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/${NUTTSCPDISTFILE} \ X ${PREFIX}/bin/nuttscp X ( cd ${PREFIX}/bin; ${LN} -sf nuttscp nuttrcp ) X. endif X X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8/ X X ${MKDIR} ${DATADIR}/ X. for file in LICENSE README examples.txt X ${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}/ X. endfor X X ${MKDIR} ${PREFIX}/etc/xinetd.d/ X. for file in ${PORTNAME} ${PORTNAME}4 ${PORTNAME}6 X ${INSTALL_DATA} ${WRKSRC}/xinetd.d/${file} \ X ${PREFIX}/etc/xinetd.d/ X. endfor X X.include 464ef7c6571951809b23e262cbe26e19 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' Xnuttcp is a network performance measurement tool intended for use Xby network and system managers. Its most basic usage is to determine Xthe raw TCP (or UDP) network layer throughput by transferring memory Xbuffers from a source system across an interconnecting network to Xa destination system, either transferring data for a specified time Xinterval, or alternatively transferring a specified number of bytes. X Xnuttcp is based on nttcp, but have several useful features such Xas a server mode, rate limiting, multiple parallel streams, and Xtimer based usage. X XWWW: http://www.lcp.nrl.navy.mil/nuttcp/ 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' X%%NUTTSCP%%bin/nuttrcp X%%NUTTSCP%%bin/nuttscp Xbin/nuttcp X%%DATADIR%%/LICENSE X%%DATADIR%%/README X%%DATADIR%%/examples.txt Xetc/xinetd.d/nuttcp Xetc/xinetd.d/nuttcp4 Xetc/xinetd.d/nuttcp6 X@dirrm %%DATADIR%% X@dirrmtry etc/xinetd.d ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (nuttcp-6.1.2.tar.bz2) = a16d4d6d5def02cea980e57feaf30500 XSHA256 (nuttcp-6.1.2.tar.bz2) = 054e96d9d68fe917df6f25fab15c7755bdd480f6420d7d48d9194a1a52378169 XSIZE (nuttcp-6.1.2.tar.bz2) = 77169 XMD5 (nuttcp-6.2.10.c) = c4b5d8ff4507153ecd7afc1c94e5c0d0 XSHA256 (nuttcp-6.2.10.c) = 52faad5c384538c44eaf5cb70590d0599083de15f0d11301cf717274f6f82f6b XSIZE (nuttcp-6.2.10.c) = 210573 XMD5 (nuttscp-1.7) = 558335dfdd526015d1c5bbd3653490f7 XSHA256 (nuttscp-1.7) = 71901d572ff2b472d2a3b7e1e4804c9d875b07e1a31e994b5f33d45d19111962 XSIZE (nuttscp-1.7) = 18582 aec8793adfd5b7c3f00e62ae41a09ac2 exit >Release-Note: >Audit-Trail: >Unformatted: