DESCR

Netperf is a serious networking performance evaluation tool being
distributed under GPL by HP's Information Networks Division.
Testing is done using a pair of programs: `netserver' (the server) and
`netperf' (the measurement tool).

Netperf allows control over a large number of test `variables'.
Some of these are:

* specification of desired confidence levels for the tests
Netperf will warn the user if these levels were not achieved.
* filling send buffers with specified data (to beat compression
schemes)
* specification of send/recieve buffer alignments and data offsets
* requesting cpu utilization and service demand calculations
* specification of sizes of data to send

Netperf can be used for measuring stream performance as well as
round-trip performance.

This port of netperf has been configured to support:

TCP and UDP via BSD sockets
Unix domain sockets

Makefile

# $NetBSD: Makefile,v 1.8 2010/05/06 11:14:01 adam Exp $

DISTNAME= netperf-2.4.5
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.netperf.org/netperf/
EXTRACT_SUFX= .tar.bz2

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.netperf.org/
COMMENT= Rick Jones' network performance benchmarking package

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes
INFO_FILES= yes

CFLAGS.IRIX+= -DIRIX

INSTALLATION_DIRS= ${PKGMANDIR}/man1

# The sources assume exists. Create a fake one for platforms
# that don't have it.
post-wrapper:
if ${TEST} ! -f /usr/include/malloc.h; then \
${ECHO} "#include " \
> ${BUILDLINK_DIR}/include/malloc.h; \
fi

.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.3 2010/05/06 11:14:01 adam Exp $
bin/netperf
bin/netserver
info/netperf.info
man/man1/netperf.1
man/man1/netserver.1

distinfo

$NetBSD: distinfo,v 1.5 2010/05/06 11:14:01 adam Exp $

SHA1 (netperf-2.4.5.tar.bz2) = ccfe3d11ce520c75dc394277b1bea49f353e032d
RMD160 (netperf-2.4.5.tar.bz2) = 5791ebfcc798b968dd85e591bb96ade925208294
Size (netperf-2.4.5.tar.bz2) = 960609 bytes
SHA1 (patch-aa) = a910b966c414f3a7cd5b0d898726966e47969522
SHA1 (patch-ah) = 6ca99c4ce567ff2a36f49426e604c7bdfd31f02d
SHA1 (patch-ak) = 98228d85034878ff3f0c25bebcc80a6006a2f9f4