aboutsummaryrefslogtreecommitdiffstats
path: root/databases/xtrabackup
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-12-07 02:09:21 +0800
committerpi <pi@FreeBSD.org>2014-12-07 02:09:21 +0800
commit6369ddc93bb86495ca955c339400c6c6e93fa8d2 (patch)
tree785fd00d71b2e6e760fb0a1858da6fb2d0f70b9d /databases/xtrabackup
parentfcc260e39b4a763d61d0119f4dd83a1ff6b2f7e3 (diff)
downloadfreebsd-ports-gnome-6369ddc93bb86495ca955c339400c6c6e93fa8d2.tar.gz
freebsd-ports-gnome-6369ddc93bb86495ca955c339400c6c6e93fa8d2.tar.zst
freebsd-ports-gnome-6369ddc93bb86495ca955c339400c6c6e93fa8d2.zip
databases/xtrabackup: 2.1.7 -> 2.2.6
http://www.percona.com/doc/percona-xtrabackup/2.2/release-notes.html PR: 195164 Approved by: maintainer (timeout)
Diffstat (limited to 'databases/xtrabackup')
-rw-r--r--databases/xtrabackup/Makefile27
-rw-r--r--databases/xtrabackup/distinfo4
-rw-r--r--databases/xtrabackup/files/patch-build.sh10
-rw-r--r--databases/xtrabackup/files/patch-cmake-install_layout.cmake11
-rw-r--r--databases/xtrabackup/files/patch-include-my_global.h12
-rw-r--r--databases/xtrabackup/files/patch-innodb56.patch17
6 files changed, 29 insertions, 52 deletions
diff --git a/databases/xtrabackup/Makefile b/databases/xtrabackup/Makefile
index 7cb6154a0a21..f11f60832b63 100644
--- a/databases/xtrabackup/Makefile
+++ b/databases/xtrabackup/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= xtrabackup
-PORTVERSION= 2.1.7
-PORTREVISION= 1
+PORTVERSION= 2.2.6
CATEGORIES= databases
-MASTER_SITES= http://www.percona.com/downloads/XtraBackup/XtraBackup-${PORTVERSION}/source/
+MASTER_SITES= http://www.percona.com/redir/downloads/XtraBackup/LATEST/source/tarball/
DISTNAME= percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DISTFILES= percona-xtrabackup-${PORTVERSION}.tar.gz
EXTRACT_ONLY= percona-xtrabackup-${PORTVERSION}.tar.gz
@@ -18,7 +17,6 @@ LICENSE= GPLv2
# quilt is required by build.sh
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
cmake:${PORTSDIR}/devel/cmake \
- quilt:${PORTSDIR}/devel/quilt \
bison:${PORTSDIR}/devel/bison
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error
@@ -26,28 +24,11 @@ RUN_DEPENDS= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
qpress:${PORTSDIR}/archivers/qpress
# autotool is in use for 5.1 builds
-USES= autoreconf:build gettext gmake iconv libtool perl5
+USES= autoreconf:build gettext cmake iconv libtool perl5
-PLIST_FILES= bin/xtrabackup bin/xtrabackup_55 bin/xtrabackup_56 bin/xbstream \
- bin/innobackupex bin/xbcrypt
+PLIST_FILES= bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt
pre-build:
${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC}
-do-build:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb55)
- ${CP} ${WRKSRC}/src/xtrabackup_55 ${WRKSRC}
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh innodb56)
- ${CP} ${WRKSRC}/src/xtrabackup_56 ${WRKSRC}
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb)
- ${CP} ${WRKSRC}/src/xtrabackup ${WRKSRC}
-
-do-install:
- ${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
-
.include <bsd.port.mk>
diff --git a/databases/xtrabackup/distinfo b/databases/xtrabackup/distinfo
index a0074e2d69fc..996b0ec68133 100644
--- a/databases/xtrabackup/distinfo
+++ b/databases/xtrabackup/distinfo
@@ -1,2 +1,2 @@
-SHA256 (percona-xtrabackup-2.1.7.tar.gz) = b0a89dd805fe25d1fd00c3f84b43d59e88173a19e2075d444a116118e2623587
-SIZE (percona-xtrabackup-2.1.7.tar.gz) = 131538555
+SHA256 (percona-xtrabackup-2.2.6.tar.gz) = c5f42fbc406195e6de306b23a86f2d18283d3e086b9c1f4e8722635fd55e0b1d
+SIZE (percona-xtrabackup-2.2.6.tar.gz) = 34656899
diff --git a/databases/xtrabackup/files/patch-build.sh b/databases/xtrabackup/files/patch-build.sh
deleted file mode 100644
index 9548be0c357a..000000000000
--- a/databases/xtrabackup/files/patch-build.sh
+++ /dev/null
@@ -1,10 +0,0 @@
---- utils/build.sh 2013-08-01 15:26:37.000000000 +0200
-+++ utils/build.sh 2013-08-13 08:52:57.520334456 +0200
-@@ -289,6 +289,7 @@
- -DWITH_EXTRA_CHARSETS=all \
- -DWITH_EMBEDDED_SERVER=1 \
- -DENABLE_DTRACE=OFF $extra_config_55plus"
-+ export LIBS=-lcrypt
- build_all $type
- ;;
-
diff --git a/databases/xtrabackup/files/patch-cmake-install_layout.cmake b/databases/xtrabackup/files/patch-cmake-install_layout.cmake
new file mode 100644
index 000000000000..d2d9776cea76
--- /dev/null
+++ b/databases/xtrabackup/files/patch-cmake-install_layout.cmake
@@ -0,0 +1,11 @@
+--- cmake/install_layout.cmake.orig 2014-11-19 12:37:46.000000000 +0100
++++ cmake/install_layout.cmake 2014-11-19 12:38:08.000000000 +0100
+@@ -114,7 +114,7 @@
+ #
+ SET(INSTALL_SHAREDIR_STANDALONE "share")
+ SET(INSTALL_MYSQLSHAREDIR_STANDALONE "share")
+-SET(INSTALL_MYSQLTESTDIR_STANDALONE "xtrabackup-test")
++# SET(INSTALL_MYSQLTESTDIR_STANDALONE "xtrabackup-test")
+ SET(INSTALL_SQLBENCHDIR_STANDALONE ".")
+ SET(INSTALL_SUPPORTFILESDIR_STANDALONE "support-files")
+ #
diff --git a/databases/xtrabackup/files/patch-include-my_global.h b/databases/xtrabackup/files/patch-include-my_global.h
new file mode 100644
index 000000000000..f1432d427722
--- /dev/null
+++ b/databases/xtrabackup/files/patch-include-my_global.h
@@ -0,0 +1,12 @@
+--- include/my_global.h.orig 2014-11-19 12:34:01.000000000 +0100
++++ include/my_global.h 2014-11-19 12:34:39.000000000 +0100
+@@ -333,9 +333,6 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
+-#ifdef HAVE_SYS_TIMEB_H
+-#include <sys/timeb.h> /* Avoid warnings on SCO */
+-#endif
+ #if TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
diff --git a/databases/xtrabackup/files/patch-innodb56.patch b/databases/xtrabackup/files/patch-innodb56.patch
deleted file mode 100644
index fda30898422c..000000000000
--- a/databases/xtrabackup/files/patch-innodb56.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- 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
-+