summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-03-24 19:49:09 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-03-24 19:49:09 +0000
commitc5600dbfecf647bf759531d2527d86c5e4485555 (patch)
treef4e99099d548b5f7029f144d9f21439f397de3dc /dev-db/mysql-super-smack
parentAutomated update of use.local.desc (diff)
downloadhistorical-c5600dbfecf647bf759531d2527d86c5e4485555.tar.gz
historical-c5600dbfecf647bf759531d2527d86c5e4485555.tar.bz2
historical-c5600dbfecf647bf759531d2527d86c5e4485555.zip
Bug #254725: IUSE default to ensure always builds.
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'dev-db/mysql-super-smack')
-rw-r--r--dev-db/mysql-super-smack/ChangeLog10
-rw-r--r--dev-db/mysql-super-smack/Manifest3
-rw-r--r--dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild55
3 files changed, 65 insertions, 3 deletions
diff --git a/dev-db/mysql-super-smack/ChangeLog b/dev-db/mysql-super-smack/ChangeLog
index 69137441a5ae..103b331934ff 100644
--- a/dev-db/mysql-super-smack/ChangeLog
+++ b/dev-db/mysql-super-smack/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/mysql-super-smack
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.12 2008/11/14 06:30:20 robbat2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.13 2010/03/24 19:49:09 robbat2 Exp $
+
+*mysql-super-smack-1.3-r2 (24 Mar 2010)
+
+ 24 Mar 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +mysql-super-smack-1.3-r2.ebuild:
+ Bug #254725: IUSE default to ensure always builds.
*mysql-super-smack-1.3-r1 (14 Nov 2008)
diff --git a/dev-db/mysql-super-smack/Manifest b/dev-db/mysql-super-smack/Manifest
index 5a142ac0749a..80484c7591f6 100644
--- a/dev-db/mysql-super-smack/Manifest
+++ b/dev-db/mysql-super-smack/Manifest
@@ -6,6 +6,7 @@ DIST super-smack-1.2.tar.gz 99478 RMD160 846d3a9cc5bce41978cdfa2016ff339bd6eb7d9
DIST super-smack-1.3.tar.gz 155375 RMD160 bea82e7b26070f0e6ba0ea2ffb187cc374f6204e SHA1 1db165de4f82c9646e31f393ece56f57670de34d SHA256 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9
EBUILD mysql-super-smack-1.2.ebuild 1434 RMD160 64342954ee9578b3fbc10cd6f08fe95fb8021c04 SHA1 bafe8799e3c14a6d562e2136d7e157f994e432dc SHA256 79d91ccc70c9a9a6c2a012e2b3ddd74fc5e18941e0bf011421ad51799bc83840
EBUILD mysql-super-smack-1.3-r1.ebuild 1662 RMD160 c7f4e6de597fe68ff91663200c6d56df9a85eeb2 SHA1 050d45f973dc1fa4546b3b5171698305a6023853 SHA256 8e542463c122e93e5a445e87b9e1989cf592c2077a4905524d7b55714b252629
+EBUILD mysql-super-smack-1.3-r2.ebuild 1618 RMD160 c09deefb0b8ff90cc6c4be623f469deb49335d91 SHA1 4480c419b6a0f65353570992f085b4a2b14af8dd SHA256 78782086976193f57de9e857a7ca84ef02bf881835c30113609099dbc078c51d
EBUILD mysql-super-smack-1.3.ebuild 1480 RMD160 27f6a7fc30a7f43b62a65a71ae6875b18524f60d SHA1 012eaa29a5c8ac5e6a77c20d8df3f2ee1ff6aba3 SHA256 a25edcb97dac16c7aa4d38eacfc67b8bcce71d92c0cde0b93bce686675815882
-MISC ChangeLog 2095 RMD160 bb836fbc0c7a5c5f6df1103ae588e5a8191fb386 SHA1 44b5c8aaf17ba224d09121746c25f6ccc05caf46 SHA256 58dedf65470f36b85f677cb99354ee871e4526c996e2dff618b415b59d263f76
+MISC ChangeLog 2279 RMD160 fa3a9562a41c7d2d00d61923486246239c9a2280 SHA1 b7bab3450900432aac4db9ae9fc6d3f566f7e856 SHA256 ce85c1158255a5909454a4a7732c526522734cec573a0063fcff78c2acf45085
MISC metadata.xml 225 RMD160 74879797e03923649e534769cbd28d301a84623e SHA1 7d843700f0bf221e490ffba7d31c2361a1ea8394 SHA256 9072914e1f255004795621cc128734730b730ffaabda8ca955d781a0e0398b13
diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild
new file mode 100644
index 000000000000..afcf7fd9894e
--- /dev/null
+++ b/dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild,v 1.1 2010/03/24 19:49:09 robbat2 Exp $
+
+WANT_AUTOMAKE="1.4"
+EAPI=2
+
+inherit eutils autotools
+
+MY_PN="super-smack"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="MySQL Super Smack is a benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL."
+HOMEPAGE="http://vegan.net/tony/supersmack/"
+SRC_URI="http://vegan.net/tony/supersmack/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+mysql postgres"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-server )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ use !mysql && use !postgres && die "You need to use at least one of USE=mysql or USE=postgres for benchmarking!"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.destdir.patch
+ epatch "${FILESDIR}"/${PN}-1.3.amd64.patch
+ epatch "${FILESDIR}"/${PN}-1.3.gcc4.3.patch
+ epatch "${FILESDIR}"/${PN}-1.3-gen-data.patch
+ eautomake || die "automake failed"
+}
+
+src_configure() {
+ local myconf=""
+ use mysql && myconf="${myconf} --with-mysql"
+ use postgres && myconf="${myconf} --with-pgsql"
+ myconf="${myconf} --with-datadir=/var/tmp/${MY_PN}"
+ myconf="${myconf} --with-smacks-dir=/usr/share/${MY_PN}"
+ econf ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGES INSTALL MANUAL README TUTORIAL
+}
+
+pkg_postinst() {
+ elog "The gen-data binary is now installed as super-smack-gen-data"
+}