Bug 203752

Summary: [patch] benchmarks/netperf: Fix support of cpu utilization measurements on FreeBSD-10.x
Product: Ports & Packages Reporter: Serhii (Sergey) Kozlov <skozlov>
Component: Individual Port(s)Assignee: Marius Strobl <marius>
Status: Closed FIXED    
Severity: Affects Only Me CC: skozlov
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (marius)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
The Patch none

Description Serhii (Sergey) Kozlov freebsd_committer 2015-10-13 21:13:37 UTC
Created attachment 162000 [details]
The Patch

configure scripts auto-detects the sysctl method of doing cpu utilization measurements for FreeBSD. The auto-detection mechanism does work for FreeBSD 4-9, but not 10 or 11. The provided patch fixes the problem.

Bump the port revision to build new package which works for FreeBSD 10-11.
Comment 1 commit-hook freebsd_committer 2015-10-20 20:43:48 UTC
A commit references this bug:

Author: marius
Date: Tue Oct 20 20:43:44 UTC 2015
New revision: 399880
URL: https://svnweb.freebsd.org/changeset/ports/399880

Log:
  - Update to 2.7.0.
  - Add an EXAMPLES knob.
  - Unbreak CPU utilization measurement support for FreeBSD >= 10 [1], unbreak
    SCTP support for FreeBSD >= 10.

  PR:	203752 [1]

Changes:
  head/benchmarks/netperf/Makefile
  head/benchmarks/netperf/distinfo
  head/benchmarks/netperf/files/patch-bloat.sh
  head/benchmarks/netperf/files/patch-configure
  head/benchmarks/netperf/files/patch-netcpu_sysctl.c
  head/benchmarks/netperf/files/patch-nettest_unix.c
  head/benchmarks/netperf/files/patch-runemomni.sh
  head/benchmarks/netperf/files/patch-runemomniagg2.sh
  head/benchmarks/netperf/files/patch-runemomniaggdemo.sh
  head/benchmarks/netperf/pkg-plist