Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2014 18:09:22 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374122 - in head/databases/xtrabackup: . files
Message-ID:  <201412061809.sB6I9Mio041251@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Dec  6 18:09:21 2014
New Revision: 374122
URL: https://svnweb.freebsd.org/changeset/ports/374122
QAT: https://qat.redports.org/buildarchive/r374122/

Log:
  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)

Added:
  head/databases/xtrabackup/files/patch-cmake-install_layout.cmake   (contents, props changed)
  head/databases/xtrabackup/files/patch-include-my_global.h   (contents, props changed)
Deleted:
  head/databases/xtrabackup/files/patch-build.sh
  head/databases/xtrabackup/files/patch-innodb56.patch
Modified:
  head/databases/xtrabackup/Makefile
  head/databases/xtrabackup/distinfo

Modified: head/databases/xtrabackup/Makefile
==============================================================================
--- head/databases/xtrabackup/Makefile	Sat Dec  6 17:13:15 2014	(r374121)
+++ head/databases/xtrabackup/Makefile	Sat Dec  6 18:09:21 2014	(r374122)
@@ -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}
 		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>

Modified: head/databases/xtrabackup/distinfo
==============================================================================
--- head/databases/xtrabackup/distinfo	Sat Dec  6 17:13:15 2014	(r374121)
+++ head/databases/xtrabackup/distinfo	Sat Dec  6 18:09:21 2014	(r374122)
@@ -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

Added: head/databases/xtrabackup/files/patch-cmake-install_layout.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/xtrabackup/files/patch-cmake-install_layout.cmake	Sat Dec  6 18:09:21 2014	(r374122)
@@ -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")
+ #

Added: head/databases/xtrabackup/files/patch-include-my_global.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/xtrabackup/files/patch-include-my_global.h	Sat Dec  6 18:09:21 2014	(r374122)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412061809.sB6I9Mio041251>