1 |
commit: 24a0903ffa63b59b9f4c7ad6fe816232556b8a61 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 17:24:31 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 17:24:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a0903f |
7 |
|
8 |
dev-db/mysqltuner: add 1.8.3 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-db/mysqltuner/Manifest | 1 + |
13 |
dev-db/mysqltuner/mysqltuner-1.8.3.ebuild | 32 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest |
17 |
index 4558c232abf5..b294383a2e78 100644 |
18 |
--- a/dev-db/mysqltuner/Manifest |
19 |
+++ b/dev-db/mysqltuner/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST mysqltuner-1.7.21.tar.gz 223961 BLAKE2B 1307afc2a73b40330817fe0c0b834a537b14caed1125acbdc5a03e98787321ffbbfb84ba0a2077adb0fa49c0e2df947dc0062d2218866c689fbfd903776f7fbd SHA512 2b5d8a7cc3f0ebe3a481cd77e395ead37ec037f0a9b9649bbf450215bc83f4049a297d86b171c7e2e7d51b3fbe381069310f13d3b8152f5a90e05a9efbabd4dc |
22 |
+DIST mysqltuner-1.8.3.tar.gz 254525 BLAKE2B 7fa1fe24ab454aa15a03e62410e08988a4a0d3ac9b1e4df0219a67bffa4d6113d8c89d6f93f8e6d08a35ecc4bdbf5c0148d8e53138f05a5c22899ecca98b3614 SHA512 965ad0204cb449aa113bf1880a91468d48467c84e7d42ac8f12e7ee4035e49dc7cb191d2b11b6e5b084a60c3857e92ac4d1bef63f688538f3468fda32304a702 |
23 |
|
24 |
diff --git a/dev-db/mysqltuner/mysqltuner-1.8.3.ebuild b/dev-db/mysqltuner/mysqltuner-1.8.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..77500787a893 |
27 |
--- /dev/null |
28 |
+++ b/dev-db/mysqltuner/mysqltuner-1.8.3.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/${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 |
+} |