summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-07-26 18:57:21 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-07-26 18:57:36 -0400
commitf02fe1c7396c033b95256cc6079f268a0f45b3de (patch)
tree52843019fdaeb71118de6c1f8d30fb38aeba5560
parentdev-util/gertty: bup (diff)
downloadgentoo-f02fe1c7396c033b95256cc6079f268a0f45b3de.tar.gz
gentoo-f02fe1c7396c033b95256cc6079f268a0f45b3de.tar.bz2
gentoo-f02fe1c7396c033b95256cc6079f268a0f45b3de.zip
dev-db/mysqltuner: new version 1.6.0 and upgrade to EAPI=6.
Gentoo-Bug: 510920 Package-Manager: portage-2.2.28
-rw-r--r--dev-db/mysqltuner/Manifest1
-rw-r--r--dev-db/mysqltuner/mysqltuner-1.6.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
index 321f0351d85..9c3e35fd3dc 100644
--- a/dev-db/mysqltuner/Manifest
+++ b/dev-db/mysqltuner/Manifest
@@ -1 +1,2 @@
DIST mysqltuner-1.2.0.tar.gz 24562 SHA256 54b743808f7f1d882cc912ffbb62dae57303e3e17f45aefd55a16825c016bc9d SHA512 b38277c31c1a870525f20bc1c023fe9675403834313a65c99c445a5fa1048c7aa3dc8ed5a9a9255c4844bdb001b28ee45be807306d0f1739c170d8ee9e0ab53f WHIRLPOOL 5290f77df91bcb23cc2bbb5097a08df54bc4e32560732ff078005bdd9acdf74a8f76647b893ab600dee4d848a70d6a6923e9806b30fb9504c6d3f5d31067be75
+DIST mysqltuner-1.6.0.tar.gz 53424 SHA256 dc3045b9ffae7837d187d2b1ef4c42648bf7ffc6bb9f69864a4bfeecd5205e37 SHA512 904022ef64eaf75f3294a9a5123dc5e00482d95378722df63140bc6859ec245c32d9b06d19955790a5e29b9335e6da3df2cebdeb4659cb9058561866f6ec69c2 WHIRLPOOL fa1cde57da2eb67ca6524aea6cae58864128ab7beebb9dab779ba6f44b7a38fb1a2b5a6a729f0b0c73e78e8bd61d3519ea0990885e992e00091b178d110cec3a
diff --git a/dev-db/mysqltuner/mysqltuner-1.6.0.ebuild b/dev-db/mysqltuner/mysqltuner-1.6.0.ebuild
new file mode 100644
index 00000000000..bf4627ca052
--- /dev/null
+++ b/dev-db/mysqltuner/mysqltuner-1.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN=MySQLTuner-perl
+
+DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
+HOMEPAGE="http://www.mysqltuner.com/"
+SRC_URI="https://github.com/major/${MY_PN}/archive/${PV}.tar.gz -> ${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}/${MY_PN}-${PV}"
+
+src_install() {
+ newbin "${PN}.pl" "${PN}"
+
+ # The passwords are meant to be fed to the script uncompressed.
+ docompress -x "/usr/share/doc/${PF}/basic_passwords.txt"
+ dodoc README.* USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt
+}