diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2024-10-16 15:51:14 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-12-04 20:10:35 +0200 |
commit | dee2d874361646e9f6e4a971f7998d2f9569e9b7 (patch) | |
tree | 8fbaac3b75c7321635e269c6c5cbffcc5bbea00b /dev-db | |
parent | sci-libs/med: Make dev-lang/tk an optfeature (diff) | |
download | gentoo-dee2d874361646e9f6e4a971f7998d2f9569e9b7.tar.gz gentoo-dee2d874361646e9f6e4a971f7998d2f9569e9b7.tar.bz2 gentoo-dee2d874361646e9f6e4a971f7998d2f9569e9b7.zip |
dev-db/percona-toolkit: add 3.6.0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39012
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/percona-toolkit/Manifest | 2 | ||||
-rw-r--r-- | dev-db/percona-toolkit/percona-toolkit-3.6.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index efd1b10c4f09..d15978779693 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -1,3 +1,5 @@ DIST percona-toolkit-3.5.5.tar.gz 14847253 BLAKE2B f26b88581b84a12fd2b353984b2dbfbf43056388a48821739e70f43a28f448fc7caea99bdb0f5284b91ce04436e0969da1eec85e66054bfc1e8ff2771dede6d2 SHA512 0fb367e2a967c1a459e2d8a70f3db6c75043caf4127c14472b2bdfdb89415286c9f52929e326fa4f402d73a4c3e95b4cf8b0ee0f0624e54e382e44eb653bfaf9 DIST percona-toolkit-3.5.7-deps.tar.xz 108954608 BLAKE2B 788246531bdf3e1faa7d310fdd920b2fa42d9d82a75d730bb143047d0ce0c22d23ee86cf58bd646aae3dac503d88793040168be15fc74a7686979233a8d65dc1 SHA512 54a0698c5e3ae0fe30b6e253a31829db4c4656cccd48107126a5b99c148fe1ed9515d91e79784e1970569bfe8853d1b5cb74cf968dbc2d08e95aec6ef209659d DIST percona-toolkit-3.5.7.tar.gz 138784243 BLAKE2B a589c884348ad820ccadbb871ad85bf89a21ae49e8cea34fa019c61ab53302a5b7db03f01ae191138e15f61c77068388cb5d3863f360a7207d9f9075e9100385 SHA512 cfe232aa5b59d262242348ec18b676d0d8c7752dddadd1f027772346e02d329f5bc53b96dfdb82fbdb18524095f88ad0721e4b4c6ed611c727c0a5cde85998bd +DIST percona-toolkit-3.6.0-deps.tar.xz 109295060 BLAKE2B eee69710b54b43cc95f456bccec7b5483d626561dc02e1398a57437bb9be91ef9c280d424821a216f688385e65a16f238faecb9ced6fc4ed9088d39ca01d275a SHA512 caf1884ee69acbec21df734420c99e633470b3e76b169a56e89abdbe66d9f15f8bf182a6256c162539b2c95ce6d9cc4178327fa4d2a745b790c5a1357d5d5a1f +DIST percona-toolkit-3.6.0.tar.gz 136136447 BLAKE2B 9434760f5ca3fbaa91b1995af06d187bef2b7f982ffc24b2179773aed3b9aee06f33d9d5f548909e352cc2488ccd7c2db692f1ddb7be63fbc05e8ba3f4c8f325 SHA512 f7d99e5f0874c95b6820097a07e9ac144b08e1044dc07a82816e0d7377574e83d89265a49ab999c071affbd995af09eb2a0fd04c8b002a35c294230e75e61763 diff --git a/dev-db/percona-toolkit/percona-toolkit-3.6.0.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.6.0.ebuild new file mode 100644 index 000000000000..f30c867e29cd --- /dev/null +++ b/dev-db/percona-toolkit/percona-toolkit-3.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module 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 + https://github.com/hydrapolic/gentoo-dist/releases/download/${P}/${P}-deps.tar.xz" + +LICENSE="|| ( GPL-2 Artistic )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# 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/Role-Tiny + dev-perl/TermReadKey" + dev-perl/libwww-perl + virtual/perl-Digest-MD5 + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-File-Temp + virtual/perl-Getopt-Long + virtual/perl-IO-Compress + virtual/perl-Scalar-List-Utils + virtual/perl-Time-Local +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_install() { + default + dobin bin/* +} |