summaryrefslogtreecommitdiff
path: root/benchmarks/super-smack
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-12-11 11:16:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-12-11 11:16:20 +0000
commitbf4c92005268c52dbac6064e13f0ed00c92b5f97 (patch)
tree728a379e2ea2d43d2b113aaf3425d2edd5ae13b9 /benchmarks/super-smack
parent (1) Update ot 1.3.0.r4. It is official, public RC. (diff)
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>
Notes
Notes: svn path=/head/; revision=150866
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