summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/percona-toolkit
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/percona-toolkit')
-rw-r--r--dev-db/percona-toolkit/Manifest2
-rw-r--r--dev-db/percona-toolkit/files/percona-toolkit-2.2.7-no-versioncheck.patch216
-rw-r--r--dev-db/percona-toolkit/metadata.xml20
-rw-r--r--dev-db/percona-toolkit/percona-toolkit-2.2.11.ebuild48
-rw-r--r--dev-db/percona-toolkit/percona-toolkit-2.2.7.ebuild48
5 files changed, 334 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest
new file mode 100644
index 000000000000..84e15a8cb5d9
--- /dev/null
+++ b/dev-db/percona-toolkit/Manifest
@@ -0,0 +1,2 @@
+DIST percona-toolkit-2.2.11.tar.gz 1389718 SHA256 848a8a57bf04dc1b2cc2ab555dd594a2c708b76656042ff38b1a91b8ccb1df4b SHA512 d5e34fce1b6b69dfc1a8ecd7bcbe84e586e950976553f4fd30afb887a850770c08990216e41fc194bdd0a5642034905ee2d69c2f8b3781503c9b4aab47017cdb WHIRLPOOL 79e02087c97b86e6e282215cf73c89d7d6842978a1d40d3b9e2a484437e6939a9957c7028feb8690ffc8b915c26627c943204f230f4cb09749bb3e22ec4189ff
+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.7-no-versioncheck.patch b/dev-db/percona-toolkit/files/percona-toolkit-2.2.7-no-versioncheck.patch
new file mode 100644
index 000000000000..d6d38177b18f
--- /dev/null
+++ b/dev-db/percona-toolkit/files/percona-toolkit-2.2.7-no-versioncheck.patch
@@ -0,0 +1,216 @@
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-archiver new/percona-toolkit-2.2.7/bin/pt-archiver
+--- old/percona-toolkit-2.2.7/bin/pt-archiver 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-archiver 2014-05-21 18:13:49.148631547 +0200
+@@ -7465,8 +7465,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-config-diff new/percona-toolkit-2.2.7/bin/pt-config-diff
+--- old/percona-toolkit-2.2.7/bin/pt-config-diff 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-config-diff 2014-05-21 18:13:38.012402960 +0200
+@@ -5563,8 +5563,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-deadlock-logger new/percona-toolkit-2.2.7/bin/pt-deadlock-logger
+--- old/percona-toolkit-2.2.7/bin/pt-deadlock-logger 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-deadlock-logger 2014-05-21 18:11:18.923569703 +0200
+@@ -5332,8 +5332,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-diskstats new/percona-toolkit-2.2.7/bin/pt-diskstats
+--- old/percona-toolkit-2.2.7/bin/pt-diskstats 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-diskstats 2014-05-21 18:11:04.041268359 +0200
+@@ -5468,8 +5468,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-duplicate-key-checker new/percona-toolkit-2.2.7/bin/pt-duplicate-key-checker
+--- old/percona-toolkit-2.2.7/bin/pt-duplicate-key-checker 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-duplicate-key-checker 2014-05-21 18:12:51.993462828 +0200
+@@ -5430,8 +5430,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-find new/percona-toolkit-2.2.7/bin/pt-find
+--- old/percona-toolkit-2.2.7/bin/pt-find 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-find 2014-05-21 18:09:46.496705351 +0200
+@@ -4440,8 +4440,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-fk-error-logger new/percona-toolkit-2.2.7/bin/pt-fk-error-logger
+--- old/percona-toolkit-2.2.7/bin/pt-fk-error-logger 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-fk-error-logger 2014-05-21 18:12:39.277202489 +0200
+@@ -4335,8 +4335,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-heartbeat new/percona-toolkit-2.2.7/bin/pt-heartbeat
+--- old/percona-toolkit-2.2.7/bin/pt-heartbeat 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-heartbeat 2014-05-21 18:09:29.885373476 +0200
+@@ -6019,8 +6019,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-index-usage new/percona-toolkit-2.2.7/bin/pt-index-usage
+--- old/percona-toolkit-2.2.7/bin/pt-index-usage 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-index-usage 2014-05-21 18:08:58.139739567 +0200
+@@ -7348,8 +7348,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-kill new/percona-toolkit-2.2.7/bin/pt-kill
+--- old/percona-toolkit-2.2.7/bin/pt-kill 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-kill 2014-05-21 18:11:45.264103271 +0200
+@@ -7626,8 +7626,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-online-schema-change new/percona-toolkit-2.2.7/bin/pt-online-schema-change
+--- old/percona-toolkit-2.2.7/bin/pt-online-schema-change 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-online-schema-change 2014-05-21 18:13:04.843724091 +0200
+@@ -11298,8 +11298,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-query-digest new/percona-toolkit-2.2.7/bin/pt-query-digest
+--- old/percona-toolkit-2.2.7/bin/pt-query-digest 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-query-digest 2014-05-21 18:12:23.127872894 +0200
+@@ -16265,8 +16265,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-slave-delay new/percona-toolkit-2.2.7/bin/pt-slave-delay
+--- old/percona-toolkit-2.2.7/bin/pt-slave-delay 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-slave-delay 2014-05-21 18:08:11.586811388 +0200
+@@ -4698,8 +4698,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-slave-restart new/percona-toolkit-2.2.7/bin/pt-slave-restart
+--- old/percona-toolkit-2.2.7/bin/pt-slave-restart 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-slave-restart 2014-05-21 18:11:32.423843497 +0200
+@@ -5638,8 +5638,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-table-checksum new/percona-toolkit-2.2.7/bin/pt-table-checksum
+--- old/percona-toolkit-2.2.7/bin/pt-table-checksum 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-table-checksum 2014-05-21 18:14:03.377924135 +0200
+@@ -12314,8 +12314,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-table-sync new/percona-toolkit-2.2.7/bin/pt-table-sync
+--- old/percona-toolkit-2.2.7/bin/pt-table-sync 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-table-sync 2014-05-21 18:10:18.476350097 +0200
+@@ -12501,8 +12501,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-upgrade new/percona-toolkit-2.2.7/bin/pt-upgrade
+--- old/percona-toolkit-2.2.7/bin/pt-upgrade 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-upgrade 2014-05-21 18:08:38.344342935 +0200
+@@ -11003,8 +11003,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
+diff -rupN old/percona-toolkit-2.2.7/bin/pt-variable-advisor new/percona-toolkit-2.2.7/bin/pt-variable-advisor
+--- old/percona-toolkit-2.2.7/bin/pt-variable-advisor 2014-02-20 08:20:28.000000000 +0100
++++ new/percona-toolkit-2.2.7/bin/pt-variable-advisor 2014-05-21 18:10:01.967017827 +0200
+@@ -5968,8 +5968,6 @@ Show version and exit.
+
+ =item --[no]version-check
+
+-default: yes
+-
+ Check for the latest version of Percona Toolkit, MySQL, and other programs.
+
+ This is a standard "check for updates automatically" feature, with two
diff --git a/dev-db/percona-toolkit/metadata.xml b/dev-db/percona-toolkit/metadata.xml
new file mode 100644
index 000000000000..1e00b85e5e96
--- /dev/null
+++ b/dev-db/percona-toolkit/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>mysql</herd>
+ <maintainer>
+ <email>idl0r@gentoo.org</email>
+ <name>Christian Ruppert</name>
+ </maintainer>
+ <longdescription>Percona Toolkit, formerly Maatkit and Aspersa, formerly MySQL Toolkit,
+ is a collection of command-line utilities that provide missing
+ functionality for MySQL. Some of the tools implement lacking server
+ functionality, such as online consistency checks for master/slave
+ replication; others are client-side utilities such as a query
+ profiler.</longdescription>
+ <!--
+ <upstream>
+ <remote-id type="launchpad">percona-toolkit</remote-id>
+ </upstream>
+ -->
+</pkgmetadata>
diff --git a/dev-db/percona-toolkit/percona-toolkit-2.2.11.ebuild b/dev-db/percona-toolkit/percona-toolkit-2.2.11.ebuild
new file mode 100644
index 000000000000..b01433eccc03
--- /dev/null
+++ b/dev-db/percona-toolkit/percona-toolkit-2.2.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils perl-app perl-module toolchain-funcs
+
+DESCRIPTION="essential command-line utilities for MySQL"
+HOMEPAGE="http://www.percona.com/software/percona-toolkit/"
+SRC_URI="http://www.percona.com/downloads/${PN}/${PV}/${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/*
+ epatch "${FILESDIR}/${PN}-2.2.7-no-versioncheck.patch"
+}
+
+# Percona Toolkit does NOT contain the UDF code for Murmur/FNV any more.
+src_install() {
+ perl-module_src_install
+ dodoc docs/percona-toolkit.pod
+}
diff --git a/dev-db/percona-toolkit/percona-toolkit-2.2.7.ebuild b/dev-db/percona-toolkit/percona-toolkit-2.2.7.ebuild
new file mode 100644
index 000000000000..96dad03e311d
--- /dev/null
+++ b/dev-db/percona-toolkit/percona-toolkit-2.2.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils perl-app perl-module toolchain-funcs
+
+DESCRIPTION="essential command-line utilities for MySQL"
+HOMEPAGE="http://www.percona.com/software/percona-toolkit/"
+SRC_URI="http://www.percona.com/downloads/${PN}/${PV}/${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/*
+ epatch "${FILESDIR}/${P}-no-versioncheck.patch"
+}
+
+# Percona Toolkit does NOT contain the UDF code for Murmur/FNV any more.
+src_install() {
+ perl-module_src_install
+ dodoc docs/percona-toolkit.pod
+}