summaryrefslogtreecommitdiff
path: root/benchmarks/iperf
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-05-10 12:17:48 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-05-10 12:17:48 +0000
commitd06dcbddd8c4f1720deec388ae5c124a5f1d49dd (patch)
treecc11e572d0e6cc155d559ffaa17342ca5f778b7d /benchmarks/iperf
parent- Back out native bswap commit for FreeBSD 4.x, where it does not compile. (diff)
- Update to 2.0.2
- Modify uintmax_t to uint64_t PR: 80841 Submitted by: Marcus Grando (maintainer)
Notes
Notes: svn path=/head/; revision=134987
Diffstat (limited to 'benchmarks/iperf')
-rw-r--r--benchmarks/iperf/Makefile8
-rw-r--r--benchmarks/iperf/distinfo4
-rw-r--r--benchmarks/iperf/files/patch-include-headers.h11
3 files changed, 18 insertions, 5 deletions
diff --git a/benchmarks/iperf/Makefile b/benchmarks/iperf/Makefile
index fccf7dd04c09..d88e5442cb75 100644
--- a/benchmarks/iperf/Makefile
+++ b/benchmarks/iperf/Makefile
@@ -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@corp.grupos.com.br
@@ -26,6 +26,8 @@ OPTIONS= IPV6 "Enable support to IPv6" on \
.include <bsd.port.pre.mk>
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
diff --git a/benchmarks/iperf/distinfo b/benchmarks/iperf/distinfo
index 37dee94b28bd..5daf14d8d02d 100644
--- a/benchmarks/iperf/distinfo
+++ b/benchmarks/iperf/distinfo
@@ -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 --git a/benchmarks/iperf/files/patch-include-headers.h b/benchmarks/iperf/files/patch-include-headers.h
new file mode 100644
index 000000000000..ebb5a5f68ae9
--- /dev/null
+++ b/benchmarks/iperf/files/patch-include-headers.h
@@ -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"