From e34c6c3b36d4abb508283dfbf9c2085636397b83 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 11 Dec 2019 19:20:24 +0000 Subject: [PATCH] community/xtrabackup to 8.0.8-1 --- community/xtrabackup/PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/community/xtrabackup/PKGBUILD b/community/xtrabackup/PKGBUILD index b73ae1ea2..a580f026d 100644 --- a/community/xtrabackup/PKGBUILD +++ b/community/xtrabackup/PKGBUILD @@ -5,20 +5,21 @@ # - remove dependency on numactl pkgname=xtrabackup -pkgver=8.0.7 -#_boost_ver=1.68.0 +pkgver=8.0.8 +_boostver=1.70.0 pkgrel=1 pkgdesc='Non-blocking backup tool for MySQL' arch=('x86_64') url='https://www.percona.com/software/mysql-database/percona-xtrabackup' license=('GPL') -depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql' 'boost-libs') -makedepends=('cmake' 'python-sphinx' 'zlib' 'vim' 'libedit' 'libevent' 'protobuf' 're2' 'boost') +depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql') +makedepends=('cmake' 'python-sphinx' 'zlib' 'vim' 'libedit' 'libevent' 'protobuf' 're2') optdepends=('qpress: for compressed backups') -source=("https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-${pkgver%.*}-${pkgver##*.}/source/tarball/percona-xtrabackup-$pkgver.tar.gz") -# "https://jenkins.percona.com/downloads/boost/boost_${_boost_ver//./_}.tar.gz") +source=("https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-${pkgver%.*}-${pkgver##*.}/source/tarball/percona-xtrabackup-$pkgver.tar.gz" + "https://dl.bintray.com/boostorg/release/${_boostver}/source/boost_${_boostver//./_}.tar.bz2") -sha256sums=('a24c691f0a3e73a8acdc809bed9f2bd07f8370d9cfd05cf3e26e189da9f53ce2') +sha256sums=('f03f818f307d93afe33b48141c4a9f5bfbbb1bc43a7fe0910b221d7bc8368cfa' + '430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778') build() { mkdir build cd build @@ -37,7 +38,7 @@ build() { -DINSTALL_PLUGINDIR="/usr/lib/xtrabackup/plugin" \ -DINSTALL_MANDIR="/usr/share/man" \ -DINSTALL_STATIC_LIBRARIES=OFF \ - -DWITH_BOOST=system \ + -DWITH_BOOST="../boost_${_boostver//./_}" \ ../percona-xtrabackup-$pkgver make } @@ -47,5 +48,9 @@ package() { make DESTDIR="$pkgdir" install cd "$pkgdir" - rm -rf usr/xtrabackup-test usr/lib/xtrabackup/plugin/debug + rm -rf usr/xtrabackup-test \ + usr/lib/xtrabackup/plugin/debug \ + usr/docs \ + usr/share/man/man8 \ + usr/share/man/man1/{c,i,m,l,p,z}* }