For the most part, this complicates the build, moves the debug log from
/tmp to /var/log and changes debugging to default to off. Also:
- Don't let netserver chmod(2) /dev/null to 644 when debug log is off.
- Take back port.
Approved by: netchild
switch to snapshots directly obtained from the github repository (currently
at version 2.7.1). Generally, there aren't that many changes since the 2.7.0
release version of netperf, the most noteworthy changes are in the area of
FreeBSD support, though:
- FreeBSD-specific code for letting netperf/netserver bind to CPUs, e. g.
via the global "-T" option, has been added.
- The nettest_bsd back-end now can take advantage of aio(4) via the newly
added test-specific "-a" and "-A" options, which in turn allows zero-copy
send and receive with e. g. cxgbe(4). Note that this requires the netperf
port to be built with its default-on OMNI option disabled, as otherwise
the nettest_omni back-end and the migration to it from legacy back-ends
(also the upstream default since netperf 2.5.0) will be used instead.
Apart from that, some test scripts missing in the published releases but
referenced by test scripts already part of e. g. netperf 2.7.0 are now
included.
- SOCKETS - Unix domain socket support and tests
- SCTP - Stream Control Transmission Protocol support and tests
- EXS - ICSC async socket support
- HISTOGRAM - Optional histogram output
- OMNI - Enable OMNI tests
2) Patch to $WRKSRC/configure which fixes CPU measurement and ROUTE
lookup routines in netperf, which result in this output:
-------------
checking which CPU utilization measurement type to use... "none.
Consider teaching configure about your platform."
checking which route lookup type to use... "none. Consider teaching
configure about your platform."
--------------
3) Add to default configure_args
--enable-dirty
--enable-demo
--enable-burst
--enable-intervals
Note: these just add additional command arguments and options, and are
not globally enabled in netperf so wont affect existing users/tests.
Submitted by: koobs (No email address by the request)
Allow ${PREFIX} setting. (ports/12213)
Clean up makefile a smidge.
PR: ports/11581 and ports/12213
Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at
and Nick Hibma nick.hibma@jrc.it