summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-12-12 04:23:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-12-12 04:23:46 +0000
commit128995f4ee91f1bfc6dbdfa1692a641eb029e820 (patch)
treee24ce1c6184fbea40d9da6689d4ec7f94d787488
parentVersion bump. (diff)
downloadhistorical-128995f4ee91f1bfc6dbdfa1692a641eb029e820.tar.gz
historical-128995f4ee91f1bfc6dbdfa1692a641eb029e820.tar.bz2
historical-128995f4ee91f1bfc6dbdfa1692a641eb029e820.zip
Version bump. Fixes building against new versions of postgres - bug #113587.
Package-Manager: portage-2.0.53
-rw-r--r--dev-db/mysql-super-smack/ChangeLog8
-rw-r--r--dev-db/mysql-super-smack/Manifest8
-rw-r--r--dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.31
-rw-r--r--dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild47
4 files changed, 60 insertions, 4 deletions
diff --git a/dev-db/mysql-super-smack/ChangeLog b/dev-db/mysql-super-smack/ChangeLog
index 3b4615c53962..7673cd508a9f 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.4 2005/01/01 17:38:29 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.5 2005/12/12 04:23:46 robbat2 Exp $
+
+*mysql-super-smack-1.3 (12 Dec 2005)
+
+ 12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +mysql-super-smack-1.3.ebuild:
+ Version bump. Fixes building against new versions of postgres - bug #113587.
19 Jul 2004; Robin H. Johnson <robbat2@gentoo.org>
mysql-super-smack-1.2.ebuild:
diff --git a/dev-db/mysql-super-smack/Manifest b/dev-db/mysql-super-smack/Manifest
index fc4ce0ae73db..4e0b43e9e718 100644
--- a/dev-db/mysql-super-smack/Manifest
+++ b/dev-db/mysql-super-smack/Manifest
@@ -1,5 +1,7 @@
-MD5 e03a1c0a4cb07373fd701bd15610e65d mysql-super-smack-1.2.ebuild 1280
-MD5 69d80f36a512cacad7e4602adc1b2aa2 ChangeLog 570
-MD5 62ae293ebc3602342f798f1b3b044eba metadata.xml 225
+MD5 2fa56a21fe05a3401df406461b81dca0 ChangeLog 771
MD5 ffe9980a4253d6b885b1c20fb2de06e5 files/digest-mysql-super-smack-1.2 66
+MD5 20ddb2dc6c360638e1a010d9315e0d50 files/digest-mysql-super-smack-1.3 67
MD5 d070039b24303c845cbcbf72ed2e088f files/mysql-super-smack-1.2.destdir.patch 420
+MD5 62ae293ebc3602342f798f1b3b044eba metadata.xml 225
+MD5 e03a1c0a4cb07373fd701bd15610e65d mysql-super-smack-1.2.ebuild 1280
+MD5 2d522a335c6ded177f187bbc985ea5bb mysql-super-smack-1.3.ebuild 1295
diff --git a/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3 b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3
new file mode 100644
index 000000000000..34d56709de45
--- /dev/null
+++ b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3
@@ -0,0 +1 @@
+MD5 1884be74822d1fa3bcd7f997935a13db super-smack-1.3.tar.gz 155375
diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild
new file mode 100644
index 000000000000..97b34cf8cbee
--- /dev/null
+++ b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/12/12 04:23:46 robbat2 Exp $
+
+inherit eutils
+
+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="~x86"
+IUSE="mysql postgres"
+
+DEPEND="mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )"
+
+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_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-1.2.destdir.patch
+ cd ${S}
+ automake
+}
+
+src_compile() {
+ 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
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc CHANGES INSTALL MANUAL README TUTORIAL
+}