percona-toolkit-2.2.11.ebuild 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils perl-app perl-module toolchain-funcs
  5. DESCRIPTION="essential command-line utilities for MySQL"
  6. HOMEPAGE="http://www.percona.com/software/percona-toolkit/"
  7. SRC_URI="http://www.percona.com/downloads/${PN}/${PV}/${P}.tar.gz"
  8. LICENSE="|| ( GPL-2 Artistic )"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
  11. # Package warrants IUSE doc
  12. IUSE=""
  13. COMMON_DEPEND="dev-perl/DBI
  14. dev-perl/DBD-mysql
  15. virtual/perl-Time-HiRes"
  16. RDEPEND="${COMMON_DEPEND}
  17. dev-perl/JSON
  18. dev-perl/libwww-perl
  19. dev-perl/Role-Tiny
  20. virtual/perl-File-Path
  21. virtual/perl-Getopt-Long
  22. virtual/perl-Time-Local
  23. virtual/perl-Digest-MD5
  24. virtual/perl-IO-Compress
  25. virtual/perl-File-Temp
  26. virtual/perl-File-Spec
  27. virtual/perl-Scalar-List-Utils
  28. dev-perl/TermReadKey"
  29. DEPEND="${COMMON_DEPEND}
  30. virtual/perl-ExtUtils-MakeMaker"
  31. src_prepare() {
  32. # bug 501904 - CVE-2014-2029
  33. # sed -i -e '/^=item --\[no\]version-check/,/^default: yes/{/^default: yes/d}' bin/*
  34. epatch "${FILESDIR}/${PN}-2.2.7-no-versioncheck.patch"
  35. }
  36. # Percona Toolkit does NOT contain the UDF code for Murmur/FNV any more.
  37. src_install() {
  38. perl-module_src_install
  39. dodoc docs/percona-toolkit.pod
  40. }