From 23650861e24563ddcf10919ab5b1912676c3ff0c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 11 Mar 2023 18:08:11 +0000 Subject: gentoo auto-resync : 11:03:2023 - 18:08:11 --- dev-db/percona-toolkit/Manifest | 2 + .../percona-toolkit/percona-toolkit-3.5.1.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-db/percona-toolkit/percona-toolkit-3.5.1.ebuild (limited to 'dev-db/percona-toolkit') diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index 81704ae97cdd..b1d7b1c4b34f 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -1,5 +1,7 @@ AUX percona-toolkit-3.0.10-slave-delay-fix.patch 1593 BLAKE2B 94bc49d581fbd453f650fe81b704ae042f3219495373c09bd750241cbdb3a1917e582927d3682072a1ac6369e2a564ee41bb16c25f662cab16748af1772c11b2 SHA512 40268aa6241416b80e6c076083a0ba2f75fb330529dc5de01438536cd6ce352b4dbee642cad1e1219441ababb054243731afdba0e4f8642dea20c0f1dada5646 AUX percona-toolkit-3.0.7-no-versioncheck.patch 5566 BLAKE2B 4def58c91dcdc35481c2ba89c78cb35db2a9121b86ba3a66896d0ef0175c9d6f47cf6eff0908847564ecc810243a3fdc0b893fbc3b2bd2131ec932f93a8694ad SHA512 a681b7f32f1acb509f01fe6c8e99106708729b8f8f5fe5fba0f2131b4380cfd22462f37bf0fbb95213b89d17375f0252b961d0257fb310295fe0e6e002b66e28 DIST percona-toolkit-3.3.1.tar.gz 15348084 BLAKE2B 1bae3bc96144d23d51afca624b4ff4c7d5e118db857b5bf7721b8fa3fbc43e0ed87c52113e694e5defa0c70643a018ce1a7d2e437f097bac407344456f70ca1f SHA512 ee82613e15746820739042d34cf7cac0ba7e9f2825234ba39d7bfb8e0a52ab9b8d23ca47cb6a6afe2525c01f69fc81130a3be67b8a191c98d0d43e960a736cb0 +DIST percona-toolkit-3.5.1.tar.gz 14700246 BLAKE2B 58e1ae76a2fce32dd16fde3a9caae2a470882e737893cc22f67cf810533ceafa95c5b26ec390cc58b2b9f0db3a2323fe78c00a631da107e6dbbbef73e65c1bb4 SHA512 33ec22c2fc1c3cc855caead7ac7ca153328e280500f56e24e074cca6a2ba95572430369908cb557eedfcadfb7246fbb5670c943673aa41d5210dc38603aeb492 EBUILD percona-toolkit-3.3.1.ebuild 1325 BLAKE2B 202541352285cd7a6a8696e66b25755a0c16885c4ab394cf9fa4742dab7361b58a8ef15828368de28683df2647d880293a19b3f0b411f06428c1b577c6257277 SHA512 5b241a88b0af49240253b5bba7192c7646da0152a0b2224842475c45b37b3c8056311d3d92e35e7e34687f86fab262a422647bc237149b175f793f55054dee64 +EBUILD percona-toolkit-3.5.1.ebuild 1325 BLAKE2B 791fbdd25eb56290e2a22dab981948910cfea57601ecb2360dbabc93c36b930bc1fa29a8f934c296786a820ff4217afe84c7ab97d72c119e313b019a86fa712c SHA512 f1484144a81523f99dba01ea7edbdb426eafa5ee6ba865763204527d3fa1577c608fdfdbc9fee32bdeb4b6d6b76d49460782fbfbca2933cd8dee0386252efa9e MISC metadata.xml 724 BLAKE2B ba24ec13af4de15c27dfbfc3c72138b736cfe28b0d9c126cdcdc33d7ced612728a43de00b75d6fa8be5b0bbec3ebaa58ed5c80925b3bcade9acb01fb3d9bbf34 SHA512 7ac5e2e7d45bf8d744d390844b21fd955387580da6afc5a495b1e861025dfe3c20da6218ae9a2caf37695087db2c4987e324481e2f1cef2ff442966658ecb9b5 diff --git a/dev-db/percona-toolkit/percona-toolkit-3.5.1.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.5.1.ebuild new file mode 100644 index 000000000000..cac56554aef2 --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-3.5.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +} -- cgit v1.2.3