From owner-freebsd-ports Mon Nov 2 15:40:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26173 for freebsd-ports-outgoing; Mon, 2 Nov 1998 15:40:00 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26168 for ; Mon, 2 Nov 1998 15:39:59 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA16392; Mon, 2 Nov 1998 15:40:01 -0800 (PST) Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26057 for ; Mon, 2 Nov 1998 15:38:15 -0800 (PST) (envelope-from billf@jade.chc-chimes.com) Received: (from billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) id SAA15444; Mon, 2 Nov 1998 18:37:48 -0500 (EST) (envelope-from billf) Message-Id: <199811022337.SAA15444@jade.chc-chimes.com> Date: Mon, 2 Nov 1998 18:37:48 -0500 (EST) From: Bill Fumerola Reply-To: billf@jade.chc-chimes.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8546: new port: [net/benchmarks]/nttcp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8546 >Category: ports >Synopsis: new port: [net/benchmarks]/nttcp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 2 15:40:00 PST 1998 >Last-Modified: >Originator: Bill Fumerola >Organization: Computer Horizons Corp >Release: FreeBSD 2.2.7-STABLE i386 >Environment: -STABLE >Description: per the recent discussion in -hackers, I whipped up this easy port for nttcp. >How-To-Repeat: >Fix: # 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 # ./files # ./files/md5 # ./patches # ./patches/patch-aa # ./pkg # ./pkg/DESCR # ./pkg/PLIST # ./pkg/COMMENT # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: nttcp X# Version required: 1.3 X# Date created: 11 Nov 1998 X# Whom: Bill Fumerola X# X# $Id: $ X# X XDISTNAME= nttcp-1.3 XCATEGORIES= net benchmarks XMASTER_SITES= ftp://ftp.alpcom.it/pub/unix/benchmarking/ \ X ftp://ftp.par.univie.ac.at/unix/admin/ \ X ftp://ftp.isys-group.de/pub/solaris/ X XMAINTAINER= billf@chc-chimes.com X XALL_TARGET= nttcp XMAN1= nttcp.1 X Xdo-install: X X strip ${PREFIX}/bin/nttcp X ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${PREFIX}/bin/ X ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${PREFIX}/man/man1/ X X.include END-of-./Makefile echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/md5 sed 's/^X//' >./files/md5 << 'END-of-./files/md5' XMD5 (nttcp-1.3.tar.gz) = d8216fe44571e77745cad013805cb3b3 END-of-./files/md5 echo c - ./patches mkdir -p ./patches > /dev/null 2>&1 echo x - ./patches/patch-aa sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' X--- Makefile.old Mon Nov 2 18:25:10 1998 X+++ Makefile Mon Nov 2 18:25:48 1998 X@@ -108,12 +108,12 @@ X #INC= X X ## For FreeBSD X-#ARCH= -DFreeBSD X-#LIB= X-#OPT= -O2 X-#CC= cc X-#DBG= X-#INC= X+ARCH= -DFreeBSD X+LIB= X+OPT= -O2 X+CC= cc X+DBG= X+INC= X X ## For SGI IRIX 5.3 (cc or gcc) X #ARCH= END-of-./patches/patch-aa echo c - ./pkg mkdir -p ./pkg > /dev/null 2>&1 echo x - ./pkg/DESCR sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR' XThis program is a much more convient version of the ttcp program. XIt uses inetd (or simulates its behaviour) to start off the remote Xside program which will send/receive data. Both sides measure the time Xand number of bytes transfered. The local side will print the measures. XThe format of the output can be specified on the commandline. X XBill Fumerola END-of-./pkg/DESCR echo x - ./pkg/PLIST sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST' Xbin/nttcp END-of-./pkg/PLIST echo x - ./pkg/COMMENT sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT' Xa client/server program for testing network performance END-of-./pkg/COMMENT exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message