Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.48 2013/11/30 20:31:30 tron Exp $
# $NetBSD: Makefile,v 1.50 2015/02/28 23:09:27 prlw1 Exp $
#
COMMENT= Benchmarking tools
@@ -15,6 +15,7 @@ SUBDIR+= fib
SUBDIR+= filebench
SUBDIR+= flops
SUBDIR+= forkbomb
SUBDIR+= glmark2
SUBDIR+= hbench
SUBDIR+= heapsort
SUBDIR+= hint
@@ -31,6 +32,7 @@ SUBDIR+= netpipe
SUBDIR+= nettest
SUBDIR+= nsieve
SUBDIR+= nttcp
SUBDIR+= p5-Benchmark-Timer
SUBDIR+= paranoia
SUBDIR+= phoronix-test-suite
SUBDIR+= pipebench

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2012/09/11 22:37:10 asau Exp $
# $NetBSD: Makefile,v 1.38 2014/10/09 14:05:58 wiz Exp $
DISTNAME= benchfft-2.0
PKGREVISION= 4
@@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fftw.org/benchfft/
COMMENT= Benchmark your machine with a number of FFT algorithms
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_TOOLS+= gmake csh:run
USE_LANGUAGES= c fortran77

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.28 2013/05/31 12:39:38 wiz Exp $
# $NetBSD: Makefile,v 1.30 2014/10/09 14:05:58 wiz Exp $
#
DISTNAME= bonnie++-1.03e
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= benchmarks
MASTER_SITES= http://www.coker.com.au/bonnie++/
EXTRACT_SUFX= .tgz
@@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.coker.com.au/bonnie++/
COMMENT= Enhanced performance Test of Filesystem I/O
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
USE_TOOLS+= gmake perl:run tee

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.38 2013/09/10 14:12:38 joerg Exp $
# $NetBSD: Makefile,v 1.39 2014/10/09 14:05:58 wiz Exp $
DISTNAME= bonnie
PKGNAME= bonnie-2.06
@@ -12,8 +12,6 @@ COMMENT= Performance Test of Sequential Filesystem I/O and STDIO
NOT_FOR_PLATFORM= Interix-*-* # has only 32-bit off_t
PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_CONFIGURE= yes
WRKSRC= ${WRKDIR}

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.25 2013/05/31 12:39:38 wiz Exp $
# $NetBSD: Makefile,v 1.27 2014/10/09 14:05:58 wiz Exp $
DISTNAME= unixbench-4.1.0
PKGNAME= ${DISTNAME:S/unix/byte/}
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= benchmarks
MASTER_SITES= http://www.tux.org/pub/tux/benchmarks/System/unixbench/
EXTRACT_SUFX= .tgz
@@ -10,8 +10,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= BYTE Magazine's Public Domain benchmark for UNIX
PKG_INSTALLATION_TYPES= overwrite pkgviews
BENCHMARK_ENV+= BINDIR=${WRKSRC}/pgms
BENCHMARK_ENV+= SCRPDIR=${WRKSRC}/pgms
BENCHMARK_ENV+= RESULTDIR=${WRKSRC}/results

View File

@@ -1,17 +1,16 @@
# $NetBSD: Makefile,v 1.15 2012/09/11 22:37:11 asau Exp $
# $NetBSD: Makefile,v 1.17 2014/12/12 06:45:34 mef Exp $
DISTNAME= dbench-3.04
PKGREVISION= 1
DISTNAME= dbench-4.0
CATEGORIES= benchmarks
MASTER_SITES= http://samba.org/ftp/tridge/dbench/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://samba.org/ftp/tridge/dbench/README
COMMENT= Simulation of the Ziff-Davis netbench benchmark
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
GNU_CONFIGURE= yes
USE_TOOLS= autoconf
.include "../../mk/bsd.prefs.mk"
@@ -31,7 +30,11 @@ SUBST_SED.path= -e 's|/usr/share/|${PREFIX}/share/|g'
INSTALLATION_DIRS= share/doc/dbench
pre-configure:
(cd ${WRKSRC}; autoconf)
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dbench
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.12 2012/01/23 09:39:52 wiz Exp $
$NetBSD: distinfo,v 1.14 2015/02/08 20:40:51 fhajny Exp $
SHA1 (dbench-3.04.tar.gz) = 09d7b647663ddc3e5617956dedd1aa6a4da2d840
RMD160 (dbench-3.04.tar.gz) = 707f396aec21e6c6c79a6b93217e9503356cefea
Size (dbench-3.04.tar.gz) = 2078197 bytes
SHA1 (patch-aa) = f808137abe6b88add704ffbbaaa7684b84a5900c
SHA1 (patch-ab) = 8d17f83c86ef9b733f6970454f3321a8afdac600
SHA1 (patch-ac) = b60ff204f1f2a1f30976a8c2a51f19e0633e4bf5
SHA1 (dbench-4.0.tar.gz) = 34492fa9d9686052e9b85bd3deedc2bbf6cef626
RMD160 (dbench-4.0.tar.gz) = bff2f721eb47868a1e34d4d4691817f0a6f037d8
Size (dbench-4.0.tar.gz) = 2055359 bytes
SHA1 (patch-aa) = 3e523784ef4d1f2a3d4bd94ee22b29c604e3721a
SHA1 (patch-ab) = 83e77ea062793e29a0417c1473214e617799c1c1
SHA1 (patch-ac) = 2f1990b22f047d6b66521c4a25f5aeddc6aa24f8
SHA1 (patch-dbench.h) = 7c217dc7d4f8cce6b4fa9bb4c4f117a0ec1f6e33

View File

@@ -1,4 +1,6 @@
$NetBSD: patch-aa,v 1.6 2012/01/23 09:39:52 wiz Exp $
$NetBSD: patch-aa,v 1.7 2014/12/12 06:45:34 mef Exp $
Add Darwin and DragonFly support
--- fileio.c.orig 2004-12-13 02:47:59.000000000 +0000
+++ fileio.c

View File

@@ -1,7 +1,15 @@
$NetBSD: patch-ab,v 1.6 2008/05/01 13:17:55 obache Exp $
$NetBSD: patch-ab,v 1.7 2014/12/12 06:45:34 mef Exp $
--- Makefile.in.orig 2005-11-08 03:40:41.000000000 +0000
+++ Makefile.in
Correction to man path
and Fix followig problem
=> Checking for missing run-time search paths in dbench-4.0
ERROR: bin/dbench: missing library: libpopt.so.0
ERROR: bin/tbench: missing library: libpopt.so.0
ERROR: bin/tbench_srv: missing library: libpopt.so.0
--- Makefile.in.orig 2008-02-18 09:49:25.000000000 +0900
+++ Makefile.in 2014-12-12 15:25:46.000000000 +0900
@@ -6,7 +6,7 @@ VPATH=@srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
@@ -10,4 +18,21 @@ $NetBSD: patch-ab,v 1.6 2008/05/01 13:17:55 obache Exp $
+mandir=@mandir@/man1
datadir=@datadir@
INSTALLCMD=@INSTALL@
LIBS=@LIBS@
LIBS=@LIBS@ -lpopt
@@ -22,13 +22,13 @@ SRV_OBJS = util.o tbench_srv.o socklib.o
all: dbench tbench tbench_srv
dbench: $(DB_OBJS)
- $(CC) -o $@ $(DB_OBJS) $(LIBS)
+ $(CC) -o $@ ${LDFLAGS} $(DB_OBJS) $(LIBS)
tbench: $(TB_OBJS)
- $(CC) -o $@ $(TB_OBJS) $(LIBS)
+ $(CC) -o $@ ${LDFLAGS} $(TB_OBJS) $(LIBS)
tbench_srv: $(SRV_OBJS)
- $(CC) -o $@ $(SRV_OBJS) $(LIBS)
+ $(CC) -o $@ ${LDFLAGS} $(SRV_OBJS) $(LIBS)
# Careful here: don't install client.txt over itself.
install: all

View File

@@ -1,4 +1,11 @@
$NetBSD: patch-ac,v 1.2 2006/03/16 23:00:08 minskim Exp $
$NetBSD: patch-ac,v 1.3 2014/12/12 06:45:34 mef Exp $
Make this package build on Darwin. getxattr(2) and setxattr(2) on Darwin
require additional arguments related to the resource fork attribute.
Use O_FSYNC instead of O_SYNC on DragonFly. Disable extattr_get_file
on DragonFly, the semantic is different and it isn't very useful
in the current form.
--- system.c.orig 2004-12-12 17:37:43.000000000 -0800
+++ system.c

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-dbench.h,v 1.1 2015/02/08 20:40:51 fhajny Exp $
Fix build on SunOS. Taken from bundled snprintf.c.
--- dbench.h.orig 2008-02-18 00:49:35.000000000 +0000
+++ dbench.h
@@ -92,6 +92,10 @@
#define False 0
#define uint32 unsigned
+#ifdef __sun
+#define MAX(p,q) (((p) >= (q)) ? (p) : (q))
+#endif
+
struct op {
unsigned count;
double total_time;

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2012/09/11 22:37:11 asau Exp $
# $NetBSD: Makefile,v 1.17 2014/10/09 14:05:59 wiz Exp $
DISTNAME= dhry2.1
PKGNAME= dhrystone-2.1
@@ -10,8 +10,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Reinhold Weicker's DHRYSTONE 2.1 integer benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.3 2014/02/12 23:17:35 tron Exp $
# $NetBSD: Makefile,v 1.4 2014/12/15 00:49:21 mef Exp $
DISTNAME= dnsperf-src-2.0.0.0-1
PKGNAME= dnsperf-2.0.0.0
PKGREVISION= 1
CATEGORIES= benchmarks net
MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PKGBASE}/${PKGVERSION}/
MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PKGBASE}/${PKGVERSION_NOREV}/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.nominum.com/support/measurement-tools/

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2012/09/11 22:37:11 asau Exp $
# $NetBSD: Makefile,v 1.17 2014/10/09 14:05:59 wiz Exp $
DISTNAME= fib.c
PKGNAME= fib-980203
@@ -9,8 +9,6 @@ EXTRACT_SUFX= #empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Mathematical benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2012/09/11 22:37:12 asau Exp $
# $NetBSD: Makefile,v 1.18 2014/10/09 14:05:59 wiz Exp $
DISTNAME= flops
PKGNAME= flops-2.0
@@ -10,8 +10,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://performance.netlib.org/performance/html/flops.html
COMMENT= Floating point benchmark to give your MFLOPS rating
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

1
benchmarks/glmark2/DESCR Normal file
View File

@@ -0,0 +1 @@
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.

View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.5 2015/03/08 23:25:39 joerg Exp $
DISTNAME= glmark2-2014.03
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_GITHUB:=glmark2/}
GITHUB_TAG= 499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://github.com/glmark2/glmark2
COMMENT= OpenGL 2.0 and ES 2.0 benchmark
LICENSE= gnu-gpl-v3 AND modified-bsd
USE_LANGUAGES= c c++
PYTHON_VERSIONS_INCOMPATIBLE= 33 34
USE_TOOLS+= pkg-config
.include "../../mk/dlopen.buildlink3.mk"
.if empty(BUILTIN_LIB_FOUND.dl:M[yY][eE][sS])
SUBST_CLASSES+= rmdl
SUBST_STAGE.rmdl= pre-configure
SUBST_MESSAGE.rmdl= remove -ldl
SUBST_FILES.rmdl= src/wscript_build
SUBST_SED.rmdl= -e "s/, 'dl'//"
.endif
#./waf configure --with-flavors=<drm-gl,drm-glesv2,mir-gl,mir-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2> [--data-path=DATA_PATH --prefix=PREFIX]
# drm-gl requires libdrm and "gbm"
do-configure:
cd ${WRKSRC:Q} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
--with-flavors=x11-gl \
--prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}
do-build:
cd ${WRKSRC:Q} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf build
do-install:
cd ${WRKSRC:Q} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf install \
--destdir=${DESTDIR}
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

137
benchmarks/glmark2/PLIST Normal file
View File

@@ -0,0 +1,137 @@
@comment $NetBSD: PLIST,v 1.1 2015/02/28 23:09:27 prlw1 Exp $
bin/glmark2
share/glmark2/models/asteroid-high.3ds
share/glmark2/models/asteroid-low.3ds
share/glmark2/models/bunny.obj
share/glmark2/models/cat.3ds
share/glmark2/models/cube.3ds
share/glmark2/models/horse.3ds
share/glmark2/models/jellyfish.jobj
share/glmark2/shaders/README.shaders
share/glmark2/shaders/buffer-wireframe.frag
share/glmark2/shaders/buffer-wireframe.vert
share/glmark2/shaders/bump-height.frag
share/glmark2/shaders/bump-height.vert
share/glmark2/shaders/bump-normals-tangent.frag
share/glmark2/shaders/bump-normals-tangent.vert
share/glmark2/shaders/bump-normals.frag
share/glmark2/shaders/bump-normals.vert
share/glmark2/shaders/bump-poly.frag
share/glmark2/shaders/bump-poly.vert
share/glmark2/shaders/conditionals-step-conditional.all
share/glmark2/shaders/conditionals-step-simple.all
share/glmark2/shaders/conditionals.frag
share/glmark2/shaders/conditionals.vert
share/glmark2/shaders/depth.frag
share/glmark2/shaders/depth.vert
share/glmark2/shaders/desktop-blur.frag
share/glmark2/shaders/desktop.frag
share/glmark2/shaders/desktop.vert
share/glmark2/shaders/effect-2d-convolution.frag
share/glmark2/shaders/effect-2d.vert
share/glmark2/shaders/function-call.all
share/glmark2/shaders/function-step-low.all
share/glmark2/shaders/function-step-medium.all
share/glmark2/shaders/function.frag
share/glmark2/shaders/function.vert
share/glmark2/shaders/gradient.frag
share/glmark2/shaders/gradient.vert
share/glmark2/shaders/ideas-lamp-lit.frag
share/glmark2/shaders/ideas-lamp-lit.vert
share/glmark2/shaders/ideas-lamp-unlit.frag
share/glmark2/shaders/ideas-lamp-unlit.vert
share/glmark2/shaders/ideas-logo-flat.frag
share/glmark2/shaders/ideas-logo-flat.vert
share/glmark2/shaders/ideas-logo-shadow.frag
share/glmark2/shaders/ideas-logo-shadow.vert
share/glmark2/shaders/ideas-logo.frag
share/glmark2/shaders/ideas-logo.vert
share/glmark2/shaders/ideas-paper.frag
share/glmark2/shaders/ideas-paper.vert
share/glmark2/shaders/ideas-table.frag
share/glmark2/shaders/ideas-table.vert
share/glmark2/shaders/ideas-text.frag
share/glmark2/shaders/ideas-text.vert
share/glmark2/shaders/ideas-under-table.frag
share/glmark2/shaders/ideas-under-table.vert
share/glmark2/shaders/jellyfish.frag
share/glmark2/shaders/jellyfish.vert
share/glmark2/shaders/light-advanced.frag
share/glmark2/shaders/light-advanced.vert
share/glmark2/shaders/light-basic-tex-bilinear.frag
share/glmark2/shaders/light-basic-tex.frag
share/glmark2/shaders/light-basic-texgen.vert
share/glmark2/shaders/light-basic.frag
share/glmark2/shaders/light-basic.vert
share/glmark2/shaders/light-cel.frag
share/glmark2/shaders/light-phong.frag
share/glmark2/shaders/light-phong.vert
share/glmark2/shaders/light-refract.frag
share/glmark2/shaders/light-refract.vert
share/glmark2/shaders/loop-step-loop.all
share/glmark2/shaders/loop-step-simple.all
share/glmark2/shaders/loop.frag
share/glmark2/shaders/loop.vert
share/glmark2/shaders/pulsar-light.vert
share/glmark2/shaders/pulsar.vert
share/glmark2/shaders/shadow.frag
share/glmark2/shaders/shadow.vert
share/glmark2/shaders/terrain-blur.frag
share/glmark2/shaders/terrain-luminance.frag
share/glmark2/shaders/terrain-noise.frag
share/glmark2/shaders/terrain-normalmap.frag
share/glmark2/shaders/terrain-overlay.frag
share/glmark2/shaders/terrain-texture.vert
share/glmark2/shaders/terrain.frag
share/glmark2/shaders/terrain.vert
share/glmark2/shaders/text-renderer.frag
share/glmark2/shaders/text-renderer.vert
share/glmark2/textures/asteroid-height-map.png
share/glmark2/textures/asteroid-normal-map-tangent.png
share/glmark2/textures/asteroid-normal-map.png
share/glmark2/textures/crate-base.png
share/glmark2/textures/desktop-shadow-corner.png
share/glmark2/textures/desktop-shadow.png
share/glmark2/textures/desktop-window.png
share/glmark2/textures/effect-2d.png
share/glmark2/textures/glyph-atlas.png
share/glmark2/textures/jellyfish-caustics-01.png
share/glmark2/textures/jellyfish-caustics-02.png
share/glmark2/textures/jellyfish-caustics-03.png
share/glmark2/textures/jellyfish-caustics-04.png
share/glmark2/textures/jellyfish-caustics-05.png
share/glmark2/textures/jellyfish-caustics-06.png
share/glmark2/textures/jellyfish-caustics-07.png
share/glmark2/textures/jellyfish-caustics-08.png
share/glmark2/textures/jellyfish-caustics-09.png
share/glmark2/textures/jellyfish-caustics-10.png
share/glmark2/textures/jellyfish-caustics-11.png
share/glmark2/textures/jellyfish-caustics-12.png
share/glmark2/textures/jellyfish-caustics-13.png
share/glmark2/textures/jellyfish-caustics-14.png
share/glmark2/textures/jellyfish-caustics-15.png
share/glmark2/textures/jellyfish-caustics-16.png
share/glmark2/textures/jellyfish-caustics-17.png
share/glmark2/textures/jellyfish-caustics-18.png
share/glmark2/textures/jellyfish-caustics-19.png
share/glmark2/textures/jellyfish-caustics-20.png
share/glmark2/textures/jellyfish-caustics-21.png
share/glmark2/textures/jellyfish-caustics-22.png
share/glmark2/textures/jellyfish-caustics-23.png
share/glmark2/textures/jellyfish-caustics-24.png
share/glmark2/textures/jellyfish-caustics-25.png
share/glmark2/textures/jellyfish-caustics-26.png
share/glmark2/textures/jellyfish-caustics-27.png
share/glmark2/textures/jellyfish-caustics-28.png
share/glmark2/textures/jellyfish-caustics-29.png
share/glmark2/textures/jellyfish-caustics-30.png
share/glmark2/textures/jellyfish-caustics-31.png
share/glmark2/textures/jellyfish-caustics-32.png
share/glmark2/textures/jellyfish256.png
share/glmark2/textures/nasa1.png
share/glmark2/textures/nasa2.png
share/glmark2/textures/nasa3.png
share/glmark2/textures/terrain-backgrounddetailed6.jpg
share/glmark2/textures/terrain-grasslight-512-nm.jpg
share/glmark2/textures/terrain-grasslight-512.jpg
man/man1/glmark2.1

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.3 2015/03/08 23:25:39 joerg Exp $
SHA1 (glmark2-2014.03-499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc.tar.gz) = 2cedb183b5ee5cb1a4448200a63835862a2796a7
RMD160 (glmark2-2014.03-499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc.tar.gz) = d20f6500c02b3eda2ae7d0f04910a79b977be6c0
Size (glmark2-2014.03-499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc.tar.gz) = 7811333 bytes
SHA1 (patch-src_image-reader.h) = d3a39e6129a956b1021213976d4e9caf0296d136
SHA1 (patch-src_scene-buffer.cpp) = 7016ed9d986f2d6b5e978862028480d17fee2a61
SHA1 (patch-src_scene-refract.cpp) = e0217ba76e238b1d23e8fb43b7fe75ebbe5ef843

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-src_image-reader.h,v 1.1 2015/03/08 23:25:39 joerg Exp $
--- src/image-reader.h.orig 2015-03-05 10:43:06.000000000 +0000
+++ src/image-reader.h
@@ -32,7 +32,7 @@ public:
virtual ~ImageReader() {}
};
-class PNGReaderPrivate;
+struct PNGReaderPrivate;
class PNGReader : public ImageReader
{
@@ -54,7 +54,7 @@ private:
PNGReaderPrivate *priv_;
};
-class JPEGReaderPrivate;
+struct JPEGReaderPrivate;
class JPEGReader : public ImageReader
{

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-src_scene-buffer.cpp,v 1.1 2015/03/08 23:25:39 joerg Exp $
--- src/scene-buffer.cpp.orig 2015-03-05 10:57:51.000000000 +0000
+++ src/scene-buffer.cpp
@@ -183,7 +183,6 @@ private:
double wave_k_;
double wave_period_;
double wave_full_period_;
- double wave_fill_;
double wave_velocity_;
std::vector<double> displacement_;

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-src_scene-refract.cpp,v 1.1 2015/03/08 23:25:39 joerg Exp $
--- src/scene-refract.cpp.orig 2015-03-05 11:02:14.000000000 +0000
+++ src/scene-refract.cpp
@@ -245,10 +245,8 @@ DistanceRenderTarget::teardown()
{
program_.stop();
program_.release();
- if (tex_) {
- glDeleteTextures(2, &tex_[0]);
- tex_[DEPTH] = tex_[COLOR] = 0;
- }
+ glDeleteTextures(2, &tex_[0]);
+ tex_[DEPTH] = tex_[COLOR] = 0;
if (fbo_) {
glDeleteFramebuffers(1, &fbo_);
fbo_ = 0;

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.51 2013/05/31 12:39:38 wiz Exp $
# $NetBSD: Makefile,v 1.53 2014/10/09 14:05:59 wiz Exp $
DISTNAME= hbench-OS-1.1
PKGNAME= hbench-1.1
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= benchmarks
MASTER_SITES= http://www.eecs.harvard.edu/vino/perf/hbench/
@@ -16,8 +16,6 @@ COMMENT= Suite of portable benchmarks to measure the OS and the hardware
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/HBenchOS
OSVERSION_SPECIFIC= YES
BUILD_TARGET= build

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2012/09/11 22:37:12 asau Exp $
# $NetBSD: Makefile,v 1.19 2014/10/09 14:05:59 wiz Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
@@ -9,8 +9,6 @@ EXTRACT_SUFX= #empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Benchmark program for variable sized arrays
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2012/09/11 22:37:12 asau Exp $
# $NetBSD: Makefile,v 1.26 2014/10/09 14:05:59 wiz Exp $
DISTNAME= hint_unix_serial
PKGNAME= hint.serial-98.06.12
@@ -10,8 +10,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hint.byu.edu/
COMMENT= Scalable benchmark for testing CPU and memory performance
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= DOUBLE INT
WRKSRC= ${WRKDIR}/unix

View File

@@ -1,23 +1,22 @@
# $NetBSD: Makefile,v 1.19 2012/09/11 22:37:12 asau Exp $
# $NetBSD: Makefile,v 1.22 2014/12/03 13:01:47 joerg Exp $
DISTNAME= httperf-0.8
DISTNAME= httperf-0.9.0
PKGREVISION= 1
CATEGORIES= benchmarks www
MASTER_SITES= ftp://ftp.hpl.hp.com/pub/httperf/
PKGREVISION= 1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hpl.hp.com/research/linux/httperf/
COMMENT= Popular web server benchmarking program
PKG_INSTALLATION_TYPES= overwrite pkgviews
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake
CFLAGS+= -DFD_SETSIZE=16424
INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
bindir=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} \
bindir=${PREFIX}/bin
.include "../../mk/bsd.prefs.mk"

View File

@@ -1,3 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:45:24 zuntum Exp $
@comment $NetBSD: PLIST,v 1.2 2014/12/03 13:01:47 joerg Exp $
bin/httperf
bin/idleconn
man/man1/httperf.1

View File

@@ -1,9 +1,5 @@
$NetBSD: distinfo,v 1.6 2007/01/03 05:50:15 cjs Exp $
$NetBSD: distinfo,v 1.7 2014/11/26 02:11:16 mef Exp $
SHA1 (httperf-0.8.tar.gz) = ce52f699bcdaf4bf62b928ad7b4a762cc0c0c958
RMD160 (httperf-0.8.tar.gz) = c3b728c2afbaef2bcd4e93c2d5b01df4d4e336ce
Size (httperf-0.8.tar.gz) = 146107 bytes
SHA1 (patch-aa) = a2f9163e125910d6d1a41266a548315a263e9c25
SHA1 (patch-ab) = 2c42b97501ded52ee23742f50f87c04709975db1
SHA1 (patch-ac) = 7c1c85b4c952d7ef7784be3f42c7f2da1665a293
SHA1 (patch-ad) = c6edbebb159f2ad642eed80e7d9a2b572b67b425
SHA1 (httperf-0.9.0.tar.gz) = 2aa885c0c143d809c0e50a6eca5063090bddee35
RMD160 (httperf-0.9.0.tar.gz) = 59580cf5e876b18e69ffb69214c97fbc524be749
Size (httperf-0.9.0.tar.gz) = 425297 bytes

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-aa,v 1.2 2006/12/07 06:27:30 cjs Exp $
--- configure.in.orig 2000-10-19 16:35:15.000000000 +0900
+++ configure.in 2006-12-07 15:08:35.000000000 +0900
@@ -10,7 +10,7 @@
CPPFLAGS="${CPPFLAGS} -DNDEBUG"
fi
-CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE -D_XOPEN_SOURCE"
+CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
LDFLAGS="${LDFLAGS}"
dnl Checks for programs.

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-ab,v 1.1 2006/12/07 06:27:30 cjs Exp $
--- configure.orig 2000-10-19 16:35:18.000000000 +0900
+++ configure 2006-12-07 15:08:35.000000000 +0900
@@ -538,7 +538,7 @@
CPPFLAGS="${CPPFLAGS} -DNDEBUG"
fi
-CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE -D_XOPEN_SOURCE"
+CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
LDFLAGS="${LDFLAGS}"
# Extract the first word of "gcc", so it can be a program name with args.

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-ac,v 1.1 2006/12/07 06:27:30 cjs Exp $
--- lib/ssl_writev.c.orig 2000-10-12 09:09:47.000000000 +0900
+++ lib/ssl_writev.c 2006-12-07 15:14:21.000000000 +0900
@@ -31,7 +31,7 @@
#ifdef HAVE_OPENSSL_SSL_H
-#include <alloca.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-ad,v 1.1 2007/01/03 05:50:15 cjs Exp $
--- Makefile.in.orig 2000-10-19 16:38:59.000000000 +0900
+++ Makefile.in 2007-01-03 14:37:19.000000000 +0900
@@ -6,6 +6,7 @@
top_builddir = .
prefix = @prefix@
+exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@

View File

@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.49 2013/05/31 12:39:38 wiz Exp $
# $NetBSD: Makefile,v 1.53 2014/12/09 13:56:44 mef Exp $
DISTNAME= iozone3_408
PKGNAME= iozone-3.408
PKGREVISION= 3
DISTNAME= iozone3_429
PKGNAME= ${DISTNAME:S/3_/-3./}
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
EXTRACT_SUFX= .tar
@@ -15,8 +14,6 @@ LICENSE= iozone-license
NOT_FOR_PLATFORM= Interix-*-* # has only 32-bit off_t
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
MAKE_FILE= makefile
USE_TOOLS+= tee perl

View File

@@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.20 2012/06/07 15:57:20 asau Exp $
$NetBSD: distinfo,v 1.21 2014/12/09 13:53:13 mef Exp $
SHA1 (iozone3_408.tar) = 3dc56a251949151d12fc033f179cb6852abc71de
RMD160 (iozone3_408.tar) = c9caa3f02f0404d3b4a3a7c7fad040439bfff8f1
Size (iozone3_408.tar) = 1822720 bytes
SHA1 (patch-aa) = e209a364cdeca38c3995fbaebde3758bdd74e582
SHA1 (patch-ab) = 8af7a97fb4c8bfc39320b03b1b5c63acff5a3be7
SHA1 (patch-ac) = a7df47dca37d33e2658b27c4888294ad541fd1b2
SHA1 (iozone3_429.tar) = 13b74ba397530ff2f117bac3d1d7dec81dcc66d2
RMD160 (iozone3_429.tar) = c945becef75f89eb7eba0e12e6959ae6dcdf6514
Size (iozone3_429.tar) = 1832960 bytes
SHA1 (patch-ab) = fdd36fead26811aa830df5fac35b79a9b62ed1f0
SHA1 (patch-ac) = 6a02e13f3441a76709fbe8ba064555b650f9bd1c

View File

@@ -1,25 +0,0 @@
$NetBSD: patch-aa,v 1.9 2011/12/02 15:31:44 hauke Exp $
--- makefile.orig 2011-05-06 15:39:00.000000000 +0000
+++ makefile
@@ -81,6 +81,7 @@ all:
@echo " -> UWIN (32bit) <-"
@echo " -> Windows (95/98/NT) (32bit) <-"
@echo ""
+ @false
clean:
rm -f *.o iozone fileop pit_server
@@ -792,6 +793,12 @@ fileop_bsdi.o: fileop.c
@echo ""
$(CC) -c -O $(CFLAGS) fileop.c -o fileop_bsdi.o
+fileop_dragonfly.o: fileop.c
+ @echo ""
+ @echo "Building fileop for DragonFly"
+ @echo ""
+ $(CC) -c -O $(CFLAGS) fileop.c -o fileop_dragonfly.o
+
fileop_freebsd.o: fileop.c
@echo ""
@echo "Building fileop for FreeBSD"

View File

@@ -1,4 +1,6 @@
$NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
$NetBSD: patch-ab,v 1.12 2014/12/09 13:53:13 mef Exp $
Add NetBSD, DragonFly, including correction of typo
--- iozone.c.orig 2012-05-10 05:14:12.000000000 +0000
+++ iozone.c
@@ -6,8 +8,8 @@ $NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
#include <windows.h>
#include <errno.h>
#else
-#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
-#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
#include <errno.h>
#else
extern int errno; /* imported for errors */

View File

@@ -1,8 +1,10 @@
$NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
$NetBSD: patch-ac,v 1.2 2014/12/09 13:53:13 mef Exp $
--- libbif.c.orig 2008-07-17 11:07:10.000000000 -0400
+++ libbif.c
@@ -20,11 +20,11 @@
Add NetBSD
--- libbif.c.orig 2014-08-12 04:39:14.000000000 +0900
+++ libbif.c 2014-12-09 22:18:29.000000000 +0900
@@ -23,11 +23,11 @@
#include <sys/fcntl.h>
#endif
@@ -11,8 +13,8 @@ $NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
#include <string.h>
#endif
-#if defined(linux) || defined(__DragonFly__) || defined(macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__NetBSD__)
-#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2012/09/11 22:37:13 asau Exp $
# $NetBSD: Makefile,v 1.22 2015/01/01 09:14:31 dholland Exp $
DISTNAME= kttcp-20020711
CATEGORIES= benchmarks net
@@ -9,9 +9,9 @@ DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Kernel network throughput benchmark
ONLY_FOR_PLATFORM= NetBSD-1.6[B-Z]*-* NetBSD-[2-9]*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
ONLY_FOR_PLATFORM= NetBSD-*-*
NOT_FOR_PLATFORM= NetBSD-1.[0-5]*-* \
NetBSD-1.6-* NetBSD-1.6.*-* NetBSD-1.6A-*
USE_BSD_MAKEFILE= yes
WRKSRC= ${WRKDIR}

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2012/09/11 22:37:13 asau Exp $
# $NetBSD: Makefile,v 1.10 2014/10/09 14:05:59 wiz Exp $
DISTNAME= linpackc
PKGNAME= linpack-bench-940225
@@ -9,8 +9,6 @@ EXTRACT_SUFX= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Collection of benchmarks for floating point
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.38 2013/05/31 12:39:38 wiz Exp $
# $NetBSD: Makefile,v 1.40 2014/10/09 14:05:59 wiz Exp $
DISTNAME= lmbench-2alpha11
PKGNAME= lmbench-2.11a
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= benchmarks
MASTER_SITES= # ftp://ftp.kreonet.re.kr/tools/benchmark/lmbench/old/
EXTRACT_SUFX= .tgz
@@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lmbench.sourceforge.net/
COMMENT= Complete benchmark that gives a large amount of information
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake perl:run
BUILD_TARGET= build
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}

View File

@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.11 2009/07/09 20:26:11 hasso Exp $
$NetBSD: distinfo,v 1.12 2014/04/23 20:17:32 asau Exp $
SHA1 (lmbench-2alpha11.tgz) = 7480815b8f8d4000647db59eb6160e9dbac06490
RMD160 (lmbench-2alpha11.tgz) = 361401104fd5ea3a6e0a26a754ffd66fb2d9e9d6
@@ -6,7 +6,7 @@ Size (lmbench-2alpha11.tgz) = 464956 bytes
SHA1 (patch-aa) = 0f16f206d56cfdfdd870d21afcef46e3b8e2c53a
SHA1 (patch-ab) = b25c659fd808535738591892c552b062bb7e7e8f
SHA1 (patch-ac) = 2aa73fbf3119db95ca483f676bd3f3c2fd25c8f6
SHA1 (patch-ad) = 6cc3849129c842f50f10771694da57ae50b3d719
SHA1 (patch-ad) = b23b1321001970cbef384c1cef7e5d64d0b128ff
SHA1 (patch-ae) = 6d55be411c3b1e02fb269a24c1fd115e6e86855a
SHA1 (patch-af) = cd7ae198a225c69a7111a0a9478929223e7daf79
SHA1 (patch-ag) = ff7937e90faf3457b7b6bba93d9013a500dc85b3

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-ad,v 1.3 2009/07/09 20:26:11 hasso Exp $
$NetBSD: patch-ad,v 1.4 2014/04/23 20:17:32 asau Exp $
--- src/lat_rpc.c.orig Sat Aug 1 05:55:18 1998
+++ src/lat_rpc.c Thu Jul 5 13:18:49 2001
@@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.3 2009/07/09 20:26:11 hasso Exp $
}
static void xact_prog_1();
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
bool_t pmap_set(u_long prognum, u_long versnum, u_long protocol, u_short port);
+#endif
bool_t pmap_unset(u_long prognum, u_long versnum);

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2012/09/11 22:37:13 asau Exp $
# $NetBSD: Makefile,v 1.20 2014/10/09 14:05:59 wiz Exp $
DISTNAME= netio126
PKGNAME= netio-1.26
@@ -11,8 +11,6 @@ MAINTAINER= tron@NetBSD.org
COMMENT= Network benchmark for OS/2 2.x, Windows NT/2000 and Unix
LICENSE= no-commercial-use
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
MAKE_FLAGS+= CC=${CC:Q} CFLAGS="-DUNIX ${PTHREAD_CFLAGS} ${CFLAGS}" \
LFLAGS="${PTHREAD_LDFLAGS} ${LDFLAGS}" \

View File

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

View File

@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.6 2010/12/30 08:05:18 obache Exp $
$NetBSD: distinfo,v 1.9 2014/09/23 13:55:00 jperkin 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
SHA1 (patch-src_dscp.c) = 2a0c91cc61b85b480b14674fd680c9809660c7b8

View File

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

View File

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

View File

@@ -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[];

View File

@@ -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 = '?';

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-src_dscp.c,v 1.2 2014/09/23 13:55:00 jperkin Exp $
SunOS needs sys/types.h.
--- src/dscp.c.orig 2012-04-03 23:51:29.000000000 +0000
+++ src/dscp.c
@@ -49,6 +49,9 @@ const char * iptos2str(int iptos);
* Definitions for IP type of service (ip_tos)
*/
+#if defined(__FreeBSD__) || defined(__sun)
+#include <sys/types.h> /* u_int16_t */
+#endif
#if HAVE_NETINET_IN_SYSTM_H
#include <netinet/in_systm.h>
#endif

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2012/09/11 22:37:13 asau Exp $
# $NetBSD: Makefile,v 1.13 2014/10/09 14:05:59 wiz Exp $
DISTNAME= NetPIPE-3.7.1
PKGNAME= netpipe-3.7.1
@@ -10,8 +10,6 @@ HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
COMMENT= TCP/PVM/MPI testing and performance measuring tool
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKE_FILE= makefile
CFLAGS+= -DHAVE_GETRUSAGE

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2012/09/11 22:37:13 asau Exp $
# $NetBSD: Makefile,v 1.8 2014/10/09 14:06:00 wiz Exp $
DISTNAME= nettest.92.11.09
PKGNAME= nettest-92.11.09
@@ -9,8 +9,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ginsbach@cray.com
COMMENT= Performs client and server functions for timing data throughput
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8

View File

@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.9 2012/01/12 15:21:05 hans Exp $
$NetBSD: distinfo,v 1.10 2014/04/23 20:22:56 asau Exp $
SHA1 (nettest.92.11.09.tar.Z) = 745408751115784f8f5dc63b16428eb1404d6c5e
RMD160 (nettest.92.11.09.tar.Z) = dadf2688c5d57dc019df7267f35089e70a92bd79
Size (nettest.92.11.09.tar.Z) = 35068 bytes
SHA1 (patch-aa) = 9f697c7dd4d7d146e2ad6927236bdb34faf2ec73
SHA1 (patch-aa) = 969de4bb4d98cf31ef7dc516bdc74fc8640e5b5a
SHA1 (patch-ab) = e96227451fce253cd77491cfa2214fa49651af15
SHA1 (patch-ac) = 7c6f6abf3012c81d8898c4ef21936e0e89d108dd
SHA1 (patch-ad) = bbae628cc8cb7a38f89f912d8682dc100fceeabc

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.5 2012/01/12 15:21:05 hans Exp $
$NetBSD: patch-aa,v 1.6 2014/04/23 20:22:56 asau Exp $
--- Makefile.orig 1992-11-05 22:03:14.000000000 +0000
+++ Makefile
@@ -37,7 +37,7 @@ $NetBSD: patch-aa,v 1.5 2012/01/12 15:21:05 hans Exp $
+ DEFINES="-DSYSV -DWAIT3CODE -DNAMEDPIPES -DNO_ISO" \
+ LIBS="-lsocket -lnsl" OPT="-O"
+
+DragonFly NetBSD:
+NetBSD FreeBSD DragonFly:
+ $(MAKE) objs \
+ INCLUDE="" \
+ DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DNONVOID_SETPGRP" \

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2012/09/11 22:37:14 asau Exp $
# $NetBSD: Makefile,v 1.17 2014/10/09 14:06:00 wiz Exp $
DISTNAME= nsieve.c
PKGNAME= nsieve-1.2b
@@ -9,8 +9,6 @@ EXTRACT_SUFX= #empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Sieve of Eratosthenes benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2012/09/11 22:37:14 asau Exp $
# $NetBSD: Makefile,v 1.12 2014/10/09 14:06:00 wiz Exp $
DISTNAME= nttcp-1.47
PKGREVISION= 1
@@ -9,8 +9,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # http://home.leo.org/~elmar/nttcp/
COMMENT= New TCP testing and performance measuring tool
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"

View File

@@ -0,0 +1,6 @@
The Benchmark::Timer class allows you to time portions of code
conveniently, as well as benchmark code by allowing timings of
repeated trials. It is perfect for when you need more precise
information about the running time of portions of your code than
the Benchmark module will give you, but don't want to go all out
and profile your code.

View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.2 2014/08/14 08:21:12 wiz Exp $
DISTNAME= Benchmark-Timer-0.7102
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Benchmark/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Benchmark-Timer/
COMMENT= Benchmarking with statistical confidence
#LICENSE= GPL but not clear which version
DEPENDS+= p5-Statistics-TTest-[0-9]*:../../math/p5-Statistics-TTest
PERL5_PACKLIST= auto/Benchmark/Timer/.packlist
REPLACE_PERL= delta.pl
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/08/13 20:39:16 wiz Exp $
SHA1 (Benchmark-Timer-0.7102.tar.gz) = d977d5473b06ad12141c57ec628caa89de9181d3
RMD160 (Benchmark-Timer-0.7102.tar.gz) = 6b9231c6aee1df85dbd2733a9248072de6090b2d
Size (Benchmark-Timer-0.7102.tar.gz) = 31219 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2013/07/17 12:45:19 gdt Exp $
# $NetBSD: Makefile,v 1.22 2014/10/09 14:06:00 wiz Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
@@ -15,8 +15,6 @@ EXTRACT_SUFX= .c
MAINTAINER= gdt@NetBSD.org
COMMENT= Highly paranoid test of IEEE 754 conformance
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2014/02/12 23:17:35 tron Exp $
# $NetBSD: Makefile,v 1.20 2014/10/09 14:06:00 wiz Exp $
DISTNAME= postal-0.70
PKGREVISION= 2
@@ -11,8 +11,6 @@ HOMEPAGE= http://www.coker.com.au/postal/
COMMENT= Tool for benchmarking SMTP/POP servers
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake

View File

@@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.7 2013/05/23 14:59:13 joerg Exp $
$NetBSD: distinfo,v 1.8 2014/07/25 15:52:06 jperkin Exp $
SHA1 (postal-0.70.tgz) = d02dc900eb645aa993c5747fa434a0af4b0fb7e0
RMD160 (postal-0.70.tgz) = 2b23ab0d60abfeaad32adf7ba65134d0f267294a
Size (postal-0.70.tgz) = 99965 bytes
SHA1 (patch-Makefile.in) = 45f7357ff4407033818599a76b9c929b6c09b127
SHA1 (patch-aa) = 0d85ec46202e0077d7f435547158eff65eab8a69
SHA1 (patch-ab) = 38ed0b1ad550b31e8d46639e43b243e0e2b99cf5
SHA1 (patch-ad) = 3707f465c6a69c94fd862fb7863a3c8cb6519366

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-Makefile.in,v 1.1 2014/07/25 15:52:06 jperkin Exp $
Pass through LDFLAGS for rpath.
--- Makefile.in.orig 2008-05-26 09:32:26.000000000 +0000
+++ Makefile.in
@@ -17,8 +17,8 @@ INSTALL=@INSTALL@
TESTEXE=ex-test
BASEOBJS=userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o @extra_objs@
-LFLAGS=-lstdc++ @extra_ldflags@
-CRYPTLFLAGS=-lstdc++ @crypt_ldflags@
+LFLAGS=${LDFLAGS} -lstdc++ @extra_ldflags@
+CRYPTLFLAGS=${LDFLAGS} -lstdc++ @crypt_ldflags@
ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2013/04/06 12:03:59 rodent Exp $
# $NetBSD: Makefile,v 1.18 2014/10/09 14:06:00 wiz Exp $
DISTNAME= postmark-1_5.c
PKGNAME= postmark-1.5
@@ -12,8 +12,6 @@ COMMENT= NetApps file system benchmark
EXTRACT_CMD= ${CP} $$extract_file postmark.c
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2012/09/11 22:37:14 asau Exp $
# $NetBSD: Makefile,v 1.15 2015/01/01 09:22:23 dholland Exp $
#
DISTNAME= randread-0.2
@@ -10,10 +10,6 @@ HOMEPAGE= http://randread.sourceforge.net/
COMMENT= Program to help benchmark random disk read performance
LICENSE= public-domain
ONLY_FOR_PLATFORM= DragonFly-*-* FreeBSD-*-* NetBSD-*-* OpenBSD-*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= randread
WRKSRC= ${WRKDIR}/${DISTNAME}

View File

@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.5 2011/02/03 14:15:12 obache Exp $
$NetBSD: distinfo,v 1.6 2015/01/01 09:22:23 dholland Exp $
SHA1 (randread-0.2.tar.gz) = 5085d07cb6c4395d018addb4ab81f060473ea620
RMD160 (randread-0.2.tar.gz) = e8806da27cc231748b9416b16949c4921abc1d91
@@ -6,4 +6,5 @@ Size (randread-0.2.tar.gz) = 8112 bytes
SHA1 (patch-Makefile) = 0b709cc55687b274eda350cd263477644964c6e9
SHA1 (patch-filelist.c) = eee8bb8586cdcc568e8cf44965465d5f1885cd93
SHA1 (patch-filelist__test.c) = 15bf7f34db587812061f2e9aa5bf743c72ad458a
SHA1 (patch-randread.c) = a9a1a156a3b25dec68f2b95e2a223b80b70141d2
SHA1 (patch-test.c) = 0257aea93fdc12840c12e3818672fc8e4c2fb232

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-randread.c,v 1.1 2015/01/01 09:22:23 dholland Exp $
This does not actually use either disklabel.h or ioctl.h, so improve
portability by not including them.
--- randread.c~ 2002-09-11 06:25:46.000000000 +0000
+++ randread.c
@@ -9,8 +9,6 @@ char VERSION[] = "@(#) randread v0.2 200
#include <sys/types.h>
-#include <sys/disklabel.h>
-#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <errno.h>

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2014/01/01 11:52:10 wiz Exp $
# $NetBSD: Makefile,v 1.12 2015/01/20 06:43:09 mef Exp $
DISTNAME= sysbench-0.4.12
PKGREVISION= 4
@@ -6,7 +6,7 @@ CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sysbench/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sysbench.sourceforge.net/
HOMEPAGE= https://launchpad.net/sysbench/
COMMENT= Modular, cross-platform and multi-threaded benchmark tool
USE_LIBTOOL= yes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2012/10/02 23:48:16 asau Exp $
# $NetBSD: Makefile,v 1.11 2014/10/09 14:06:00 wiz Exp $
DISTNAME= thrulay-0.9
CATEGORIES= benchmarks net
@@ -10,8 +10,6 @@ HOMEPAGE= http://thrulay.sourceforge.net/
COMMENT= TCP and UDP network capacity tester
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKE_JOBS_SAFE= no
USE_LIBTOOL= yes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2013/12/17 15:05:23 tron Exp $
# $NetBSD: Makefile,v 1.22 2014/10/09 14:06:00 wiz Exp $
DISTNAME= ttcp
PKGNAME= ${DISTNAME}-1.12
@@ -12,8 +12,6 @@ HOMEPAGE= http://www.ccci.com/tools/ttcp/
COMMENT= TCP testing and performance measuring tool
LICENSE= public-domain
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BSD_MAKEFILE= yes
USE_TOOLS+= nroff
MAKE_ENV+= NOGCCERROR=yes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2012/09/11 22:37:15 asau Exp $
# $NetBSD: Makefile,v 1.20 2014/10/09 14:06:00 wiz Exp $
DISTNAME= whetstone
PKGNAME= whetstone-1.2
@@ -9,8 +9,6 @@ EXTRACT_SUFX= .c
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Benchmark for processors that gives you a MIPS rating
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2012/09/11 22:37:15 asau Exp $
# $NetBSD: Makefile,v 1.26 2014/10/09 14:06:00 wiz Exp $
DISTNAME= xengine-1.0.1
PKGREVISION= 4
@@ -9,8 +9,6 @@ DISTFILES= part01.z patch1.z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Reciprocating engine for X
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
DIST_SUBDIR= xengine
USE_IMAKE= yes