summaryrefslogtreecommitdiff
path: root/system/percona-xtrabackup
diff options
context:
space:
mode:
Diffstat (limited to 'system/percona-xtrabackup')
-rw-r--r--system/percona-xtrabackup/percona-xtrabackup.SlackBuild17
-rw-r--r--system/percona-xtrabackup/percona-xtrabackup.info8
2 files changed, 12 insertions, 13 deletions
diff --git a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
index 333e3b7b94..b9e37c5959 100644
--- a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
+++ b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for percona-xtrabackup
-# Copyright 2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=percona-xtrabackup
-VERSION=2.0.4
-PERCONA_VERSION=5.5.16-rel22.0
-BUILD=${BUILD:-2}
+VERSION=2.1.5
+PERCONA_VERSION=5.5.31-rel30.3
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,7 +63,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
rm -rf Percona-Server-$PERCONA_VERSION
-tar xvf $CWD/Percona-Server-$PERCONA_VERSION.tar.gz
+tar xvf $PRGNAM-$VERSION/Percona-Server-$PERCONA_VERSION.tar.gz
cd Percona-Server-$PERCONA_VERSION
chown -R root:root .
find . \
@@ -77,8 +77,8 @@ patch -p1 -i ../$PRGNAM-$VERSION/patches/xtradb55.patch
LIBS="-lrt" \
cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS -I$TMP/$PRGNAM-$VERSION/src" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS -I$TMP/$PRGNAM-$VERSION/src" \
-DENABLED_LOCAL_INFILE=ON \
-DWITH_INNOBASE_STORAGE_ENGINE=ON \
-DWITH_PARTITION_STORAGE_ENGINE=ON \
@@ -131,6 +131,7 @@ cd -
mkdir -p $PKG/usr/{bin,man/man1}
install -m 755 src/xtrabackup_55 $PKG/usr/bin/xtrabackup
install -m 755 src/xbstream $PKG/usr/bin/
+install -m 755 src/xbcrypt $PKG/usr/bin/
install -m 755 innobackupex $PKG/usr/bin/
install -m 644 doc/xtrabackup.1 $PKG/usr/man/man1/
@@ -143,7 +144,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUILD.txt COPYING VERSION \
+cp -a BUILD.txt COPYING REVNO VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/percona-xtrabackup/percona-xtrabackup.info b/system/percona-xtrabackup/percona-xtrabackup.info
index 6a17ce328f..e2b8be656b 100644
--- a/system/percona-xtrabackup/percona-xtrabackup.info
+++ b/system/percona-xtrabackup/percona-xtrabackup.info
@@ -1,10 +1,8 @@
PRGNAM="percona-xtrabackup"
-VERSION="2.0.4"
+VERSION="2.1.5"
HOMEPAGE="http://www.percona.com/software/percona-xtrabackup"
-DOWNLOAD="http://www.percona.com/downloads/XtraBackup/XtraBackup-2.0.4/source/percona-xtrabackup-2.0.4.tar.gz \
- http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-5.5.16-22.0/source/Percona-Server-5.5.16-rel22.0.tar.gz"
-MD5SUM="95a93d7ab7f57bee8a37d306b8c74154 \
- cfc4523a7110f07c193391f3e73d59ae"
+DOWNLOAD="http://www.percona.com/downloads/XtraBackup/XtraBackup-2.1.5/source/percona-xtrabackup-2.1.5.tar.gz"
+MD5SUM="8782d736ecf7f0a702a8c053c4f9cdb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""