forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-db/xtrabackup-bin: Bump to v2.4.6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
DIST percona-xtrabackup-2.4.4-Linux-i686.tar.gz 80913003 SHA256 0f822861fd38b45132f2529fea0d9662407a6f232cb842ecc29c3cddc8e7e448 SHA512 88ab0c46a6bdb4c524e66f5f58a8a32f5cb0b728129eadda4c5002625c4fcedd48f4c6328af3745bcdae5a6c2d17c77dbd72b860b35728f16379d3f98add412a WHIRLPOOL 59ecd56e98584b8f7378671f592a9a130c0c86a6c36735a06dec4fe6a069cd52d1df1627363c257ff4362fc4c176838eaff614bc674c5f38abc4adf4aa2c284c | ||
DIST percona-xtrabackup-2.4.4-Linux-x86_64.tar.gz 82348558 SHA256 1e59e4d061d9af9bbb821dc70dd8ee98a25afd70c5663f3c43d1011468d28b47 SHA512 265ffc8a6976daaa8de2a22e1db2a15734fcbfe4881cb3482130fccbc69bda7302b013adb2c52cf93a1881baaaec2b08e98f3e5252b295802a426a2597960039 WHIRLPOOL 5aef403ee24473b0300bd1f7c47c94ea9b34464f62273a4889cac814736764e1312455dc913a6556b97eebb70e3ec7fb365d72b24c8315f8029ed88f5f4c3036 | ||
DIST percona-xtrabackup-2.4.6-Linux-i686.tar.gz 80985248 SHA256 1a8ab6d7b03fbdcf641fbcf041d0e278971ebcd3d0c59acca5e5cd4238630fa9 SHA512 89e41b4aadf4506d6bc5ce99d6fdee9a6ef3456e6a8ffc0db0f421792d64d8df109557eca84f841825807b5b27077b7c194efa08c1b33ea7b41e65d6935d0b73 WHIRLPOOL 8b4ddf73659e2c7d93581114f909c46d2e572be082ace80036f19c58fdb5608b16be19366d423811364cc1c454ee652d31732ec46d5a5d115999ea0aadd341a0 | ||
DIST percona-xtrabackup-2.4.6-Linux-x86_64.tar.gz 82382422 SHA256 d1919ee82b887849d27d4d372669796a4226909f400e9d33f5c0015ecb996a67 SHA512 7299f7e47417e62fdad5fdfb0637d4ba7e94e0804207ad690cd8573fc83e5eea15d0c5504bc084f24cec074765f51fafdb780115bbd336dd7e36ad123fae218e WHIRLPOOL 0d19d0a389e24912d054e9e77ffe03f08cef5dcee5c8ea8ce6aac3242e4e9d0ad6fa239b8b6ae5e82b79203f2255af9da0b81ddd6d1313949693e09d8758bd48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="6" | ||
|
||
MY_PN="percona-${PN/-bin}" | ||
MY_P="${MY_PN}-${PV}" | ||
|
||
DESCRIPTION="MySQL hot backup software. non-blocking backups for InnoDB/XtraDB databases" | ||
HOMEPAGE="http://www.percona.com/software/percona-xtrabackup" | ||
SRC_URI=" | ||
amd64? ( | ||
http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-x86_64.tar.gz | ||
) | ||
x86? ( | ||
http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-i686.tar.gz | ||
)" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
# NOTE: dev-perl/DBD-mysql still necessary, now for bin/xtrabackup? | ||
DEPEND="" | ||
RDEPEND="dev-libs/libaio | ||
dev-libs/libgcrypt:11/11 | ||
dev-libs/libgpg-error | ||
dev-perl/DBD-mysql | ||
sys-libs/zlib" | ||
|
||
src_unpack() { | ||
default | ||
|
||
if use amd64; then | ||
S="${WORKDIR}/${MY_P}-Linux-x86_64" | ||
elif use x86; then | ||
S="${WORKDIR}/${MY_P}-Linux-i686" | ||
fi | ||
} | ||
|
||
src_install() { | ||
# Two new tools with an old libcurl.so.3 dep... | ||
# TODO: Wait for a new release using libcurl.so.4 | ||
# net-misc/curl dev-libs/libev | ||
# dobin bin/xbcloud{,_osenv} | ||
|
||
for tool in xbcrypt xbstream xtrabackup; do | ||
dobin bin/${tool} | ||
done | ||
|
||
for man in innobackupex xbcrypt xbstream xtrabackup; do | ||
doman man/man1/${man}.1 | ||
done | ||
|
||
dosym xtrabackup /usr/bin/innobackupex | ||
} | ||
|
||
pkg_postinst() { | ||
ewarn "innobackupex got deprecated in 2.3.x series and is just a symlink to xtrabackup" | ||
} |