Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-xtrabackup/
Date: Sun, 04 Dec 2016 22:37:00
Message-Id: 1480891006.5d26699fd833bf201b2380dceaba32b1a267eb92.monsieurp@gentoo
1 commit: 5d26699fd833bf201b2380dceaba32b1a267eb92
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 2 11:38:47 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 4 22:36:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d26699f
7
8 dev-db/percona-xtrabackup: version bump to 2.4.5.
9
10 Package-Manager: portage-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/2984
12
13 dev-db/percona-xtrabackup/Manifest | 1 +
14 .../percona-xtrabackup-2.4.5.ebuild | 54 ++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-db/percona-xtrabackup/Manifest b/dev-db/percona-xtrabackup/Manifest
18 index 65c21a3..bf632d5 100644
19 --- a/dev-db/percona-xtrabackup/Manifest
20 +++ b/dev-db/percona-xtrabackup/Manifest
21 @@ -1,2 +1,3 @@
22 DIST boost_1_59_0.tar.gz 83709983 SHA256 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac SHA512 05fdbe5637543defdbc630b921515425885593d16db14534ed7b9aa60925ade8fb598d50cb894aed6dae688e789047216daa1bf03fa1aeb6b531060d9dae52ae WHIRLPOOL b316c2b5e445010766b7ce3f6582565177e1ed763381912dd6b21a882176e19e382c929e1f5a2419e2ed701058c56320cdbf8487234835a00fb94e7115059b67
23 DIST percona-xtrabackup-2.4.4.tar.gz 54060567 SHA256 e3ec54eb468482503bccdd1619136e798798086042e9eb7c6daa2fb9b78783a3 SHA512 aa013aa8f2bef49c66fd14a980444039bdbabb17c09efec3119d5fc074623d6c5f7492602c759f1d51e3a01898729e1209d2195081b537f679a3713b37a7cf0d WHIRLPOOL 77ef90b028cfcec60b0aa7dea4aab2bbebb3be8f18ae50406af81c1cdfe6339f08b29eded004ca6b91ce86303ef694803e34dc5c4d723606b34c1b95120bd8f7
24 +DIST percona-xtrabackup-2.4.5.tar.gz 54104240 SHA256 1c8c457e1912525f6c3079a8c5b2948dbcf693d2b86c8f57d13b4a446cec2036 SHA512 07d93ea7de987a06687cc772b32dff13e75e34061163bf990abe640015f765d9fe4deb6d78ddb91a667ddb312448400a5e7e1114cf955837584b5fd16821c66b WHIRLPOOL a3be4ee0eb39c23aeabf1f70dadecf23fda7e3c2d2b033097c66cab7616a84a2e5703c64c1738c3c251297c4c64930590610cb99001f65cd76ef71c204d192f8
25
26 diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.5.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.5.ebuild
27 new file mode 100644
28 index 00000000..e2fe46c
29 --- /dev/null
30 +++ b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.5.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +DESCRIPTION="Hot backup utility for MySQL based servers"
39 +HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
40 +SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz
41 + !system-boost? ( http://jenkins.percona.com/downloads/boost/boost_1_59_0.tar.gz )"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="system-boost"
47 +
48 +DEPEND="system-boost? ( =dev-libs/boost-1.59.0 )
49 + app-editors/vim-core
50 + dev-libs/libaio
51 + dev-libs/libev
52 + dev-libs/libgcrypt:0=
53 + dev-libs/libgpg-error
54 + dev-python/sphinx
55 + net-misc/curl
56 + sys-libs/zlib"
57 +RDEPEND="${DEPEND}
58 + !dev-db/xtrabackup-bin
59 + dev-perl/DBD-mysql"
60 +
61 +src_configure() {
62 + local my_args
63 +
64 + if ! use system-boost; then
65 + my_args="-DDOWNLOAD_BOOST=0 -DWITH_BOOST=${WORKDIR}"
66 + fi
67 +
68 + cmake -DBUILD_CONFIG=xtrabackup_release $my_args || die
69 +}
70 +
71 +src_compile() {
72 + emake
73 +}
74 +
75 +src_install() {
76 + local p="storage/innobase/xtrabackup"
77 +
78 + for tool in xbcloud xbcrypt xbstream xtrabackup; do
79 + dobin ${p}/src/${tool}
80 + done
81 +
82 + dosym xtrabackup /usr/bin/innobackupex
83 +
84 + doman ${p}/doc/source/build/man/*
85 +}