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.
This commit is contained in:
bsiegert 2014-11-28 10:30:52 +00:00
parent b58314711f
commit 44fba779bd
2 changed files with 10 additions and 2 deletions

View file

@ -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)

View file

@ -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