- update to 2.1.7

- support staging

PR:		186759
Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
Approved by:	Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-18 20:58:11 +00:00
parent 048376968b
commit 3888ae5cb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344957
3 changed files with 30 additions and 14 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xtrabackup
PORTVERSION= 2.1.4
PORTVERSION= 2.1.7
CATEGORIES= databases
MASTER_SITES= http://www.percona.com/downloads/%SUBDIR%/
DISTNAME= percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@ -33,25 +33,24 @@ MASTER_SITE_SUBDIR= XtraBackup/XtraBackup-${PORTVERSION}/source/
PLIST_FILES= bin/xtrabackup bin/xtrabackup_55 bin/xtrabackup_56 bin/xbstream \
bin/innobackupex bin/xbcrypt
NO_STAGE= yes
pre-build:
${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC}
do-build:
cd ${WRKSRC} && ./utils/build.sh xtradb55
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb55)
${CP} ${WRKSRC}/src/xtrabackup_55 ${WRKSRC}
cd ${WRKSRC} && ./utils/build.sh innodb56
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh innodb56)
${CP} ${WRKSRC}/src/xtrabackup_56 ${WRKSRC}
cd ${WRKSRC} && ./utils/build.sh xtradb
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb)
${CP} ${WRKSRC}/src/xtrabackup ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_55 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_56 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xbstream ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xbcrypt ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/innobackupex ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_55 ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_56 ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xbstream ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xbcrypt ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/innobackupex ${STAGEDIR}${PREFIX}/bin
# autoconf is running by build.sh
do-configure:

View file

@ -1,2 +1,2 @@
SHA256 (percona-xtrabackup-2.1.4.tar.gz) = bb0d99915458635d4f852f89412417edb7928755f76ec5a9219e67af8eadada7
SIZE (percona-xtrabackup-2.1.4.tar.gz) = 137107631
SHA256 (percona-xtrabackup-2.1.7.tar.gz) = b0a89dd805fe25d1fd00c3f84b43d59e88173a19e2075d444a116118e2623587
SIZE (percona-xtrabackup-2.1.7.tar.gz) = 131538555

View file

@ -0,0 +1,17 @@
--- patches/innodb56.patch 2014-01-23 15:59:36.000000000 +0100
+++ patches/innodb56.patch 2014-02-18 10:50:05.000000000 +0100
@@ -2687,3 +2687,14 @@
/*********************************************************************//**
Wrapper around MySQL's copy_and_convert function.
@return number of bytes copied to 'to' */
+--- a/extra/yassl/taocrypt/include/misc.hpp
++++ b/extra/yassl/taocrypt/include/misc.hpp
+@@ -124,7 +124,7 @@
+
+
+ // no gas on these systems ?, disable for now
+-#if defined(__sun__) || defined (__APPLE__)
++#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
+ #define TAOCRYPT_DISABLE_X86ASM
+ #endif
+