diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-21 14:00:36 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-21 14:28:41 +0000 |
commit | c49e67b06aeba81a5c9154bf9e41b793d9e6608e (patch) | |
tree | 2a33e649a37c36c6e26bacb89edec6260c85f75f /unmaintained | |
parent | 7a80f43f38f34c97e5c4e484146a3ac1e034da35 (diff) | |
download | aports-c49e67b06aeba81a5c9154bf9e41b793d9e6608e.tar.bz2 aports-c49e67b06aeba81a5c9154bf9e41b793d9e6608e.tar.xz |
unmaintained/xtrabackup: moved from main
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/xtrabackup/APKBUILD | 47 | ||||
-rw-r--r-- | unmaintained/xtrabackup/Werror.patch | 11 |
2 files changed, 58 insertions, 0 deletions
diff --git a/unmaintained/xtrabackup/APKBUILD b/unmaintained/xtrabackup/APKBUILD new file mode 100644 index 0000000000..acbf9b7ed5 --- /dev/null +++ b/unmaintained/xtrabackup/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> +# Maintainer: + +pkgname=xtrabackup +pkgver=2.1.8 +pkgrel=0 +pkgdesc='MySQL non-blocking backup solution for InnoDB and XtraDB data' +arch=all +url='http://www.percona.com/software/percona-xtrabackup/' +license='GPL' +makedepends='bash bison cmake ncurses-dev libaio-dev libgcrypt-dev + py-setuptools py-sphinx zlib-dev' +source="http://percona.com/redir/downloads/XtraBackup/XtraBackup-$pkgver/source/percona-xtrabackup-$pkgver.tar.gz + Werror.patch + " + +prepare() { + cd "$srcdir"/percona-xtrabackup-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$srcdir"/percona-xtrabackup-$pkgver + utils/build.sh innodb55 || return 1 +} + +package() { + cd "$srcdir"/percona-xtrabackup-$pkgver + + install -D innobackupex "$pkgdir"/usr/bin/innobackupex + install -D src/xtrabackup_55 "$pkgdir"/usr/bin/xtrabackup_55 + install -D src/xbcrypt "$pkgdir"/usr/bin/xbcrypt + install -D src/xtrabackup_innodb55 "$pkgdir"/usr/bin/xbstream + + ln -s /usr/bin/xtrabackup_55 "$pkgdir"/usr/bin/xtrabackup +} + +md5sums="c36df9d65e07b292e1e63372d8a4bdec percona-xtrabackup-2.1.8.tar.gz +fe4760511ec877b2756db8581fad60c5 Werror.patch" +sha256sums="2a397372aaa42228b48e74b89c41265d0b0c4be815069a86feb855bc8fbf2ffa percona-xtrabackup-2.1.8.tar.gz +12e8154a84c28dd32895001ffbd0171f6d6c1a12b803dc69c51dd55a848c13d7 Werror.patch" +sha512sums="f2c22575fa789335f08e8d0fab493305864ca6c01ecf7078620f0ac676348287de908304975ba81a66cb91bdf3604b50d65d84ac7073d420feada72d34fc8cd4 percona-xtrabackup-2.1.8.tar.gz +99a1b7fc935b2779ce52401de68f9218c55e43a4ffebbfe8c47c384b4847e4690cbb7cf349ba47b5c2b6d4bf53db231fa74d77b3bdd83d043a7aefdf6edac2d9 Werror.patch" diff --git a/unmaintained/xtrabackup/Werror.patch b/unmaintained/xtrabackup/Werror.patch new file mode 100644 index 0000000000..ae94f09878 --- /dev/null +++ b/unmaintained/xtrabackup/Werror.patch @@ -0,0 +1,11 @@ +--- ./src/libarchive/CMakeLists.txt.orig ++++ ./src/libarchive/CMakeLists.txt +@@ -843,7 +843,7 @@ + # aggressive about diagnosing build problems; this can get + # relaxed somewhat in final shipping versions. + IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$") +- ADD_DEFINITIONS(-Wall -Werror) ++ ADD_DEFINITIONS(-Wall) + ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$") + + IF(ENABLE_TEST) |