Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/
Date: Tue, 09 Apr 2019 22:21:49
Message-Id: 1554848487.2556f83e738d2737bb9d0de450ab713f5173515a.monsieurp@gentoo
1 commit: 2556f83e738d2737bb9d0de450ab713f5173515a
2 Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
3 AuthorDate: Wed Mar 20 14:12:35 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 9 22:21:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2556f83e
7
8 dev-db/mysqltuner: bump to version 1.7.13, EAPI 7.
9
10 Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12 Closes: https://github.com/gentoo/gentoo/pull/11421
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 dev-db/mysqltuner/Manifest | 1 +
16 dev-db/mysqltuner/metadata.xml | 13 ++++++-----
17 dev-db/mysqltuner/mysqltuner-1.7.13.ebuild | 35 ++++++++++++++++++++++++++++++
18 3 files changed, 44 insertions(+), 5 deletions(-)
19
20 diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
21 index 4d9796b9f52..63b7acdba73 100644
22 --- a/dev-db/mysqltuner/Manifest
23 +++ b/dev-db/mysqltuner/Manifest
24 @@ -1 +1,2 @@
25 DIST mysqltuner-1.6.18.tar.gz 169074 BLAKE2B e138e29db2f0b1abf88b2d8268732fd9f05043abf320d8d97493d6abb3880e5664eaea39392406297e3125789ffc172f6347922ba14a00af16beb3f6f8080802 SHA512 8067b7ac4a4fe7398ee2cdc463a30042f46972f97680b49912dca46fd1d835989aa4115568dbe5473ff28c4d956bf0ad70537318db788dd56bc93ad220e6bcb6
26 +DIST mysqltuner-1.7.13.tar.gz 26721104 BLAKE2B 76a51c5e3ff897feed6bb6348fb5b09ab3fce0eae403880a3be96203522c9006980dbf6966e8c7e7784168c71e149cc57941ffbadba049b68b30993ed4d519d1 SHA512 88842bef1968f3150be49a5e82cdd0349bf0975f6ff0d8188117240ed2161ae1e44722077ff661ce31b55d0d4fc90fa4bb1972d96405113d82255718cebe0d53
27
28 diff --git a/dev-db/mysqltuner/metadata.xml b/dev-db/mysqltuner/metadata.xml
29 index b5fa8bce689..1b94d673740 100644
30 --- a/dev-db/mysqltuner/metadata.xml
31 +++ b/dev-db/mysqltuner/metadata.xml
32 @@ -1,9 +1,12 @@
33 <?xml version="1.0" encoding="UTF-8"?>
34 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 <pkgmetadata>
36 - <!-- maintainer-needed -->
37 - <upstream>
38 - <remote-id type="github">major/MySQLTuner-perl</remote-id>
39 - <bugs-to>https://github.com/major/MySQLTuner-perl/issues</bugs-to>
40 - </upstream>
41 + <maintainer type="person">
42 + <email>hasan.calisir@×××××××.com</email>
43 + <name>Hasan ÇALIŞIR</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 </pkgmetadata>
50
51 diff --git a/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild b/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild
52 new file mode 100644
53 index 00000000000..7b6bcca40eb
54 --- /dev/null
55 +++ b/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild
56 @@ -0,0 +1,35 @@
57 +# Copyright 1999-2019 Gentoo Authors
58 +# Distributed under the terms of the GNU General Public License v2
59 +
60 +EAPI=7
61 +
62 +MY_PN=MySQLTuner-perl
63 +
64 +DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
65 +HOMEPAGE="http://www.mysqltuner.com/"
66 +SRC_URI="https://github.com/major/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
67 +
68 +LICENSE="GPL-3"
69 +SLOT="0"
70 +KEYWORDS="~amd64 ~x86"
71 +
72 +RDEPEND="
73 + virtual/mysql
74 + dev-lang/perl
75 + virtual/perl-Getopt-Long"
76 +
77 +DEPEND="${RDEPEND}"
78 +
79 +S="${WORKDIR}/${MY_PN}-${PV}"
80 +
81 +DOCS=( USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt vulnerabilities.csv )
82 +
83 +src_install() {
84 + einstalldocs
85 +
86 + newbin "${PN}.pl" "${PN}"
87 +
88 + # Passwords and vulnerabilities are meant to be fed
89 + # to the script uncompressed.
90 + docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv"
91 +}