diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-03-02 14:49:30 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-03-02 14:49:57 +0100 |
commit | 1f8a660d03f98340d2c57d3d050fb5b174c7e8b1 (patch) | |
tree | 2b4e45b574b001cd93dec61e0b0419c28c1fcc02 /dev-db/percona-toolkit | |
parent | dev-db/xtrabackup-bin: Bump to v2.4.6 (diff) | |
download | gentoo-1f8a660d03f98340d2c57d3d050fb5b174c7e8b1.tar.gz gentoo-1f8a660d03f98340d2c57d3d050fb5b174c7e8b1.tar.bz2 gentoo-1f8a660d03f98340d2c57d3d050fb5b174c7e8b1.zip |
dev-db/percona-toolkit: Bump to v2.2.20
Package-Manager: Portage-2.3.3, Repoman-2.3.1
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.20-fix-package-name.patch | 13 | ||||
-rw-r--r-- | dev-db/percona-toolkit/percona-toolkit-2.2.20.ebuild | 44 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index d09ef88de008..de0b35a63ea9 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.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 +DIST percona-toolkit-2.2.20.tar.gz 1431840 SHA256 8439be616ee43b22ba7526135719ef6f40af6621327acc30b84be5f18cd426b1 SHA512 f7a5f47e9ca05c43dcb80866a1eacd13066e1f036f4f58d51145fc6354ddc86dd6515a9aa33c8f736029800bf4c80f7ba5fcb9f1e6ac41653b3351597885f679 WHIRLPOOL 0b8ec9657798b23d809da51ca12befd578f8e26ea96e9b1b723f505df0f9a4ff3345ea9f8d357bd93b316f7338d613b1c417449c61eca974d59419cafb98bdb5 diff --git a/dev-db/percona-toolkit/files/percona-toolkit-2.2.20-fix-package-name.patch b/dev-db/percona-toolkit/files/percona-toolkit-2.2.20-fix-package-name.patch new file mode 100644 index 000000000000..9865e1ba1a7a --- /dev/null +++ b/dev-db/percona-toolkit/files/percona-toolkit-2.2.20-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.20', + EXE_FILES => [ <bin/*> ], + MAN1PODS => { diff --git a/dev-db/percona-toolkit/percona-toolkit-2.2.20.ebuild b/dev-db/percona-toolkit/percona-toolkit-2.2.20.ebuild new file mode 100644 index 000000000000..9dc68077033e --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-2.2.20.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 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}/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.20-fix-package-name.patch + + default +} |