dev-db/percona-xtrabackup: bump to 8.0.6
authorTomas Mozes <hydrapolic@gmail.com>
Fri, 12 Jul 2019 16:25:25 +0000 (16:25 +0000)
committerMichał Górny <mgorny@gentoo.org>
Mon, 15 Jul 2019 19:35:12 +0000 (21:35 +0200)
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11987
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-db/percona-xtrabackup/Manifest
dev-db/percona-xtrabackup/percona-xtrabackup-8.0.6.ebuild [new file with mode: 0644]

index bd1ec14504a0fe725e0b9f9db12fc071a7eb2839..61cf20a17c38f990671b5c2d1fed005844a5d0e5 100644 (file)
@@ -1,3 +1,5 @@
 DIST boost_1_59_0.tar.gz 83709983 BLAKE2B 8c6676fa05fa401a6ecb3b890d95aceb4421ec48dd0eab38ce8d170c618e177c82dc67a165938f6be1a01daab24ce41888f5442dbc19ad3dd41368a01a6f89e4 SHA512 05fdbe5637543defdbc630b921515425885593d16db14534ed7b9aa60925ade8fb598d50cb894aed6dae688e789047216daa1bf03fa1aeb6b531060d9dae52ae
+DIST boost_1_68_0.tar.gz 108771741 BLAKE2B 35e00bff941d5c55a83b642454843ecf4b98726e44d6ed389c0bce316ac3280977a53002b442bbf9cfcd3813c47e4df896a62e112384cf49b195f834f6f1b0e1 SHA512 66090ac63257f8151dfc98d4adaf1f35e04071b23067139e1297b91f0a09418aa85464fb956eaef5b2795b06368b20377ad1c2565d81f614f8fe9a39b8382b41
 DIST percona-xtrabackup-2.4.13.tar.gz 57254236 BLAKE2B 061cbee03374193359ae557909389ec675ed35edf216afc9deeb0b7880705d03024d380d0d6070aabfdb710bbde3664fd73da65ae5980e58290d8c9af29f351c SHA512 19d5fb3d775f1513b931cb2e736b753c1dd82c42fee382fdfa9f183eaee562c32f635db5d569d991cf1c8f7168de55ed863ba2c59db459ab79b80792b21ab298
 DIST percona-xtrabackup-2.4.15.tar.gz 57357749 BLAKE2B fcc64736230636a3a5584a300229e0507f00bcd64a3d0b8e00f834b15ec757347a55a85521dd0aea939761c3a26b1ef99466ff7e633133b8088cd290bd835444 SHA512 789b6870d3ad06861126f67190717ffb31224628d1b9631ec5f39d0a41b3c66aaf2127e3ec4b38d3e8f7858a1438a74f0e89b07b9f4248b637b2ed39143ab599
+DIST percona-xtrabackup-8.0.6.tar.gz 120345254 BLAKE2B e5cd5fe77cc439ffc42be9e8c97a987fbadc079262f1dd4a56d0fc93692bac604bc0ffaeefe2acd1e7edc2f57bfbeccff34621b4dfb5b707f5daa3d2653b0ec7 SHA512 39d4235e3c8e4f6d035d73154293968fd5e13d0d1430935c470155d7f00338ad612886e47c24a6a4d5f69985871ee9dd57d925f963b7c887412cf0c2480e3de1
diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.6.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.6.ebuild
new file mode 100644 (file)
index 0000000..ce2024e
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Hot backup utility for MySQL based servers"
+HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
+SRC_URI="https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-8.0-6/source/tarball/${P}.tar.gz
+       mirror://sourceforge/boost/boost_1_68_0.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       app-arch/lz4:0=
+       app-editors/vim-core
+       dev-libs/icu:=
+       dev-libs/libaio
+       dev-libs/libedit
+       dev-libs/libev
+       dev-libs/libevent:0=
+       dev-libs/libgcrypt:0=
+       dev-libs/libgpg-error
+       dev-libs/protobuf:=
+       dev-libs/rapidjson
+       dev-libs/re2:=
+       dev-python/sphinx
+       net-misc/curl
+       sys-libs/zlib:="
+
+RDEPEND="
+       ${DEPEND}
+       !dev-db/percona-xtrabackup-bin
+       dev-perl/DBD-mysql"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_CONFIG=xtrabackup_release
+               -DBUILD_SHARED_LIBS=OFF
+               -DWITH_BOOST="${WORKDIR}/boost_1_68_0"
+               -DWITH_SYSTEM_LIBS=ON
+       )
+       local CMAKE_BUILD_TYPE="Release"
+       cmake-utils_src_configure
+}
+
+src_install() {
+       local p="${BUILD_DIR}/storage/innobase/xtrabackup"
+
+       dobin "${p}"/xbcloud_osenv
+       dobin "${BUILD_DIR}"/runtime_output_directory/{xbcloud,xbcrypt,xbstream,xtrabackup}
+
+       doman "${p}"/doc/source/build/man/*
+}