dev-db/percona-xtrabackup-bin: bump to v2.4.13
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 14 Feb 2019 14:45:07 +0000 (15:45 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 14 Feb 2019 14:45:07 +0000 (15:45 +0100)
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-db/percona-xtrabackup-bin/Manifest
dev-db/percona-xtrabackup-bin/percona-xtrabackup-bin-2.4.13.ebuild [new file with mode: 0644]

index 035bb7c8e3a8d4bca7fb570badb990ae06aeb32e..c2905b8e589122c6838a445903c9af1a214a4733 100644 (file)
@@ -2,3 +2,5 @@ DIST percona-xtrabackup-2.4.11-Linux-i686.libgcrypt20.tar.gz 85158090 BLAKE2B 3d
 DIST percona-xtrabackup-2.4.11-Linux-x86_64.libgcrypt20.tar.gz 87975988 BLAKE2B 850b06d3e063b2884f0731ada7ad20e09816e38f60ee5eef2b1150c2b1f0cd59082d26fa026bf7e80ccebdf6b513ab8af6c7d228ade96d532ef41a74490093e9 SHA512 dc412e3ad65a5d3aed6053e107a79094760b868f008171c9aaee190c97e666a38716b0c7d3e7f3db74eecff98b35c114be29114d50630f554a0c2cb0b1b71cfe
 DIST percona-xtrabackup-2.4.12-Linux-i686.libgcrypt20.tar.gz 85181957 BLAKE2B b066ff9efa8c57829a441c2e416ac1eeeff60cb0839ccdab4cd685bff9b2ead552ba9b7105541e0a824ca8aaeeb47d89d66180fe428842470c4743dfd149f31d SHA512 adbaae8ad3347e15b13fe360dd5d4721330d6b17e75696128dfe770d03ad85056abeb861ffcbfe1d08020c8b9d726dd9e5650f63b7199804fe4d3cd9806debe2
 DIST percona-xtrabackup-2.4.12-Linux-x86_64.libgcrypt20.tar.gz 87975175 BLAKE2B b21ab8dd4fac27ae8c731b5fbd816dfc39572bc52a9273255a4c89ddf99ee490cc66ed4f92945b18f4ec58e731ae036a16e08674cb9837544ca5150cb6b91c7b SHA512 355b9f7f052a1242e502ddcbdc26cb931d16366be4db405730a2bb04de3030e0d0e6d4d15eb87f68fe232648dd435c85505a6d895b7c27b3baea0cb851214766
+DIST percona-xtrabackup-2.4.13-Linux-i686.libgcrypt20.tar.gz 85192746 BLAKE2B 7df4fee162587830a19499cd692d5e81ba67bb445ad0bea7bb93a9857bae5e4671740d01b817b6d04043abfd436ef88e0983dc7ab80d5d20426d9c05b470c79e SHA512 c2fa43aa4654cfcf06aa47ee20ee48e9b725aa3b0514419c5af5872d7ed37a971d5afe5aa4dc9475cf4d0738354a0ec35e6dd97a24ec00b2330465e94bafb365
+DIST percona-xtrabackup-2.4.13-Linux-x86_64.libgcrypt20.tar.gz 87985226 BLAKE2B 937518b96d948098f2026397947250fbe4952752cf6f83fee5fdda4031564916bbfa07cd77a5db5db16150d446593b52fd82d6ee919ceb9fb0fb41de2f6ca631 SHA512 824ad9e94c38d51291afa1c9f1b9114c88c2b777ac9e5eb41a523463355521233b682920940084f8771820ccad6bd2a9ca280f6397eebd99ca26995712e68007
diff --git a/dev-db/percona-xtrabackup-bin/percona-xtrabackup-bin-2.4.13.ebuild b/dev-db/percona-xtrabackup-bin/percona-xtrabackup-bin-2.4.13.ebuild
new file mode 100644 (file)
index 0000000..791c5b0
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PN="${PN%-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="MySQL hot backup software. non-blocking backups for InnoDB/XtraDB databases"
+HOMEPAGE="https://www.percona.com/software/percona-xtrabackup"
+SRC_URI="
+       amd64? (
+               https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-x86_64.libgcrypt20.tar.gz
+       )
+       x86? (
+               https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-i686.libgcrypt20.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:0/20
+       dev-libs/libgpg-error
+       dev-perl/DBD-mysql
+       sys-libs/zlib
+       sys-process/numactl
+       !dev-db/percona-xtrabackup"
+
+QA_PREBUILT="usr/bin/*"
+
+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"
+}