From 7fb67b6ab97ef6d96db27e05fc090cf5a4203691 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 16 Nov 2013 18:29:16 +0100 Subject: system/percona-xtrabackup: Updated for version 2.1.5. Signed-off-by: Heinz Wiesinger --- system/percona-xtrabackup/percona-xtrabackup.SlackBuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'system/percona-xtrabackup/percona-xtrabackup.SlackBuild') 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 -- cgit v1.2.3