Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/
Date: Sun, 26 Jun 2022 12:47:31
Message-Id: 1656247621.bb493ec8947380b333f3923a465701f01fb9de99.conikost@gentoo
1 commit: bb493ec8947380b333f3923a465701f01fb9de99
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 12:46:23 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 12:47:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb493ec8
7
8 dev-db/mysqltuner: add 1.9.9
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-db/mysqltuner/Manifest | 1 +
13 dev-db/mysqltuner/mysqltuner-1.9.9.ebuild | 32 +++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
17 index c100f545074f..2904f5b20e8c 100644
18 --- a/dev-db/mysqltuner/Manifest
19 +++ b/dev-db/mysqltuner/Manifest
20 @@ -1 +1,2 @@
21 DIST mysqltuner-1.8.3.tar.gz 254525 BLAKE2B 7fa1fe24ab454aa15a03e62410e08988a4a0d3ac9b1e4df0219a67bffa4d6113d8c89d6f93f8e6d08a35ecc4bdbf5c0148d8e53138f05a5c22899ecca98b3614 SHA512 965ad0204cb449aa113bf1880a91468d48467c84e7d42ac8f12e7ee4035e49dc7cb191d2b11b6e5b084a60c3857e92ac4d1bef63f688538f3468fda32304a702
22 +DIST mysqltuner-1.9.9.tar.gz 225048 BLAKE2B 5c22ecbe3ab8ab2ad8712c6cbdfbc6bb182e6211d7894c2dc10c68b5b31f74f7512747c983844ba6ce9e12e422f510e4e68a18e85e29f443424e4dfa7055e1f7 SHA512 9373fcbcf514a989126b100739a87d711b4c2081e2608b4576d0ab88590ffd85fae57f1587e1d9f44cf0d89baa92eeb9115db2c4c6c491b701e965de7a549fa0
23
24 diff --git a/dev-db/mysqltuner/mysqltuner-1.9.9.ebuild b/dev-db/mysqltuner/mysqltuner-1.9.9.ebuild
25 new file mode 100644
26 index 000000000000..04400f30bd2b
27 --- /dev/null
28 +++ b/dev-db/mysqltuner/mysqltuner-1.9.9.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +MY_PN="MySQLTuner-perl"
36 +
37 +DESCRIPTION="Makes recommendations for increased performance and stability for MySQL"
38 +HOMEPAGE="https://github.com/major/MySQLTuner-perl"
39 +SRC_URI="https://github.com/major/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
40 +S="${WORKDIR}/${MY_PN}-${PV}"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +RDEPEND="
47 + dev-lang/perl
48 + virtual/perl-Getopt-Long
49 +"
50 +
51 +DEPEND="${RDEPEND}"
52 +
53 +src_install() {
54 + newbin mysqltuner.pl mysqltuner
55 + dodoc {CONTRIBUTING,INTERNALS,USAGE}.md
56 + einstalldocs
57 +
58 + # Passwords and vulnerabilities are meant to be fed to the script uncompressed.
59 + dodoc basic_passwords.txt vulnerabilities.csv
60 + docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv"
61 +}