diff options
author | Sergiy Borodych <Sergiy.Borodych@gmail.com> | 2016-08-18 14:56:21 +0300 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2016-08-18 23:16:43 +0200 |
commit | 0c0356979ce7de262f19864e6a215bf02f5e355f (patch) | |
tree | bc7f8d5427f4fe63a984993859af8426b74e7611 /dev-db | |
parent | dev-db/percona-toolkit: Remove old version (diff) | |
download | gentoo-0c0356979ce7de262f19864e6a215bf02f5e355f.tar.gz gentoo-0c0356979ce7de262f19864e6a215bf02f5e355f.tar.bz2 gentoo-0c0356979ce7de262f19864e6a215bf02f5e355f.zip |
dev-db/percona-toolkit: version bump to 2.2.19
Closes: https://github.com/gentoo/gentoo/pull/2104
Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/percona-toolkit/Manifest | 1 | ||||
-rw-r--r-- | dev-db/percona-toolkit/files/percona-toolkit-2.2.19-fix-package-name.patch | 13 | ||||
-rw-r--r-- | dev-db/percona-toolkit/percona-toolkit-2.2.19.ebuild | 45 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index d8d5ddda52bc..d09ef88de008 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -1,2 +1,3 @@ DIST percona-toolkit-2.2.11.tar.gz 1389718 SHA256 848a8a57bf04dc1b2cc2ab555dd594a2c708b76656042ff38b1a91b8ccb1df4b SHA512 d5e34fce1b6b69dfc1a8ecd7bcbe84e586e950976553f4fd30afb887a850770c08990216e41fc194bdd0a5642034905ee2d69c2f8b3781503c9b4aab47017cdb WHIRLPOOL 79e02087c97b86e6e282215cf73c89d7d6842978a1d40d3b9e2a484437e6939a9957c7028feb8690ffc8b915c26627c943204f230f4cb09749bb3e22ec4189ff DIST percona-toolkit-2.2.17.tar.gz 1420968 SHA256 5a49c84bd8cf9dceca943f1e2879d0a67b58b73325dc7db725aec81a6a125262 SHA512 a6ac84db9fc77b57fffd4f18b1e6c147fa39821a8b8db128af15bac6884a2937f973aa59adb05b738c3a15d9006c71db49276207c5b321acbefd8bd3a6130b76 WHIRLPOOL f2041c61f0e58c68cad1cb1ddca09aca7f9c0b9bb2ffc81303e80e483211b5fcf59f176d32d9bc324cf1bce6404fe15ad730fda40ad5c9b96c4bc81fc5b9e437 +DIST percona-toolkit-2.2.19.tar.gz 1425623 SHA256 e9f4d4730265813fa7a39ed8799d12ca5775c8e5d6fa27ff48bae11db0f7e671 SHA512 8da35e2ee4d81465131623e5b423c2c49c0bf0faf01862952dd5ca72c2ffea64fabcaf88dda883e633e23de8ae4a6c75a095a751708bac6a8136fc8daaae2383 WHIRLPOOL 7539e661230c321b3ba74b625a67d1e19d3c21676e2e5bbc66d843c1f896df6fc679e406d2703c42b990e7446f490f2fb2cd39298059eb382fbc8af39a46bc31 diff --git a/dev-db/percona-toolkit/files/percona-toolkit-2.2.19-fix-package-name.patch b/dev-db/percona-toolkit/files/percona-toolkit-2.2.19-fix-package-name.patch new file mode 100644 index 000000000000..283299b14b42 --- /dev/null +++ b/dev-db/percona-toolkit/files/percona-toolkit-2.2.19-fix-package-name.patch @@ -0,0 +1,13 @@ +Source https://github.com/percona/percona-toolkit/pull/84 +Adapted to current version +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,7 +1,7 @@ + use ExtUtils::MakeMaker; + + WriteMakefile( +- NAME => 'percona-toolkit', ++ NAME => 'Percona::Toolkit', + VERSION => '2.2.19', + EXE_FILES => [ <bin/*> ], + MAN1PODS => { diff --git a/dev-db/percona-toolkit/percona-toolkit-2.2.19.ebuild b/dev-db/percona-toolkit/percona-toolkit-2.2.19.ebuild new file mode 100644 index 000000000000..267236014f66 --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-2.2.19.ebuild @@ -0,0 +1,45 @@ +# 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 + # sed -i -e '/^=item --\[no\]version-check/,/^default: yes/{/^default: yes/d}' bin/* + eapply -p2 "${FILESDIR}"/${PN}-2.2.7-no-versioncheck.patch + eapply -p1 "${FILESDIR}"/${PN}-2.2.19-fix-package-name.patch + + default +} |