From owner-freebsd-ports Tue Aug 28 12:40:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B2CB137B407 for ; Tue, 28 Aug 2001 12:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7SJe1b17938; Tue, 28 Aug 2001 12:40:01 -0700 (PDT) (envelope-from gnats) Received: from iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (Postfix) with ESMTP id 7C00F37B406 for ; Tue, 28 Aug 2001 12:32:13 -0700 (PDT) (envelope-from proot@iaces.com) Received: (from root@localhost) by iaces.com (8.11.4/8.11.4) id f7SJWC718219; Tue, 28 Aug 2001 14:32:12 -0500 (CDT) (envelope-from proot) Message-Id: <200108281932.f7SJWC718219@iaces.com> Date: Tue, 28 Aug 2001 14:32:12 -0500 (CDT) From: Super User Reply-To: Super User To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30166: ports Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30166 >Category: ports >Synopsis: ports >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: Tue Aug 28 12:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Paul Root >Release: FreeBSD 4.3-STABLE i386 >Organization: Qwest >Environment: System: FreeBSD horton.iaces.com 4.3-STABLE FreeBSD 4.3-STABLE #2: Wed Jul 11 10:01:22 CDT 2001 root@horton.iaces.com:/src/obj/src/src/sys/HORTON i386 >Description: Adding new port for the new BSDI version of nettest. >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: # # nettest2001 # nettest2001/Makefile # nettest2001/distinfo # nettest2001/getinfo # nettest2001/files # nettest2001/files/patch-aa # nettest2001/files/patch-ab # nettest2001/pkg-plist # nettest2001/pkg-descr # nettest2001/pkg-comment # echo c - nettest2001 mkdir -p nettest2001 > /dev/null 2>&1 echo x - nettest2001/Makefile sed 's/^X//' >nettest2001/Makefile << 'END-of-nettest2001/Makefile' X# New ports collection makefile for: BSDI version of nettest X# Date created: Tue Aug 28 13:11:04 CDT 2001 X# Whom: proot X# X# $FreeBSD$ X# X XPORTNAME= nettest XPORTVERSION= 20010822 XCATEGORIES= net XMASTER_SITES= ftp://ftp.bsdi.com/private/nettest/ XEXTRACT_SUFX= .tgz X XMAINTAINER= proot@iaces.com X XWRKSRC= $(WRKDIR)/usr/src/contrib/nettest X XMAN8= nettest.8 XMANCOMPRESSED= yes X X.include X X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) XIGNORE="The directory on ftp.bsdi.com does not have the execute bit set. Please download ${DISTNAME}${EXTRACT_SUFX} with your web browser directly into ${DISTDIR} and run make again" X.endif X X.include END-of-nettest2001/Makefile echo x - nettest2001/distinfo sed 's/^X//' >nettest2001/distinfo << 'END-of-nettest2001/distinfo' XMD5 (nettest-20010822.tgz) = 810d36c567159ac719f3df2d69e0e51f END-of-nettest2001/distinfo echo x - nettest2001/getinfo sed 's/^X//' >nettest2001/getinfo << 'END-of-nettest2001/getinfo' XThe tgz file is in a protected directory that fetch and nftp cannot Xdownload. You can get to it directly with Netscape however. Please Xdownload the code manually. END-of-nettest2001/getinfo echo c - nettest2001/files mkdir -p nettest2001/files > /dev/null 2>&1 echo x - nettest2001/files/patch-aa sed 's/^X//' >nettest2001/files/patch-aa << 'END-of-nettest2001/files/patch-aa' X*** nettest/Makefile.orig Tue Aug 28 13:41:44 2001 X--- nettest/Makefile Tue Aug 28 13:41:49 2001 X*************** X*** 1,5 **** X PROG=nettest X! MAN8=nettest.0 X CFLAGS+=${OPTIONS} X LDADD+=-lcompat X .PATH: ${.CURDIR}/../src X--- 1,5 ---- X PROG=nettest X! MAN8=nettest.8 X CFLAGS+=${OPTIONS} X LDADD+=-lcompat X .PATH: ${.CURDIR}/../src END-of-nettest2001/files/patch-aa echo x - nettest2001/files/patch-ab sed 's/^X//' >nettest2001/files/patch-ab << 'END-of-nettest2001/files/patch-ab' X*** Makefile.inc.orig Tue Aug 28 13:50:31 2001 X--- Makefile.inc Tue Aug 28 13:55:45 2001 X*************** X*** 1,3 **** X! BINDIR?= /usr/sbin X X OPTIONS= -DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DINET6 -Wall X--- 1,4 ---- X! BINDIR?= /usr/local/sbin X! MANDIR= /usr/local/man/man X X OPTIONS= -DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DINET6 -Wall END-of-nettest2001/files/patch-ab echo x - nettest2001/pkg-plist sed 's/^X//' >nettest2001/pkg-plist << 'END-of-nettest2001/pkg-plist' Xsbin/nettest Xsbin/nettestd Xman/man8/nettest.8.gz END-of-nettest2001/pkg-plist echo x - nettest2001/pkg-descr sed 's/^X//' >nettest2001/pkg-descr << 'END-of-nettest2001/pkg-descr' XThe nettest and nettestd commands invoke client and server Xprograms that are used for timing data throughput of vari- Xous methods of interprocess communication. For TCP and XOSI connections, the nettest program establishes a connec- Xtion with the nettestd program, and then it does count Xwrites of size bytes, followed by count reads of size Xbytes. For UDP, the nettest program performs only writes; Xreads are not performed. The nettestd program, if used Xwith UDP connections, reads the data packets and prints a Xmessage for each data packet it receives. The number and Xsize of the reads and writes may not correlate with the Xnumber and size of the actual data packets that are trans- Xferred; it depends on the protocol that is chosen. If you Xappend an optional k (or K) to the size, count, or bufsize Xvalue, the number specified is multiplied by 1024. END-of-nettest2001/pkg-descr echo x - nettest2001/pkg-comment sed 's/^X//' >nettest2001/pkg-comment << 'END-of-nettest2001/pkg-comment' XPerforms client and server functions for timing data throughput END-of-nettest2001/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message