ports/80841: Update port: net/iperf to 2.0.2
Marcus Grando
marcus at corp.grupos.com.br
Tue May 10 01:40:02 UTC 2005
>Number: 80841
>Category: ports
>Synopsis: Update port: net/iperf to 2.0.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue May 10 01:40:01 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 #49: Mon May 9 12:28:47 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: net/iperf to 2.0.2
- Update to 2.0.2
- Modify uintmax_t to uint64_t
Add files:
files/patch-include::headers.h
>How-To-Repeat:
>Fix:
--- iperf.patch begins here ---
diff -ruN iperf.orig/Makefile iperf/Makefile
--- iperf.orig/Makefile Thu Apr 7 12:00:52 2005
+++ iperf/Makefile Mon May 9 21:46:57 2005
@@ -6,10 +6,10 @@
#
PORTNAME= iperf
-PORTVERSION= 2.0.1
+PORTVERSION= 2.0.2
CATEGORIES= net ipv6
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://dast.nlanr.net/Projects/Iperf2.0/
+MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/ \
+ ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= marcus at corp.grupos.com.br
@@ -25,6 +25,8 @@
THREADS "Enable threads support" on
.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
diff -ruN iperf.orig/distinfo iperf/distinfo
--- iperf.orig/distinfo Fri Mar 11 07:44:10 2005
+++ iperf/distinfo Mon May 9 21:35:54 2005
@@ -1,2 +1,2 @@
-MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
-SIZE (iperf-2.0.1.tar.gz) = 220446
+MD5 (iperf-2.0.2.tar.gz) = bb658aba58a5af0356f5b1342dfe8f53
+SIZE (iperf-2.0.2.tar.gz) = 233595
diff -ruN iperf.orig/files/patch-include::headers.h iperf/files/patch-include::headers.h
--- iperf.orig/files/patch-include::headers.h Wed Dec 31 21:00:00 1969
+++ iperf/files/patch-include::headers.h Mon May 9 21:41:28 2005
@@ -0,0 +1,11 @@
+--- include/headers.h.orig Mon May 9 21:40:53 2005
++++ include/headers.h Mon May 9 21:41:06 2005
+@@ -180,7 +180,7 @@
+ // from the gnu archive
+
+ #include <iperf-int.h>
+-typedef uintmax_t max_size_t;
++typedef uint64_t max_size_t;
+
+ /* in case the OS doesn't have these, we provide our own implementations */
+ #include "gettimeofday.h"
--- iperf.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list