summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-11-28 10:30:52 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-11-28 10:30:52 +0000
commitb66311383b4b2e510a62332ba9c90089114ba771 (patch)
treeede66e6db35dc14c11cd74eb3615d101989a13ee
parent60bc09fc97200db8c7487ff28b04c5c86986af64 (diff)
downloadpkgsrc-b66311383b4b2e510a62332ba9c90089114ba771.tar.gz
Apply patch from upstream's issue 38 to prevent iperf from using 100% CPU
in daemon mode. Bump PKGREVISION. From Harry Waddell in PR pkg/49385.
-rw-r--r--net/iperf/Makefile7
-rw-r--r--net/iperf/distinfo5
2 files changed, 10 insertions, 2 deletions
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
index 8a180de1c84..26383b5439a 100644
--- a/net/iperf/Makefile
+++ b/net/iperf/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 17:18:28 asau Exp $
+# $NetBSD: Makefile,v 1.21 2014/11/28 10:30:52 bsiegert Exp $
DISTNAME= iperf-2.0.5
+PKGREVISION= 1
CATEGORIES= net benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
@@ -9,6 +10,10 @@ HOMEPAGE= http://iperf.sourceforge.net/
COMMENT= TCP and UDP bandwidth performance measurement tool
LICENSE= modified-bsd
+PATCHFILES= nomaxcpu.patch
+PATCH_SITES= http://sourceforge.net/p/iperf/patches/28/attachment/
+PATCH_DIST_STRIP=-p1
+
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
diff --git a/net/iperf/distinfo b/net/iperf/distinfo
index eb884b0c4c1..bac9ee1d489 100644
--- a/net/iperf/distinfo
+++ b/net/iperf/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.8 2011/01/31 08:42:09 adam Exp $
+$NetBSD: distinfo,v 1.9 2014/11/28 10:30:52 bsiegert Exp $
SHA1 (iperf-2.0.5.tar.gz) = 7302792dcb1bd7aeba032fef6d3dcc310e4d113f
RMD160 (iperf-2.0.5.tar.gz) = 975d971974437136ae72bb17c0f776ea92eaf878
Size (iperf-2.0.5.tar.gz) = 248583 bytes
+SHA1 (nomaxcpu.patch) = 46bf3129826e6221593be9ba9accfb040a9e475a
+RMD160 (nomaxcpu.patch) = a459869fc4e6c7981badc8b11b35ad504ae9808a
+Size (nomaxcpu.patch) = 3354 bytes
SHA1 (patch-ab) = e10e9119c5e830c186630aca72536ed1431fdbdc
SHA1 (patch-ac) = 83479534caf61cf034453e1953e9ed5618f3f74c