aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/super-smack
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-12-11 19:16:20 +0800
committerijliao <ijliao@FreeBSD.org>2005-12-11 19:16:20 +0800
commitd85436951a428bca6e176ef445ce32e742878a94 (patch)
tree49c4f7d4167d855e084eb0f232cf2e84c23cf551 /benchmarks/super-smack
parent00d6d7b14e75fcdb26c00f0c34dd4425ea045f4d (diff)
downloadfreebsd-ports-gnome-d85436951a428bca6e176ef445ce32e742878a94.tar.gz
freebsd-ports-gnome-d85436951a428bca6e176ef445ce32e742878a94.tar.zst
freebsd-ports-gnome-d85436951a428bca6e176ef445ce32e742878a94.zip
Add super-smack 1.3, a benchmarking, stress testing, and load generation
tool for Databases. PR: ports/90209 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Diffstat (limited to 'benchmarks/super-smack')
-rw-r--r--benchmarks/super-smack/Makefile32
-rw-r--r--benchmarks/super-smack/distinfo3
-rw-r--r--benchmarks/super-smack/pkg-descr6
-rw-r--r--benchmarks/super-smack/pkg-plist6
4 files changed, 47 insertions, 0 deletions
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile
new file mode 100644
index 000000000000..fe9a10f03d56
--- /dev/null
+++ b/benchmarks/super-smack/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: super-smack
+# Date created: 2005-12-10
+# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= super-smack
+PORTVERSION= 1.3
+CATEGORIES= benchmarks databases
+MASTER_SITES= http://vegan.net/tony/supersmack/
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+COMMENT= A benchmarking, stress testing, and load generation tool for Databases
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-smacks-dir=${DATADIR}
+
+OPTIONS= MYSQL "Enable MySQL support" on \
+ POSTGRESQL "Enable PostgreSQL support" off
+
+.if !defined(WITHOUT_MYSQL)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql
+.endif
+
+.if defined(WITH_POSTGRESQL)
+USE_PGSQL= yes
+CONFIGURE_ARGS+= --with-postgresql
+.endif
+
+.include <bsd.port.mk>
diff --git a/benchmarks/super-smack/distinfo b/benchmarks/super-smack/distinfo
new file mode 100644
index 000000000000..cba24a15a74c
--- /dev/null
+++ b/benchmarks/super-smack/distinfo
@@ -0,0 +1,3 @@
+MD5 (super-smack-1.3.tar.gz) = 1884be74822d1fa3bcd7f997935a13db
+SHA256 (super-smack-1.3.tar.gz) = 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9
+SIZE (super-smack-1.3.tar.gz) = 155375
diff --git a/benchmarks/super-smack/pkg-descr b/benchmarks/super-smack/pkg-descr
new file mode 100644
index 000000000000..66c8441996d8
--- /dev/null
+++ b/benchmarks/super-smack/pkg-descr
@@ -0,0 +1,6 @@
+Super Smack is a benchmarking, stress testing, and load generation tool
+for MySQL (and PostgreSQL). Super Smack was originally written by Sasha
+Pachev, and then hosted and maintained by Jeremy Zawodny.
+
+Author: Tony Bourke <tony (at) vegan (dot) net>
+WWW: http://vegan.net/tony/supersmack/
diff --git a/benchmarks/super-smack/pkg-plist b/benchmarks/super-smack/pkg-plist
new file mode 100644
index 000000000000..3be4f5222d9b
--- /dev/null
+++ b/benchmarks/super-smack/pkg-plist
@@ -0,0 +1,6 @@
+bin/gen-data
+bin/super-smack
+%%DATADIR%%/select-key.smack
+%%DATADIR%%/update-select.smack
+@dirrm %%DATADIR%%
+@unexec rmdir /var/smack-data 2>/dev/null || true