diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/netperf/Makefile | 12 | ||||
-rw-r--r-- | benchmarks/netperf/distinfo | 15 | ||||
-rw-r--r-- | benchmarks/netperf/patches/patch-aa | 12 | ||||
-rw-r--r-- | benchmarks/netperf/patches/patch-ab | 10 | ||||
-rw-r--r-- | benchmarks/netperf/patches/patch-ah | 8 | ||||
-rw-r--r-- | benchmarks/netperf/patches/patch-ak | 8 |
6 files changed, 26 insertions, 39 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index eca29c1a2f9..0fc01497e70 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2012/09/11 22:37:13 asau Exp $ +# $NetBSD: Makefile,v 1.10 2014/04/01 11:13:27 adam Exp $ -DISTNAME= netperf-2.4.5 +DISTNAME= netperf-2.6.0 CATEGORIES= benchmarks MASTER_SITES= ftp://ftp.netperf.org/netperf/ EXTRACT_SUFX= .tar.bz2 @@ -8,6 +8,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.netperf.org/ COMMENT= Rick Jones' network performance benchmarking package +LICENSE= modified-bsd GNU_CONFIGURE= yes INFO_FILES= yes @@ -18,10 +19,9 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man1 # The sources assume <malloc.h> exists. Create a fake one for platforms # that don't have it. +.if !exists(/usr/include/malloc.h) post-wrapper: - if ${TEST} ! -f /usr/include/malloc.h; then \ - ${ECHO} "#include <stdlib.h>" \ - > ${BUILDLINK_DIR}/include/malloc.h; \ - fi + ${ECHO} "#include <stdlib.h>" > ${BUILDLINK_DIR}/include/malloc.h +.endif .include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/netperf/distinfo b/benchmarks/netperf/distinfo index 2233031f548..bdcaa5b40c3 100644 --- a/benchmarks/netperf/distinfo +++ b/benchmarks/netperf/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.6 2010/12/30 08:05:18 obache Exp $ +$NetBSD: distinfo,v 1.7 2014/04/01 11:13:27 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-ab) = 0c6114063e3bf0bf0875013aa55a03f7533ff9a6 -SHA1 (patch-ah) = 6ca99c4ce567ff2a36f49426e604c7bdfd31f02d -SHA1 (patch-ak) = 98228d85034878ff3f0c25bebcc80a6006a2f9f4 +SHA1 (netperf-2.6.0.tar.bz2) = 3e1be4e7c3f7a838c4d5c00c6d20a619b320bfef +RMD160 (netperf-2.6.0.tar.bz2) = c3adf0b67e1d8e8a51c229910aa7347182991df2 +Size (netperf-2.6.0.tar.bz2) = 1032953 bytes +SHA1 (patch-ab) = 096eed1eccf6a2f7003898711384ed67019800d7 +SHA1 (patch-ah) = b2ee5c6312ed987d6b796fa462dcc3557146580f +SHA1 (patch-ak) = 68628408979f164f2843bbe0eac0cb122af3b4fc diff --git a/benchmarks/netperf/patches/patch-aa b/benchmarks/netperf/patches/patch-aa deleted file mode 100644 index 5e5126f1db4..00000000000 --- a/benchmarks/netperf/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2010/05/06 11:14:01 adam Exp $ - ---- src/net_uuid.c.orig 2010-05-06 12:52:11.000000000 +0000 -+++ src/net_uuid.c -@@ -38,7 +38,6 @@ - #else - #include <sys/types.h> - #include <sys/time.h> --#include <sys/sysinfo.h> - #endif - - /* system dependent call to get the current system time. Returned as diff --git a/benchmarks/netperf/patches/patch-ab b/benchmarks/netperf/patches/patch-ab index 46268051bbf..a99080fe128 100644 --- a/benchmarks/netperf/patches/patch-ab +++ b/benchmarks/netperf/patches/patch-ab @@ -1,15 +1,15 @@ -$NetBSD: patch-ab,v 1.3 2010/12/30 08:05:18 obache Exp $ +$NetBSD: patch-ab,v 1.4 2014/04/01 11:13:27 adam Exp $ * sendfile(2) of DragonFly is FreeBSD in origin. ---- src/nettest_bsd.c.orig 2009-06-04 00:31:15.000000000 +0000 +--- src/nettest_bsd.c.orig 2012-06-19 20:32:47.000000000 +0000 +++ src/nettest_bsd.c -@@ -4372,7 +4372,7 @@ Size (bytes)\n\ +@@ -4560,7 +4560,7 @@ Size (bytes)\n\ sv.sfv_off = send_ring->offset; sv.sfv_len = send_ring->length; if ((len = sendfilev(send_socket, &sv, 1, &scratch_len)) != send_size) -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) /* so close to HP-UX and yet so far away... :) */ - if ((sendfile(send_ring->fildes, - send_socket, + if ((sendfile(send_ring->fildes, + send_socket, diff --git a/benchmarks/netperf/patches/patch-ah b/benchmarks/netperf/patches/patch-ah index fa0dc929f01..accad6ff3c9 100644 --- a/benchmarks/netperf/patches/patch-ah +++ b/benchmarks/netperf/patches/patch-ah @@ -1,12 +1,12 @@ -$NetBSD: patch-ah,v 1.2 2010/05/06 11:14:01 adam Exp $ +$NetBSD: patch-ah,v 1.3 2014/04/01 11:13:27 adam Exp $ ---- src/netlib.h.orig 2008-10-30 20:48:46.000000000 +0000 +--- src/netlib.h.orig 2012-06-19 20:46:47.000000000 +0000 +++ src/netlib.h -@@ -476,6 +476,7 @@ extern int lib_num_rem_cpus; +@@ -489,6 +489,7 @@ extern int lib_num_rem_cpus; extern SOCKET server_sock; extern int times_up; extern FILE *where; +extern int fd; extern int loops_per_msec; extern float lib_local_per_cpu_util[]; - + diff --git a/benchmarks/netperf/patches/patch-ak b/benchmarks/netperf/patches/patch-ak index eb471319961..f5efc4f3469 100644 --- a/benchmarks/netperf/patches/patch-ak +++ b/benchmarks/netperf/patches/patch-ak @@ -1,12 +1,12 @@ -$NetBSD: patch-ak,v 1.2 2010/05/06 11:14:01 adam Exp $ +$NetBSD: patch-ak,v 1.3 2014/04/01 11:13:27 adam Exp $ ---- src/netlib.c.orig 2009-05-27 22:27:34.000000000 +0000 +--- src/netlib.c.orig 2012-06-19 20:32:29.000000000 +0000 +++ src/netlib.c -@@ -262,6 +262,7 @@ union netperf_request_struct netperf_ +@@ -259,6 +259,7 @@ union netperf_request_struct netperf_ union netperf_response_struct netperf_response; FILE *where; +int fd = -1; char libfmt = '?'; - + |