[gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/files/, dev-db/mysqltuner/

2021-03-02 Thread Thomas Deutschmann
commit: 732f150d7dc3656773340074e5a7cdfa9bb82c93
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Mar  3 05:58:49 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Mar  3 05:59:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732f150d

dev-db/mysqltuner: drop old

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-db/mysqltuner/Manifest |  4 ---
 .../files/mysqltuner-1.7.15-password.patch | 11 --
 dev-db/mysqltuner/mysqltuner-1.6.18.ebuild | 31 -
 dev-db/mysqltuner/mysqltuner-1.7.13.ebuild | 35 ---
 dev-db/mysqltuner/mysqltuner-1.7.15.ebuild | 39 --
 dev-db/mysqltuner/mysqltuner-1.7.17.ebuild | 35 ---
 6 files changed, 155 deletions(-)

diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
index 0a63f1edfd2..4558c232abf 100644
--- a/dev-db/mysqltuner/Manifest
+++ b/dev-db/mysqltuner/Manifest
@@ -1,5 +1 @@
-DIST mysqltuner-1.6.18.tar.gz 169074 BLAKE2B 
e138e29db2f0b1abf88b2d8268732fd9f05043abf320d8d97493d6abb3880e5664eaea39392406297e3125789ffc172f6347922ba14a00af16beb3f6f8080802
 SHA512 
8067b7ac4a4fe7398ee2cdc463a30042f46972f97680b49912dca46fd1d835989aa4115568dbe5473ff28c4d956bf0ad70537318db788dd56bc93ad220e6bcb6
-DIST mysqltuner-1.7.13.tar.gz 26721104 BLAKE2B 
76a51c5e3ff897feed6bb6348fb5b09ab3fce0eae403880a3be96203522c9006980dbf6966e8c7e7784168c71e149cc57941ffbadba049b68b30993ed4d519d1
 SHA512 
88842bef1968f3150be49a5e82cdd0349bf0975f6ff0d8188117240ed2161ae1e44722077ff661ce31b55d0d4fc90fa4bb1972d96405113d82255718cebe0d53
-DIST mysqltuner-1.7.15.tar.gz 212839 BLAKE2B 
cd90091063e6ae7737cb79f6936d14577352c5b6c016e0efcf82cfcabcbc1acf9f646258bebc835ede368d5ea5594e269d165cb01ab8c980e5fdc68f3c605747
 SHA512 
b1ea9c91df3fb68d7ae9e54014b4d9095122f10750f7807e0c72d9859db9a60bc8698d337f4dda6e1bd89ce4ff97fa4299f5dbf650f6fa03012c309e761f
-DIST mysqltuner-1.7.17.tar.gz 213429 BLAKE2B 
166ed3d657a529ce7c8e92648bcbf6da91f23a45222a8df0c6b79a7a23ffa7a1d066f2d3e2f651eb0aecc4032b75b7976cc8ea5e789ee2e7c990549b422fe30d
 SHA512 
ded34cc9532eb407ba72b5669caab874c948031606b99e414b397bbd2a150801203f7af66a01b3d39a35cec570abbac09af9e2a5f594d1c36d9b3141b7bb12d5
 DIST mysqltuner-1.7.21.tar.gz 223961 BLAKE2B 
1307afc2a73b40330817fe0c0b834a537b14caed1125acbdc5a03e98787321ffbbfb84ba0a2077adb0fa49c0e2df947dc0062d2218866c689fbfd903776f7fbd
 SHA512 
2b5d8a7cc3f0ebe3a481cd77e395ead37ec037f0a9b9649bbf450215bc83f4049a297d86b171c7e2e7d51b3fbe381069310f13d3b8152f5a90e05a9efbabd4dc

diff --git a/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch 
b/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch
deleted file mode 100644
index 3c61c1ed393..000
--- a/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/mysqltuner.pl2019-05-21 21:04:53.0 +0300
-+++ b/mysqltuner.pl2019-07-28 22:14:09.888967978 +0300
-@@ -1739,7 +1739,7 @@
- my $PASS_COLUMN_NAME = 'password';
- if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) {
- $PASS_COLUMN_NAME =
--"IF(plugin='mysql_native_password', authentication_string, password)";
-+"IF(plugin='mysql_native_password', authentication_string, 'password')";
- }
- debugprint "Password column = $PASS_COLUMN_NAME";
- 

diff --git a/dev-db/mysqltuner/mysqltuner-1.6.18.ebuild 
b/dev-db/mysqltuner/mysqltuner-1.6.18.ebuild
deleted file mode 100644
index 6977a21572e..000
--- a/dev-db/mysqltuner/mysqltuner-1.6.18.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-   virtual/perl-Getopt-Long
-   virtual/mysql"
-
-DOCS=( USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt 
vulnerabilities.csv )
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_install() {
-   newbin "${PN}.pl" "${PN}"
-
-   # The passwords and vulnerabilities are meant to be fed to the script 
uncompressed
-   docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" 
"/usr/share/doc/${PF}/vulnerabilities.csv"
-   einstalldocs
-}

diff --git a/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild 
b/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild
deleted file mode 100644
index 7b6bcca40eb..000
--- a/dev-db/mysqltuner/mysqltuner-1.7.13.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN=MySQLTuner-perl
-
-DESCRIPTION="MySQLTuner is a high-performance MySQL tuning 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/files/, dev-db/mysqltuner/

2019-07-31 Thread Joonas Niilola
commit: ba9322f36ca48d07c585029b6b5d0c6b8cefb76c
Author: Hasan ÇALIŞIR  psauxit  com>
AuthorDate: Sun Jul 28 20:20:47 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 31 18:59:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba9322f3

dev-db/mysqltuner: bump to 1.7.15

Version bump to 1.7.15. Also introduces new
patch that fixes password detecting error.

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR  psauxit.com>
Closes: https://github.com/gentoo/gentoo/pull/12565
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/mysqltuner/Manifest |  1 +
 .../files/mysqltuner-1.7.15-password.patch | 11 ++
 dev-db/mysqltuner/mysqltuner-1.7.15.ebuild | 39 ++
 3 files changed, 51 insertions(+)

diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
index 63b7acdba73..b25d9096e33 100644
--- a/dev-db/mysqltuner/Manifest
+++ b/dev-db/mysqltuner/Manifest
@@ -1,2 +1,3 @@
 DIST mysqltuner-1.6.18.tar.gz 169074 BLAKE2B 
e138e29db2f0b1abf88b2d8268732fd9f05043abf320d8d97493d6abb3880e5664eaea39392406297e3125789ffc172f6347922ba14a00af16beb3f6f8080802
 SHA512 
8067b7ac4a4fe7398ee2cdc463a30042f46972f97680b49912dca46fd1d835989aa4115568dbe5473ff28c4d956bf0ad70537318db788dd56bc93ad220e6bcb6
 DIST mysqltuner-1.7.13.tar.gz 26721104 BLAKE2B 
76a51c5e3ff897feed6bb6348fb5b09ab3fce0eae403880a3be96203522c9006980dbf6966e8c7e7784168c71e149cc57941ffbadba049b68b30993ed4d519d1
 SHA512 
88842bef1968f3150be49a5e82cdd0349bf0975f6ff0d8188117240ed2161ae1e44722077ff661ce31b55d0d4fc90fa4bb1972d96405113d82255718cebe0d53
+DIST mysqltuner-1.7.15.tar.gz 212839 BLAKE2B 
cd90091063e6ae7737cb79f6936d14577352c5b6c016e0efcf82cfcabcbc1acf9f646258bebc835ede368d5ea5594e269d165cb01ab8c980e5fdc68f3c605747
 SHA512 
b1ea9c91df3fb68d7ae9e54014b4d9095122f10750f7807e0c72d9859db9a60bc8698d337f4dda6e1bd89ce4ff97fa4299f5dbf650f6fa03012c309e761f

diff --git a/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch 
b/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch
new file mode 100644
index 000..3c61c1ed393
--- /dev/null
+++ b/dev-db/mysqltuner/files/mysqltuner-1.7.15-password.patch
@@ -0,0 +1,11 @@
+--- a/mysqltuner.pl2019-05-21 21:04:53.0 +0300
 b/mysqltuner.pl2019-07-28 22:14:09.888967978 +0300
+@@ -1739,7 +1739,7 @@
+ my $PASS_COLUMN_NAME = 'password';
+ if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) {
+ $PASS_COLUMN_NAME =
+-"IF(plugin='mysql_native_password', authentication_string, password)";
++"IF(plugin='mysql_native_password', authentication_string, 'password')";
+ }
+ debugprint "Password column = $PASS_COLUMN_NAME";
+ 

diff --git a/dev-db/mysqltuner/mysqltuner-1.7.15.ebuild 
b/dev-db/mysqltuner/mysqltuner-1.7.15.ebuild
new file mode 100644
index 000..4d6ffb075a9
--- /dev/null
+++ b/dev-db/mysqltuner/mysqltuner-1.7.15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=MySQLTuner-perl
+
+DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
+HOMEPAGE="https://github.com/major/MySQLTuner-perl;
+SRC_URI="https://github.com/major/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-lang/perl
+   virtual/mysql
+   virtual/perl-Getopt-Long"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   # Fix password detecting under MySQL 5.7 upstream #442 #427 #441
+   "${FILESDIR}/${P}-password.patch" )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DOCS=( USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt 
vulnerabilities.csv )
+
+src_install() {
+   einstalldocs
+
+   newbin "${PN}.pl" "${PN}"
+
+   # Passwords and vulnerabilities are meant to be fed
+   # to the script uncompressed.
+   docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" 
"/usr/share/doc/${PF}/vulnerabilities.csv"
+}