Date: Sun, 20 May 2001 00:14:14 -0400 (EDT) From: petef@databits.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27462: New port net/iperf Message-ID: <200105200414.f4K4EEf10916@electron.databits.net>
next in thread | raw e-mail | index | archive | help
>Number: 27462 >Category: ports >Synopsis: New port net/iperf >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: Sat May 19 21:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 4.3-STABLE i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Sun Apr 22 21:17:37 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386 >Description: A tool to measure maximum TCP and UDP bandwidth WWW: http://dast.nlanr.net/Projects/Iperf/ I'm a bit confused about the license, though (although I probably shouldn't be). It says "The UI grants you (hereafter, Licensee) a license to use the Software for academic, research and internal business purposes only, without a fee." I'm guessing that merits NO_CDROM? >How-To-Repeat: N/A >Fix: (http://hex.databits.net/~petef/freebsd/iperf.shar) # 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: # # iperf # iperf/Makefile # iperf/distinfo # iperf/pkg-comment # iperf/pkg-descr # iperf/pkg-plist # iperf/files # iperf/files/patch-cfg::Makefile # iperf/files/patch-cfg::configure # echo c - iperf mkdir -p iperf > /dev/null 2>&1 echo x - iperf/Makefile sed 's/^X//' >iperf/Makefile << 'END-of-iperf/Makefile' X# New ports collection makefile for: iperf X# Date Created: 20 May 2001 X# Whom: Pete Fritchman <petef@databits.net> X# X# $FreeBSD$ X# X XPORTNAME= iperf XPORTVERSION= 1.2 XCATEGORIES= net XMASTER_SITES= http://dast.nlanr.net/Projects/Iperf/ X XMAINTAINER= petef@databits.net X XNO_CDROM= "can't charge a fee for the software" X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/doc/iperf X.for file in README doc/index.html doc/jperf.gif doc/lib.html doc/release.html \ X doc/ui_license.html X ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf X.endfor X.endif X X.include <bsd.port.mk> END-of-iperf/Makefile echo x - iperf/distinfo sed 's/^X//' >iperf/distinfo << 'END-of-iperf/distinfo' XMD5 (iperf-1.2.tar.gz) = b727074c779f8f3087dec5e455840201 END-of-iperf/distinfo echo x - iperf/pkg-comment sed 's/^X//' >iperf/pkg-comment << 'END-of-iperf/pkg-comment' XA tool to measure maximum TCP and UDP bandwidth END-of-iperf/pkg-comment echo x - iperf/pkg-descr sed 's/^X//' >iperf/pkg-descr << 'END-of-iperf/pkg-descr' XIperf is a tool for measuring maximum TCP and UDP bandwidth, Xreminiscent of ttcp and nettest. It has been written to overcome Xthe shortcomings of those aging tools. Iperf can also test UDP Xbandwidth, loss, and jitter. X XWWW: http://dast.nlanr.net/Projects/Iperf/ X X- Pete Xpetef@databits.net END-of-iperf/pkg-descr echo x - iperf/pkg-plist sed 's/^X//' >iperf/pkg-plist << 'END-of-iperf/pkg-plist' Xbin/iperf X%%PORTDOCS%%share/doc/iperf/README X%%PORTDOCS%%share/doc/iperf/index.html X%%PORTDOCS%%share/doc/iperf/jperf.gif X%%PORTDOCS%%share/doc/iperf/lib.html X%%PORTDOCS%%share/doc/iperf/release.html X%%PORTDOCS%%share/doc/iperf/ui_license.html X%%PORTDOCS%%@dirrm share/doc/iperf END-of-iperf/pkg-plist echo c - iperf/files mkdir -p iperf/files > /dev/null 2>&1 echo x - iperf/files/patch-cfg::Makefile sed 's/^X//' >iperf/files/patch-cfg::Makefile << 'END-of-iperf/files/patch-cfg::Makefile' X--- cfg/Makefile.orig Sat May 19 23:54:00 2001 X+++ cfg/Makefile Sat May 19 23:54:12 2001 X@@ -31,7 +31,7 @@ X # X X all: configure X- ./configure X+ ./configure --cc=${CC} --cxx=${CXX} X X clean: X -rm -f $(CLEAN_FILES) END-of-iperf/files/patch-cfg::Makefile echo x - iperf/files/patch-cfg::configure sed 's/^X//' >iperf/files/patch-cfg::configure << 'END-of-iperf/files/patch-cfg::configure' X--- cfg/configure.orig Sat May 19 23:45:26 2001 X+++ cfg/configure Sat May 19 23:54:28 2001 X@@ -90,6 +90,12 @@ X | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) X cache_file="$ac_optarg" ;; X X+ --cc=*) X+ ac_cv_prog_CC="$ac_optarg" ;; X+ X+ --cxx=*) X+ ac_cv_prog_CXX="$ac_optarg" ;; X+ X -datadir | --datadir | --datadi | --datad | --data | --dat | --da) X ac_prev=datadir ;; X -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ X@@ -952,7 +958,7 @@ X echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 X echo "configure:954: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 X echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 X-cross_compiling=$ac_cv_prog_cxx_cross X+cross_compiling="no" X X echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 X echo "configure:959: checking whether we are using GNU C++" >&5 X@@ -1065,14 +1071,7 @@ X echo X X X-if test -z "$ac_cv_use_pthread"; then X- ac_cv_use_pthread="yes" X-fi X-echo "Make iperf multi-threaded (using pthreads)? [$ac_cv_use_pthread] " X-read tmp X-if test -n "$tmp"; then X- ac_cv_use_pthread="$tmp" X-fi X+ac_cv_use_pthread="no" X X X if test "$ac_cv_use_pthread" = yes ; then END-of-iperf/files/patch-cfg::configure exit >Release-Note: >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?200105200414.f4K4EEf10916>