diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-01-22 00:32:02 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-01-22 00:45:44 +0100 |
commit | e1c25112da7f598c51fa6d904fc7da9b58eb032a (patch) | |
tree | 3daa6570a36f552d561d2cd60edc1f7a43b42f64 /dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild | |
parent | dev-util/bitcoin-tx: cleanup old (diff) | |
download | gentoo-e1c25112da7f598c51fa6d904fc7da9b58eb032a.tar.gz gentoo-e1c25112da7f598c51fa6d904fc7da9b58eb032a.tar.bz2 gentoo-e1c25112da7f598c51fa6d904fc7da9b58eb032a.zip |
dev-db/percona-toolkit: bump to v3.3.0
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild')
-rw-r--r-- | dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild new file mode 100644 index 000000000000..2baf33ca254c --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-3.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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/* +# ^ is *-no-versioncheck.patch +PATCHES=( + "${FILESDIR}"/${PN}-3.0.7-no-versioncheck.patch + "${FILESDIR}"/${PN}-3.0.10-slave-delay-fix.patch +) + +src_prepare() { + default + + sed -i \ + -e "s/=> 'percona-toolkit',/=> 'Percona::Toolkit',/g" \ + Makefile.PL || die +} |