Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

15
benchmarks/sysbench/DESCR Normal file
View File

@@ -0,0 +1,15 @@
SysBench is a modular, cross-platform and multi-threaded benchmark
tool for evaluating OS parameters that are important for a system
running a database under intensive load.
The idea of this benchmark suite is to quickly get an impression about
system performance without setting up complex database benchmarks or
even without installing a database at all.
Current features allow to test the following system parameters:
* file I/O performance
* scheduler performance
* memory allocation and transfer speed
* POSIX threads implementation performance
* database server performance (OLTP benchmark)

View File

@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.10 2013/03/02 20:33:22 wiz Exp $
DISTNAME= sysbench-0.4.12
PKGREVISION= 3
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sysbench/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sysbench.sourceforge.net/
COMMENT= Modular, cross-platform and multi-threaded benchmark tool
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
MAKE_FLAGS+= bin_SCRIPTS= # don't install problematic scripts
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CFLAGS+= -D_NETBSD_SOURCE # hack for ulong along with patch-aa
.endif
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \
!empty(CC_VERSION:Mgcc-4.[6-9].*)
BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE=500
.endif
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:33:12 joerg Exp $
bin/sysbench
share/doc/sysbench/manual.html

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2010/05/27 10:49:07 adam Exp $
SHA1 (sysbench-0.4.12.tar.gz) = 3f346e8b29b738711546970b027bbb7359d4672a
RMD160 (sysbench-0.4.12.tar.gz) = b77c8bf31d84f075ec69ef3972afb8baed02e6bc
Size (sysbench-0.4.12.tar.gz) = 421932 bytes
SHA1 (patch-aa) = ffaa80909d0d2dc3200fc4ad2911573ef3396d86

View File

@@ -0,0 +1,25 @@
# $NetBSD: options.mk,v 1.4 2010/05/27 10:49:07 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sysbench
PKG_SUPPORTED_OPTIONS+= mysql pgsql doc
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
. include "../../mk/mysql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX}
. include "../../mk/pgsql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-pgsql
.endif
.if !empty(PKG_OPTIONS:Mdoc)
. include "../../textproc/libxslt/buildlink3.mk"
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
.endif

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.2 2010/05/27 10:49:08 adam Exp $
--- sysbench/drivers/mysql/drv_mysql.c.orig 2009-03-15 12:42:04.000000000 +0000
+++ sysbench/drivers/mysql/drv_mysql.c
@@ -32,6 +32,7 @@
# include <strings.h>
#endif
+#include <my_global.h>
#include <mysql.h>
#include <mysqld_error.h>