diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2018-03-07 04:06:15 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-03-07 04:06:16 +0100 |
commit | bf114895d595094234002915305adbed55514586 (patch) | |
tree | 83f0963843711a9f2792e088167a172df2be3d7b /dev-db | |
parent | sys-apps/util-linux: Make tests honor MAKEOPTS; Fix uuidd test (diff) | |
download | gentoo-bf114895d595094234002915305adbed55514586.tar.gz gentoo-bf114895d595094234002915305adbed55514586.tar.bz2 gentoo-bf114895d595094234002915305adbed55514586.zip |
dev-db/percona-toolkit: bump to 3.0.7
Closes: https://github.com/gentoo/gentoo/pull/7373
Closes: https://bugs.gentoo.org/620080
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db')
4 files changed, 272 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index 574caa1fcbfb..d3401edf1539 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -2,3 +2,4 @@ DIST percona-toolkit-2.2.11.tar.gz 1389718 BLAKE2B 3d8c1207cda30aefc710ab5329aa9 DIST percona-toolkit-2.2.17.tar.gz 1420968 BLAKE2B 886634cb4f1ed196595c0ebe9d2d53bea898a41d81e6881173949181fbdbc752be671a22344e4e5b142d22e724e86389bf2885273a67222feb28511e1de429b0 SHA512 a6ac84db9fc77b57fffd4f18b1e6c147fa39821a8b8db128af15bac6884a2937f973aa59adb05b738c3a15d9006c71db49276207c5b321acbefd8bd3a6130b76 DIST percona-toolkit-2.2.19.tar.gz 1425623 BLAKE2B fe9b363ec924b1af9110ea7e7dab70ad4471ddf30868391f9e02a2f6d5a5698a2cb0238dd1cca81428adcac2f21262f10ea2da272ffd881dee1b8b88be1405e0 SHA512 8da35e2ee4d81465131623e5b423c2c49c0bf0faf01862952dd5ca72c2ffea64fabcaf88dda883e633e23de8ae4a6c75a095a751708bac6a8136fc8daaae2383 DIST percona-toolkit-2.2.20.tar.gz 1431840 BLAKE2B 76565662b4037010f7e8de98316f568c2994f55d042ae3a21b80dc3b839444a11014b61db675cc21c149f26c3b7df52013d7b06c9c1127ec325dae2942a4e4c0 SHA512 f7a5f47e9ca05c43dcb80866a1eacd13066e1f036f4f58d51145fc6354ddc86dd6515a9aa33c8f736029800bf4c80f7ba5fcb9f1e6ac41653b3351597885f679 +DIST percona-toolkit-3.0.7.tar.gz 79294306 BLAKE2B e3a556c823d355e5af504210dfb360e6fcf217ca6bfb7ba729e83e66cfdd09231c09d05fb51df1eac6bee0c6615620ac96ffce47c4f0473394d9c008ce8bdabe SHA512 e5a23ce6f4fd74f0956187679810de23a9d60f8073609289d641411c9f397f49b02c05cbcd0a68d78992849f17b70fb3ae411ac967e25c7be45f95ec374414fe diff --git a/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-fix-package-name.patch b/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-fix-package-name.patch new file mode 100644 index 000000000000..4ca3ecf5fff0 --- /dev/null +++ b/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-fix-package-name.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.PL b/Makefile.PL +index a2136634..2a0f587b 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,7 +1,7 @@ + use ExtUtils::MakeMaker; + + WriteMakefile( +- NAME => 'percona-toolkit', ++ NAME => 'Percona::Toolkit', + VERSION => '3.0.7', + EXE_FILES => [ <bin/*> ], + MAN1PODS => { diff --git a/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-no-versioncheck.patch b/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-no-versioncheck.patch new file mode 100644 index 000000000000..8fb0c8f4102d --- /dev/null +++ b/dev-db/percona-toolkit/files/percona-toolkit-3.0.7-no-versioncheck.patch @@ -0,0 +1,216 @@ +diff --git a/bin/pt-archiver b/bin/pt-archiver +index bde24c7e..8f18f49c 100755 +--- a/bin/pt-archiver ++++ b/bin/pt-archiver +@@ -8151,7 +8151,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-config-diff b/bin/pt-config-diff +index cfbfd83f..4f7c1932 100755 +--- a/bin/pt-config-diff ++++ b/bin/pt-config-diff +@@ -5713,7 +5713,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger +index 7acc0b07..ae8b1c2c 100755 +--- a/bin/pt-deadlock-logger ++++ b/bin/pt-deadlock-logger +@@ -5498,7 +5498,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-diskstats b/bin/pt-diskstats +index 64e73457..8eac85e8 100755 +--- a/bin/pt-diskstats ++++ b/bin/pt-diskstats +@@ -5557,7 +5557,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker +index c8808198..1c89b04f 100755 +--- a/bin/pt-duplicate-key-checker ++++ b/bin/pt-duplicate-key-checker +@@ -5565,7 +5565,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-find b/bin/pt-find +index bdf03ee0..b72b3c4c 100755 +--- a/bin/pt-find ++++ b/bin/pt-find +@@ -4551,7 +4551,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger +index 75afca17..dce96c79 100755 +--- a/bin/pt-fk-error-logger ++++ b/bin/pt-fk-error-logger +@@ -4485,7 +4485,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat +index 5d39e46d..6f8c7bca 100755 +--- a/bin/pt-heartbeat ++++ b/bin/pt-heartbeat +@@ -7127,7 +7127,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-index-usage b/bin/pt-index-usage +index 0fa6e008..c9d62436 100755 +--- a/bin/pt-index-usage ++++ b/bin/pt-index-usage +@@ -7495,7 +7495,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-kill b/bin/pt-kill +index 65d627b3..b5afcef0 100755 +--- a/bin/pt-kill ++++ b/bin/pt-kill +@@ -7936,7 +7936,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change +index c43ddad6..524f060e 100755 +--- a/bin/pt-online-schema-change ++++ b/bin/pt-online-schema-change +@@ -12661,7 +12661,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-query-digest b/bin/pt-query-digest +index a4501819..ee3e2b7b 100755 +--- a/bin/pt-query-digest ++++ b/bin/pt-query-digest +@@ -16541,7 +16541,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay +index 0b7b9294..a6aa0afe 100755 +--- a/bin/pt-slave-delay ++++ b/bin/pt-slave-delay +@@ -4788,7 +4788,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart +index b3bf79e5..4eaaf8f9 100755 +--- a/bin/pt-slave-restart ++++ b/bin/pt-slave-restart +@@ -5938,7 +5938,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum +index 1ac4e500..981ca3d6 100755 +--- a/bin/pt-table-checksum ++++ b/bin/pt-table-checksum +@@ -13653,7 +13653,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-table-sync b/bin/pt-table-sync +index dedd789b..f4b9f367 100755 +--- a/bin/pt-table-sync ++++ b/bin/pt-table-sync +@@ -12774,7 +12774,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-upgrade b/bin/pt-upgrade +index 78ed0d82..d64c02ce 100755 +--- a/bin/pt-upgrade ++++ b/bin/pt-upgrade +@@ -11206,7 +11206,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + +diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor +index 66d001f8..d7cbf247 100755 +--- a/bin/pt-variable-advisor ++++ b/bin/pt-variable-advisor +@@ -6058,7 +6058,6 @@ Show version and exit. + + =item --[no]version-check + +-default: yes + + Check for the latest version of Percona Toolkit, MySQL, and other programs. + diff --git a/dev-db/percona-toolkit/percona-toolkit-3.0.7.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.0.7.ebuild new file mode 100644 index 000000000000..664d8424f999 --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-3.0.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit perl-module + +DESCRIPTION="Advanced command-line tools to perform a variety of MySQL and system tasks" +HOMEPAGE="https://www.percona.com/software/mysql-tools/percona-toolkit" +SRC_URI="https://www.percona.com/downloads/${PN}/${PV}/source/tarball/${P}.tar.gz" + +LICENSE="|| ( GPL-2 Artistic )" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +# Package warrants IUSE doc +IUSE="" + +COMMON_DEPEND="dev-perl/DBI + dev-perl/DBD-mysql + virtual/perl-Time-HiRes" +RDEPEND="${COMMON_DEPEND} + dev-perl/JSON + dev-perl/libwww-perl + dev-perl/Role-Tiny + virtual/perl-File-Path + virtual/perl-Getopt-Long + virtual/perl-Time-Local + virtual/perl-Digest-MD5 + virtual/perl-IO-Compress + virtual/perl-File-Temp + virtual/perl-File-Spec + virtual/perl-Scalar-List-Utils + dev-perl/TermReadKey" +DEPEND="${COMMON_DEPEND} + virtual/perl-ExtUtils-MakeMaker" + +# Bug #501904 - CVE-2014-2029 +# sed -i -e '/^=item --\[no\]version-check/,/^default: yes/{/^default: yes/d}' bin/* +PATCHES=( + "${FILESDIR}/${P}-fix-package-name.patch" + "${FILESDIR}/${P}-no-versioncheck.patch" +) |