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

Marcus Grando marcus at corp.grupos.com.br
Fri Jan 21 22:00:47 UTC 2005


>Number:         76553
>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:   Fri Jan 21 22:00:45 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #38: Sat Jan 15 14:57:21 BRST 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update port: net/iperf to 2.0.1

- Change to 2.0.1
- Rewrite pkg-descr
- Remove pkg-plist

	
>How-To-Repeat:
	
>Fix:

	

--- iperf.patch begins here ---
diff -ruN iperf.old/Makefile iperf/Makefile
--- iperf.old/Makefile	Sat May 17 16:39:42 2003
+++ iperf/Makefile	Fri Jan 21 19:12:35 2005
@@ -6,25 +6,29 @@
 #
 
 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/
 
 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"
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
+HAS_CONFIGURE=	yes
+
+PLIST_FILES=	bin/iperf
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=       *
+.endif
+
+post-install:
 .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
-	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif
+	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
 .endfor
 .endif
 
diff -ruN iperf.old/distinfo iperf/distinfo
--- iperf.old/distinfo	Wed Mar 31 00:10:01 2004
+++ iperf/distinfo	Fri Jan 21 19:12:12 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 iperf.old/pkg-descr iperf/pkg-descr
--- iperf.old/pkg-descr	Sun May 27 14:42:22 2001
+++ iperf/pkg-descr	Fri Jan 21 19:12:12 2005
@@ -1,9 +1,14 @@
-Iperf is a tool for measuring maximum TCP and UDP bandwidth,
-reminiscent of ttcp and nettest. It has been written to overcome
-the shortcomings of those aging tools. Iperf can also test UDP
-bandwidth, loss, and jitter.
+What is Iperf?
+
+While tools to measure network performance, such as ttcp,
+exist, most are very old and have confusing options. Iperf
+was developed as a modern alternative for measuring TCP 
+and UDP bandwidth performance.
+
+Iperf is a tool to measure maximum TCP bandwidth, allowing
+the tuning of various parameters and UDP characteristics.
+Iperf reports bandwidth, delay jitter, datagram loss. 
 
 WWW: http://dast.nlanr.net/Projects/Iperf/
 
-- Pete
-petef at databits.net
+Pete <petef at databits.net>
diff -ruN iperf.old/pkg-plist iperf/pkg-plist
--- iperf.old/pkg-plist	Mon Feb  3 10:38:14 2003
+++ iperf/pkg-plist	Wed Dec 31 21:00:00 1969
@@ -1,8 +0,0 @@
-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
--- iperf.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list