summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mysqltuner')
-rw-r--r--dev-db/mysqltuner/ChangeLog12
-rw-r--r--dev-db/mysqltuner/mysqltuner-0_p49.ebuild (renamed from dev-db/mysqltuner/mysqltuner-49.ebuild)10
-rw-r--r--dev-db/mysqltuner/mysqltuner-1.1.1.ebuild27
3 files changed, 43 insertions, 6 deletions
diff --git a/dev-db/mysqltuner/ChangeLog b/dev-db/mysqltuner/ChangeLog
index 7f5051cc54d6..7f8d2c4ba15f 100644
--- a/dev-db/mysqltuner/ChangeLog
+++ b/dev-db/mysqltuner/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/mysqltuner
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/ChangeLog,v 1.1 2009/07/19 07:56:23 hollow Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/ChangeLog,v 1.2 2010/01/31 07:45:30 robbat2 Exp $
+
+*mysqltuner-1.1.1 (31 Jan 2010)
+*mysqltuner-0_p49 (31 Jan 2010)
+
+ 31 Jan 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +mysqltuner-0_p49.ebuild, +mysqltuner-1.1.1.ebuild, -mysqltuner-49.ebuild:
+ Bug #296317: version bump. Renumber old version to ensure correct
+ increments.
*mysqltuner-49 (19 Jul 2009)
diff --git a/dev-db/mysqltuner/mysqltuner-49.ebuild b/dev-db/mysqltuner/mysqltuner-0_p49.ebuild
index cc12db27bc8b..593ec07aa13d 100644
--- a/dev-db/mysqltuner/mysqltuner-49.ebuild
+++ b/dev-db/mysqltuner/mysqltuner-0_p49.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/mysqltuner-49.ebuild,v 1.1 2009/07/19 07:56:23 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/mysqltuner-0_p49.ebuild,v 1.1 2010/01/31 07:45:30 robbat2 Exp $
DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
HOMEPAGE="http://www.mysqltuner.com"
-SRC_URI="mirror://gentoo/${P}.pl"
+MY_PV="${PV/0_p}"
+MY_P="${PN}-${MY_PV}"
+SRC_URI="mirror://gentoo/${MY_P}.pl"
LICENSE="GPL-3"
SLOT="0"
@@ -18,7 +20,7 @@ RDEPEND=">=dev-lang/perl-5.6
src_unpack() {
mkdir -p "${S}"
- cp -f "${DISTDIR}"/${P}.pl "${S}"/${PN}
+ cp -f "${DISTDIR}"/${MY_P}.pl "${S}"/${PN}
}
src_install() {
diff --git a/dev-db/mysqltuner/mysqltuner-1.1.1.ebuild b/dev-db/mysqltuner/mysqltuner-1.1.1.ebuild
new file mode 100644
index 000000000000..b8b1f6d437e0
--- /dev/null
+++ b/dev-db/mysqltuner/mysqltuner-1.1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/mysqltuner-1.1.1.ebuild,v 1.1 2010/01/31 07:45:30 robbat2 Exp $
+
+EAPI="2"
+
+DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
+HOMEPAGE="http://www.mysqltuner.com"
+SRC_URI="http://github.com/rackerhacker/MySQLTuner-perl/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-lang/perl-5.6
+ virtual/perl-Getopt-Long
+ >=virtual/mysql-3.23"
+
+S="${WORKDIR}"/rackerhacker-MySQLTuner-perl-b2dfc87
+
+src_install() {
+ mv "${PN}".pl "${PN}"
+ dobin "${PN}"
+ dodoc README
+}