1 |
commit: 6162cbf39b8ae7f574bb45370605635fb41ccf23 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Aug 10 12:50:12 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 13 12:58:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6162cbf3 |
7 |
|
8 |
dev-db/percona-xtrabackup: version bump to 2.4.8. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5354 |
12 |
|
13 |
dev-db/percona-xtrabackup/Manifest | 1 + |
14 |
.../percona-xtrabackup-2.4.8.ebuild | 82 ++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/dev-db/percona-xtrabackup/Manifest b/dev-db/percona-xtrabackup/Manifest |
18 |
index f34a4c3f7be..f521aa60004 100644 |
19 |
--- a/dev-db/percona-xtrabackup/Manifest |
20 |
+++ b/dev-db/percona-xtrabackup/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST percona-xtrabackup-2.4.6.tar.gz 54108124 SHA256 1e21ab097550901d8f2fa3dc37402ba6a994afa0722760f8f19cb369565e5e8b SHA512 7ed16ba73d4232cc5f40f3dd4674087b65326b42f3f0d9cd462a1eef1dd2c41c582cb71fff49998d9e65f71322e2b26d0708b2ba36da22f54f456679b9a544e5 WHIRLPOOL 3d53e7a2b7b61c0dd779d723a3efb4d1ab4d98aff751a325e6028c0710a1f4de969d70f62c65a8a0e67f0d95643a0245524fb37708602ef303f21674c5f92fe3 |
23 |
DIST percona-xtrabackup-2.4.7.tar.gz 54119422 SHA256 261567a4f0bdde0df7eefeb4f651ad39b4752984bbaabd68245e0e5ee368871a SHA512 7aaf82975cd4c0b7af119902eddf96b8ce75c0fbcbd6835991e33f1f89347361fbe3c9040762c9989df5d53199b628aa6b2b45004ef440bb46e2415fbab13009 WHIRLPOOL 768749471ac987a24f86d07b330988cb679042be5a8affd264f1195eeeacaa8e403370d558316708a056acb4b0ad78083e195f31a4f2a58bc497bf301be2ddb1 |
24 |
+DIST percona-xtrabackup-2.4.8.tar.gz 57965576 SHA256 66a9cb73ce03c8a0b125998d464190288cb400cc6c22a766798ed4b24cceab91 SHA512 a613c41169c6ebdba27c6cb8111d388ff656d4daf0e69b52e401b293a6ac6499d81d0f028afd805fa60018ad5f2007e70db7a9ba931d6829272f0ce273ba9739 WHIRLPOOL c6b8d93abade6f8a4586c6d01db6e569eafad9cc21827af6d36b91e58fcb0352e0cba0221031b4c582b372744360a97b296b868006e9d9b6f591cfa07cf22918 |
25 |
|
26 |
diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.8.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0dce3c1a694 |
29 |
--- /dev/null |
30 |
+++ b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.8.ebuild |
31 |
@@ -0,0 +1,82 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit cmake-utils flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Hot backup utility for MySQL based servers" |
40 |
+HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup" |
41 |
+SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ app-arch/lz4:0= |
49 |
+ app-editors/vim-core |
50 |
+ >=dev-libs/boost-1.59.0:= |
51 |
+ dev-libs/libaio |
52 |
+ <dev-libs/libedit-20170329.3.1 |
53 |
+ dev-libs/libev |
54 |
+ dev-libs/libevent:0= |
55 |
+ dev-libs/libgcrypt:0= |
56 |
+ dev-libs/libgpg-error |
57 |
+ dev-python/sphinx |
58 |
+ net-misc/curl |
59 |
+ sys-libs/zlib" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ ${DEPEND} |
63 |
+ !dev-db/xtrabackup-bin |
64 |
+ dev-perl/DBD-mysql" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${PN}-2.4.6-remove-boost-version-check.patch |
68 |
+ "${FILESDIR}"/${PN}-2.4.6-fix-gcc6-isystem.patch |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ cmake-utils_src_prepare |
73 |
+ |
74 |
+ # remove bundled lz4, boost, libedit, libevent, zlib |
75 |
+ # just to be safe... |
76 |
+ rm -rv \ |
77 |
+ extra/lz4 \ |
78 |
+ include/boost_1_59_0 \ |
79 |
+ cmd-line-utils/libedit \ |
80 |
+ libevent \ |
81 |
+ zlib || die |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ # Needed, due to broken handling of CMAKE_BUILD_TYPE leading to |
86 |
+ # |
87 |
+ # error: 'fts_ast_node_type_get' was not declared in this scope |
88 |
+ # |
89 |
+ append-cppflags -DDBUG_OFF |
90 |
+ |
91 |
+ local mycmakeargs=( |
92 |
+ -DBUILD_CONFIG=xtrabackup_release |
93 |
+ -DWITH_EDITLINE=system |
94 |
+ -DWITH_LIBEVENT=system |
95 |
+ -DWITH_LZ4=system |
96 |
+ -DWITH_SSL=bundled # uses yassl, which isn't packaged |
97 |
+ -DWITH_ZLIB=system |
98 |
+ -DWITH_PIC=ON |
99 |
+ ) |
100 |
+ |
101 |
+ local CMAKE_BUILD_TYPE="Release" |
102 |
+ cmake-utils_src_configure |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ local p="${BUILD_DIR}/storage/innobase/xtrabackup" |
107 |
+ |
108 |
+ dobin "${p}"/src/{xbcloud,xbcrypt,xbstream,xtrabackup} |
109 |
+ dosym xtrabackup /usr/bin/innobackupex |
110 |
+ |
111 |
+ einstalldocs |
112 |
+ doman "${p}"/doc/source/build/man/* |
113 |
+} |