Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 1998 18:37:48 -0500 (EST)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8546: new port: [net/benchmarks]/nttcp
Message-ID:  <199811022337.SAA15444@jade.chc-chimes.com>

next in thread | raw e-mail | index | archive | help

>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 <billf@chc-chimes.com>
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 <bsd.port.mk>
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 <billf@chc-chimes.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811022337.SAA15444>