diff options
author | Thomas D <whissi@whissi.de> | 2016-03-15 23:11:10 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2016-03-16 19:39:58 +0100 |
commit | d51558296c895b2d866d18bba6608e1d5e1f806d (patch) | |
tree | 00883a30622a26cbddeb274c70e9baedea6ab9f4 /dev-db/percona-toolkit | |
parent | dev-ml/ppx_deriving: bump to 3.3 (diff) | |
download | gentoo-d51558296c895b2d866d18bba6608e1d5e1f806d.tar.gz gentoo-d51558296c895b2d866d18bba6608e1d5e1f806d.tar.bz2 gentoo-d51558296c895b2d866d18bba6608e1d5e1f806d.zip |
dev-db/percona-toolkit: Bumped to v2.2.17 wrt bug #567420
Acked-by: Christian Ruppert <idl0r@gentoo.org>
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-db/percona-toolkit')
-rw-r--r-- | dev-db/percona-toolkit/Manifest | 1 | ||||
-rw-r--r-- | dev-db/percona-toolkit/files/percona-toolkit-2.2.17-fix-package-name.patch | 35 | ||||
-rw-r--r-- | dev-db/percona-toolkit/percona-toolkit-2.2.17.ebuild | 44 |
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index 1b29c406a9fd..396adaa47bcb 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -1,3 +1,4 @@ DIST percona-toolkit-2.2.11.tar.gz 1389718 SHA256 848a8a57bf04dc1b2cc2ab555dd594a2c708b76656042ff38b1a91b8ccb1df4b SHA512 d5e34fce1b6b69dfc1a8ecd7bcbe84e586e950976553f4fd30afb887a850770c08990216e41fc194bdd0a5642034905ee2d69c2f8b3781503c9b4aab47017cdb WHIRLPOOL 79e02087c97b86e6e282215cf73c89d7d6842978a1d40d3b9e2a484437e6939a9957c7028feb8690ffc8b915c26627c943204f230f4cb09749bb3e22ec4189ff DIST percona-toolkit-2.2.15.tar.gz 1401540 SHA256 ad9fffcee66852ac19c5d138e17474ff48af0083bc0fd8d0a6fb9400bab130f3 SHA512 b7035701909c3587ded1438bef7bdaa4ca1f40b339dbce001826aeadff46335ff39023a020c05ebd3e81a9ede70de26a162c48e5852e47577e7c6b3ec49a57c0 WHIRLPOOL 782134712d7562699f6e1f60299852d67e1bb1193c846c4cf48dba666f4fac44da655157bd2d5dafb4ae89db64e371d8e2e875d0397b8d2c3f257302928873d4 +DIST percona-toolkit-2.2.17.tar.gz 1420968 SHA256 5a49c84bd8cf9dceca943f1e2879d0a67b58b73325dc7db725aec81a6a125262 SHA512 a6ac84db9fc77b57fffd4f18b1e6c147fa39821a8b8db128af15bac6884a2937f973aa59adb05b738c3a15d9006c71db49276207c5b321acbefd8bd3a6130b76 WHIRLPOOL f2041c61f0e58c68cad1cb1ddca09aca7f9c0b9bb2ffc81303e80e483211b5fcf59f176d32d9bc324cf1bce6404fe15ad730fda40ad5c9b96c4bc81fc5b9e437 DIST percona-toolkit-2.2.7.tar.gz 1451687 SHA256 49ed1fa6d46b8211ba82355ec3c9dd0614c3b29fd31993123f2041e85a38891e SHA512 d3d7c4162de08c381810b815600effc683d1b79a8df2ccacd16e2b333924b6634c135f08387784c88867c90ce4ee1b334eae6d7f974e9587008da30b7206c5d3 WHIRLPOOL b6d02d5bc0aafbd8fdabc48efb4fa8e0d04634d31185c2c12c2c2776e36e80f138f7bcd1a6fcd2c079ca0cd25c56e79a6aea0e1615dfc7ad26a553c60716674d diff --git a/dev-db/percona-toolkit/files/percona-toolkit-2.2.17-fix-package-name.patch b/dev-db/percona-toolkit/files/percona-toolkit-2.2.17-fix-package-name.patch new file mode 100644 index 000000000000..2cd7634840e1 --- /dev/null +++ b/dev-db/percona-toolkit/files/percona-toolkit-2.2.17-fix-package-name.patch @@ -0,0 +1,35 @@ +From 0e7c176b38c6ee286511e6bb7720390d31fc6233 Mon Sep 17 00:00:00 2001 +From: Thomas D. +Date: Tue, 15 Mar 2016 22:21:48 +0100 +Subject: [PATCH] Fix package name + +The previous package name "percona-toolkit" is not a valid package name for +ExtUtils::MakeMaker: + + $ perl Makefile.PL + Checking if your kit is complete... + Looks good + Warning: NAME must be a package name + [...] + +Let us use the same package name (Percona::Toolkit) various scripts in bin/ +are already using. +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 7f46523..a9723f4 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,7 +1,7 @@ + use ExtUtils::MakeMaker; + + WriteMakefile( +- NAME => 'percona-toolkit', ++ NAME => 'Percona::Toolkit', + VERSION => '2.2.17', + EXE_FILES => [ <bin/*> ], + MAN1PODS => { +-- +2.7.3 diff --git a/dev-db/percona-toolkit/percona-toolkit-2.2.17.ebuild b/dev-db/percona-toolkit/percona-toolkit-2.2.17.ebuild new file mode 100644 index 000000000000..4b10d16fb31d --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-2.2.17.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}/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" + +src_prepare() { + # Bug #501904 - CVE-2014-2029 + eapply -p2 "${FILESDIR}"/${PN}-2.2.7-no-versioncheck.patch + eapply -p1 "${FILESDIR}"/${PN}-2.2.17-fix-package-name.patch + + default +} |