ports/78674: Update port: net/iperf to 2.0.1

tjs tjs at cdpa.nsysu.edu.tw
Thu Mar 10 17:00:15 UTC 2005


>Number:         78674
>Category:       ports
>Synopsis:       Update port: net/iperf to 2.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 10 17:00:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
NSYSU-CDPA
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Feb 5 00:27:10 CST 2005 tjs at Pluto.CDPA.nsysu.edu.tw:/usr/obj/usr/src/sys/Pluto i386


>Description:
	Update port: net/iperf from 1.7.0 to 2.0.1
>How-To-Repeat:
>Fix:

--- net/iperf/Makefile.orig     Thu Mar 10 23:03:31 2005
+++ net/iperf/Makefile  Fri Mar 11 00:58:18 2005
@@ -6,24 +6,38 @@
 #

 PORTNAME=      iperf
-PORTVERSION=   1.7.0
+PORTVERSION=   2.0.1
 CATEGORIES=    net ipv6
-MASTER_SITES=  http://dast.nlanr.net/Projects/Iperf/
-DISTNAME=      iperf-1.7.0-source
+MASTER_SITES=  http://dast.nlanr.net/Projects/Iperf2.0/ \
+                               ${MASTER_SITE_SOURCEFORGE}
+DISTNAME=      ${PORTNAME}-${PORTVERSION}

 MAINTAINER=    smace at FreeBSD.org
 COMMENT=       A tool to measure maximum TCP and UDP bandwidth

-WRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 NO_CDROM=      "can't charge a fee for the software"

+GNU_CONFIGURE= YES
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif
+
+.if defined(WITHOUT_THREADS)
+CONFIGURE_ARGS+=       --disable-threads
+.endif
+
+pre-everything::
+       @${ECHO_MSG}    ""
+       @${ECHO_MSG}    "USE WITHOUT_IPV6 to disable ipv6 support"
+       @${ECHO_MSG}    "USE WITHOUT_THREADS to disable thread support"
+       @${ECHO_MSG}    ""
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/iperf ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
        @${MKDIR} ${PREFIX}/share/doc/iperf
-.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
-               doc/lib.html doc/ui_license.html
+.for file in README doc/index.html doc/dast.gif doc/ui_license.html
        ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
 .endfor
 .endif

diff -ruN net/iperf/distinfo.orig net/iperf/distinfo
--- net/iperf/distinfo.orig     Thu Mar 10 23:03:49 2005
+++ net/iperf/distinfo  Thu Mar 10 23:16:51 2005
@@ -1,2 +1,2 @@
-MD5 (iperf-1.7.0-source.tar.gz) = 3e4aea85822bcf10ed14040f4b26bd26
-SIZE (iperf-1.7.0-source.tar.gz) = 182773
+MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
+SIZE (iperf-2.0.1.tar.gz) = 220446

diff -ruN net/iperf/pkg-plist.orig net/iperf/pkg-plist
--- net/iperf/pkg-plist.orig    Thu Mar 10 23:06:21 2005
+++ net/iperf/pkg-plist Fri Mar 11 00:27:36 2005
@@ -1,8 +1,6 @@
 bin/iperf
 %%PORTDOCS%%share/doc/iperf/README
 %%PORTDOCS%%share/doc/iperf/index.html
-%%PORTDOCS%%share/doc/iperf/jperf.gif
 %%PORTDOCS%%share/doc/iperf/dast.gif
-%%PORTDOCS%%share/doc/iperf/lib.html
 %%PORTDOCS%%share/doc/iperf/ui_license.html
 %%PORTDOCS%%@dirrm share/doc/iperf

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list