Bug 170018 - [PATCH] databases/xtrabackup: update to 2.0.1
Summary: [PATCH] databases/xtrabackup: update to 2.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 09:30 UTC by Oleksii Samorukov
Modified: 2012-07-28 09:50 UTC (History)
1 user (show)

See Also:


Attachments
xtrabackup-2.0.1.patch (5.01 KB, patch)
2012-07-20 09:30 UTC, Oleksii Samorukov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Samorukov freebsd_committer freebsd_triage 2012-07-20 09:30:09 UTC
- Update to 2.0.1

Port maintainer (aleksandr.kuzminsky@percona.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_4 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-20 09:30:23 UTC
Maintainer of databases/xtrabackup,

Please note that PR ports/170018 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170018

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-20 09:30:26 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Oleksii Samorukov freebsd_committer freebsd_triage 2012-07-20 09:46:47 UTC
I just found that MySQL 5.5.17 is not required to build xtrabackup. 
Updated Makefile and distinfo (please, use to commit):

http://redports.org/export/5245/samm/databases/xtrabackup/Makefile
http://redports.org/export/5245/samm/databases/xtrabackup/distinfo
Comment 4 Aleksandr Kuzminsky 2012-07-26 19:38:44 UTC
On 20.07.2012 11:30, Edwin Groothuis wrote:
> Maintainer of databases/xtrabackup,
>
> Please note that PR ports/170018 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.


I approve the patch.
Thank you



-- 
Skype: aleksandr.kuzminsky
Mobile: +380 97 331 12 35
Calendar: http://tungle.me/akuzminsky

Percona training coming soon to
Dallas, London, Orlando, Raleigh, Boston, & Chicago!
http://www.percona.com/training/
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2012-07-26 21:33:51 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 6 Florian Smeets freebsd_committer freebsd_triage 2012-07-26 23:33:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

I'll take it.
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-07-27 15:45:25 UTC
Author: flo
Date: Fri Jul 27 14:45:10 2012
New Revision: 301620
URL: http://svn.freebsd.org/changeset/ports/301620

Log:
  Update to 2.0.1
  
  PR:		ports/170018
  Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
  Approved by:	maintainer

Modified:
  head/databases/xtrabackup/Makefile   (contents, props changed)
  head/databases/xtrabackup/distinfo   (contents, props changed)

Modified: head/databases/xtrabackup/Makefile
==============================================================================
--- head/databases/xtrabackup/Makefile	Fri Jul 27 14:21:06 2012	(r301619)
+++ head/databases/xtrabackup/Makefile	Fri Jul 27 14:45:10 2012	(r301620)
@@ -6,19 +6,20 @@
 #
 
 PORTNAME=	xtrabackup
-PORTVERSION=	1.6.6
+PORTVERSION=	2.0.1
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_MYSQL_GRP} \
 		http://downloads.skysql.com/archives/mysql-5.5/:mysql55 \
 		http://downloads.mysql.com/archives/mysql-5.5/:mysql55 \
-		http://www.percona.com/downloads/%SUBDIR%/:xtrabackup,libtar,percsrc51,percsrc55 \
-		http://samm.kiev.ua/percona/:percsrc51,percsrc55 \
-		ftp://ftp.feep.net/pub/software/libtar/:libtar
+		http://www.percona.com/downloads/%SUBDIR%/:xtrabackup,percsrc51,percsrc55 \
+		http://samm.kiev.ua/percona/:percsrc51,percsrc55
+DISTNAME=	percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
 DISTFILES=	mysql-${MYSQL51_SRCVER}.tar.gz:mysql51 mysql-${MYSQL55_SRCVER}.tar.gz:mysql55 \
-		xtrabackup-${PORTVERSION}.tar.gz:xtrabackup libtar-1.2.11.tar.gz:libtar \
+		mysql-${MYSQL55PERCONA_SRCVER}.tar.gz:mysql55 \
+		percona-xtrabackup-${PORTVERSION}.tar.gz:xtrabackup \
 		Percona-Server-5.1.59-13.0-patches.tar.gz:percsrc51 \
 		Percona-Server-5.5.16-22.0-patches.tar.gz:percsrc55
-EXTRACT_ONLY=	xtrabackup-${PORTVERSION}.tar.gz
+EXTRACT_ONLY=	percona-xtrabackup-${PORTVERSION}.tar.gz
 
 MAINTAINER=	aleksandr.kuzminsky@percona.com
 COMMENT=	OpenSource version of InnoDB backup with support of Percona extensions
@@ -37,34 +38,39 @@ USE_AUTOTOOLS=	automake autoheader autoc
 
 # use MASTER_SITE_MYSQL for the MySQL 5.1
 MASTER_SITE_MYSQL_GRP=	${MASTER_SITE_MYSQL:S@%SUBDIR%/@%SUBDIR%/:mysql51@g}
-MASTER_SITE_SUBDIR=	MySQL-5.1/:mysql51 community/:libtar \
+MASTER_SITE_SUBDIR=	MySQL-5.1/:mysql51 \
 	XtraBackup/XtraBackup-${PORTVERSION}/source/:xtrabackup \
 	Percona-Server-5.1/Percona-Server-5.1.59-13.0/source/:percsrc51 \
 	Percona-Server-5.5/Percona-Server-5.5.16-22.0/source/:percsrc55
 
 # port needs MySQL sources to build
-MYSQL51_SRCVER=5.1.59
-MYSQL55_SRCVER=5.5.16
+MYSQL51_SRCVER=		5.1.59
+MYSQL55_SRCVER=		5.5.17
+MYSQL55PERCONA_SRCVER=	5.5.16
 
-PLIST_FILES=	bin/xtrabackup bin/xtrabackup_51 bin/xtrabackup_55 bin/tar4ibd bin/innobackupex
+PLIST_FILES=	bin/xtrabackup bin/xtrabackup_51 bin/xtrabackup_55 bin/xbstream bin/innobackupex
 
 pre-build:
-	${CP} ${DISTDIR}/xtrabackup-${PORTVERSION}.tar.gz ${DISTDIR}/libtar-1.2.11.tar.gz \
+	${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz \
 	${DISTDIR}/mysql-${MYSQL51_SRCVER}.tar.gz ${DISTDIR}/mysql-${MYSQL55_SRCVER}.tar.gz \
+	${DISTDIR}/mysql-${MYSQL55PERCONA_SRCVER}.tar.gz \
 	${DISTDIR}/Percona-Server-5.1.59-13.0-patches.tar.gz \
 	${DISTDIR}/Percona-Server-5.5.16-22.0-patches.tar.gz ${WRKSRC}
 
 do-build:
 	cd ${WRKSRC} && ./utils/build.sh 5.1
+	${CP} ${WRKSRC}/src/xtrabackup_51 ${WRKSRC}/src/xbstream ${WRKSRC}
 	cd ${WRKSRC} && ./utils/build.sh xtradb
+	${CP} ${WRKSRC}/src/xtrabackup ${WRKSRC}
 	cd ${WRKSRC} && ./utils/build.sh xtradb55
+	${CP} ${WRKSRC}/src/xtrabackup_55 ${WRKSRC}
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/Percona-Server/storage/innodb_plugin/xtrabackup/xtrabackup ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/Percona-Server-5.5/storage/innobase/xtrabackup/xtrabackup_55 ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/mysql-5.1/storage/innobase/xtrabackup/xtrabackup_51 ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_55 ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_51 ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/xbstream ${PREFIX}/bin
 	@${INSTALL_SCRIPT} ${WRKSRC}/innobackupex ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${PREFIX}/bin
 
 # autoconf is running by build.sh
 do-configure:

Modified: head/databases/xtrabackup/distinfo
==============================================================================
--- head/databases/xtrabackup/distinfo	Fri Jul 27 14:21:06 2012	(r301619)
+++ head/databases/xtrabackup/distinfo	Fri Jul 27 14:45:10 2012	(r301620)
@@ -1,11 +1,11 @@
 SHA256 (mysql-5.1.59.tar.gz) = f87b99b73c0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7
 SIZE (mysql-5.1.59.tar.gz) = 24325443
+SHA256 (mysql-5.5.17.tar.gz) = 8b3c66d7ddb2c5b5fcda28964c1fcd83128d1d48efd7fb2b23338819a50911f1
+SIZE (mysql-5.5.17.tar.gz) = 24213337
 SHA256 (mysql-5.5.16.tar.gz) = 38a88d5f3a4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70
 SIZE (mysql-5.5.16.tar.gz) = 23816508
-SHA256 (xtrabackup-1.6.6.tar.gz) = 66760a9e7332ff59d903229e2bb34555a2474cc0dd4e3bd844f6a344296d8d69
-SIZE (xtrabackup-1.6.6.tar.gz) = 1236531
-SHA256 (libtar-1.2.11.tar.gz) = 4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8
-SIZE (libtar-1.2.11.tar.gz) = 145354
+SHA256 (percona-xtrabackup-2.0.1.tar.gz) = 975e18d5e9f8e28cc64e65971f813cd4ac9bd871a9b9329905b0c9ad7311222f
+SIZE (percona-xtrabackup-2.0.1.tar.gz) = 11168048
 SHA256 (Percona-Server-5.1.59-13.0-patches.tar.gz) = 76f9398d1637c9cfc1b64e35cd272b70ddc71cfb6f00abd2fe6e62918fa920b5
 SIZE (Percona-Server-5.1.59-13.0-patches.tar.gz) = 1203994
 SHA256 (Percona-Server-5.5.16-22.0-patches.tar.gz) = 30d14443027cbcef4266385adfeb385af62cf5551ca044ae83539673497be4be
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 Florian Smeets freebsd_committer freebsd_triage 2012-07-27 15:45:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 9 dfilter service freebsd_committer freebsd_triage 2012-07-28 09:44:43 UTC
Author: flo
Date: Sat Jul 28 08:44:29 2012
New Revision: 301639
URL: http://svn.freebsd.org/changeset/ports/301639

Log:
  This file is not required to build xtrabackup. This was the latest version of
  the patch in the PR which I missed because it was included as URLs not as diffs.
  
  PR:		ports/170018
  Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
  Approved by:	maintainer

Modified:
  head/databases/xtrabackup/Makefile
  head/databases/xtrabackup/distinfo

Modified: head/databases/xtrabackup/Makefile
==============================================================================
--- head/databases/xtrabackup/Makefile	Sat Jul 28 08:42:56 2012	(r301638)
+++ head/databases/xtrabackup/Makefile	Sat Jul 28 08:44:29 2012	(r301639)
@@ -15,7 +15,6 @@ MASTER_SITES=	${MASTER_SITE_MYSQL_GRP} \
 		http://samm.kiev.ua/percona/:percsrc51,percsrc55
 DISTNAME=	percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
 DISTFILES=	mysql-${MYSQL51_SRCVER}.tar.gz:mysql51 mysql-${MYSQL55_SRCVER}.tar.gz:mysql55 \
-		mysql-${MYSQL55PERCONA_SRCVER}.tar.gz:mysql55 \
 		percona-xtrabackup-${PORTVERSION}.tar.gz:xtrabackup \
 		Percona-Server-5.1.59-13.0-patches.tar.gz:percsrc51 \
 		Percona-Server-5.5.16-22.0-patches.tar.gz:percsrc55
@@ -45,15 +44,13 @@ MASTER_SITE_SUBDIR=	MySQL-5.1/:mysql51 \
 
 # port needs MySQL sources to build
 MYSQL51_SRCVER=		5.1.59
-MYSQL55_SRCVER=		5.5.17
-MYSQL55PERCONA_SRCVER=	5.5.16
+MYSQL55_SRCVER=		5.5.16
 
 PLIST_FILES=	bin/xtrabackup bin/xtrabackup_51 bin/xtrabackup_55 bin/xbstream bin/innobackupex
 
 pre-build:
 	${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz \
 	${DISTDIR}/mysql-${MYSQL51_SRCVER}.tar.gz ${DISTDIR}/mysql-${MYSQL55_SRCVER}.tar.gz \
-	${DISTDIR}/mysql-${MYSQL55PERCONA_SRCVER}.tar.gz \
 	${DISTDIR}/Percona-Server-5.1.59-13.0-patches.tar.gz \
 	${DISTDIR}/Percona-Server-5.5.16-22.0-patches.tar.gz ${WRKSRC}
 

Modified: head/databases/xtrabackup/distinfo
==============================================================================
--- head/databases/xtrabackup/distinfo	Sat Jul 28 08:42:56 2012	(r301638)
+++ head/databases/xtrabackup/distinfo	Sat Jul 28 08:44:29 2012	(r301639)
@@ -1,7 +1,5 @@
 SHA256 (mysql-5.1.59.tar.gz) = f87b99b73c0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7
 SIZE (mysql-5.1.59.tar.gz) = 24325443
-SHA256 (mysql-5.5.17.tar.gz) = 8b3c66d7ddb2c5b5fcda28964c1fcd83128d1d48efd7fb2b23338819a50911f1
-SIZE (mysql-5.5.17.tar.gz) = 24213337
 SHA256 (mysql-5.5.16.tar.gz) = 38a88d5f3a4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70
 SIZE (mysql-5.5.16.tar.gz) = 23816508
 SHA256 (percona-xtrabackup-2.0.1.tar.gz) = 975e18d5e9f8e28cc64e65971f813cd4ac9bd871a9b9329905b0c9ad7311222f
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"