Bug 181255 - [PATCH] databases/xtrabackup: update to 2.1.4
Summary: [PATCH] databases/xtrabackup: update to 2.1.4
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 10:00 UTC by Oleksii Samorukov
Modified: 2013-08-13 13:20 UTC (History)
1 user (show)

See Also:


Attachments
xtrabackup-2.1.4.patch (6.38 KB, patch)
2013-08-13 10:00 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 2013-08-13 10:00:00 UTC
- Update to 2.1.4
- Remove references to MySQL download because now everything is inside tarball
- Add run dependency for qpress, used in with --decompress option

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

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-13 10:00:13 UTC
Maintainer of databases/xtrabackup,

Please note that PR ports/181255 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/181255

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-13 10:00:14 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Aleksandr Kuzminsky 2013-08-13 10:03:35 UTC
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 approved -----BEGIN PGP
SIGNATURE----- Version: GnuPG v2.0.17 (MingW32)
iEYEARECAAYFAlIJ9mgACgkQfXkOT/tT7S+kGQCgi6tDzbRT8pcDNoiLm0+SBsrF
u1sAnAh3+gMkw0iIhnLPzPtfM6jDCfmu =5AJy -----END PGP SIGNATURE-----


On Tue, Aug 13, 2013 at 12:00 PM, Edwin Groothuis <edwin@freebsd.org> wrote:

> Maintainer of databases/xtrabackup,
>
> Please note that PR ports/181255 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/181255
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>



-- 
Aleksandr Kuzminsky
Skype: aleksandr.kuzminsky
Phone: +1 919 599 6839
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-08-13 12:28:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-08-13 13:11:13 UTC
Author: wg
Date: Tue Aug 13 12:11:05 2013
New Revision: 324660
URL: http://svnweb.freebsd.org/changeset/ports/324660

Log:
  databases/xtrabackup: update to 2.1.4
  
  - Update to 2.1.4
  - Remove MySQL references (everything is now inside tarball)
  - Add qpress as run dependency for --decompress option
  
  PR:		ports/181255
  Submitted by:	Alex Samorukov <samm os2.kiev.ua> (maintainer)

Modified:
  head/databases/xtrabackup/Makefile
  head/databases/xtrabackup/distinfo
  head/databases/xtrabackup/files/patch-build.sh

Modified: head/databases/xtrabackup/Makefile
==============================================================================
--- head/databases/xtrabackup/Makefile	Tue Aug 13 11:59:54 2013	(r324659)
+++ head/databases/xtrabackup/Makefile	Tue Aug 13 12:11:05 2013	(r324660)
@@ -2,19 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	xtrabackup
-PORTVERSION=	2.1.3
-PORTREVISION=	1
+PORTVERSION=	2.1.4
 CATEGORIES=	databases
-MASTER_SITES=	http://downloads.skysql.com/archives/%SUBDIR%/:mysql51,mysql55,mysql56 \
-		http://downloads.mysql.com/archives/%SUBDIR%/:mysql51,mysql55,mysql56 \
-		http://www.percona.com/downloads/%SUBDIR%/:xtrabackup,percsrc51,percsrc55 \
-		http://samm.kiev.ua/percona/:percsrc51,percsrc55
+MASTER_SITES=	http://www.percona.com/downloads/%SUBDIR%/
 DISTNAME=	percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
-DISTFILES=	mysql-${MYSQL51_SRCVER}.tar.gz:mysql51 mysql-${MYSQL55_SRCVER}.tar.gz:mysql55 \
-		mysql-${MYSQL56_SRCVER}.tar.gz:mysql56 \
-		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
+DISTFILES=	percona-xtrabackup-${PORTVERSION}.tar.gz
 EXTRACT_ONLY=	percona-xtrabackup-${PORTVERSION}.tar.gz
 
 MAINTAINER=	aleksandr.kuzminsky@percona.com
@@ -28,35 +20,21 @@ BUILD_DEPENDS=	bash:${PORTSDIR}/shells/b
 		bison:${PORTSDIR}/devel/bison
 LIB_DEPENDS=	gcrypt:${PORTSDIR}/security/libgcrypt \
 		gpg-error:${PORTSDIR}/security/libgpg-error
-RUN_DEPENDS=	p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
+RUN_DEPENDS=	p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
+		qpress:${PORTSDIR}/archivers/qpress
 
 # autotool is in use for 5.1 builds
-MAKE_JOBS_SAFE=	yes
-USE_GMAKE=	yes
-USE_PERL5=	yes
 USE_AUTOTOOLS=	automake autoheader autoconf libtool aclocal
 # MySQL 5.5 using CMAKE
-USES=		cmake iconv gettext
+USES=		cmake iconv gettext gmake perl5
 
-MASTER_SITE_SUBDIR=	mysql-5.1/:mysql51 mysql-5.5/:mysql55 mysql-5.6/:mysql56 \
-	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
-MYSQL56_SRCVER=		5.6.10
+MASTER_SITE_SUBDIR=	XtraBackup/XtraBackup-${PORTVERSION}/source/
 
 PLIST_FILES=	bin/xtrabackup bin/xtrabackup_55 bin/xtrabackup_56 bin/xbstream \
 	bin/innobackupex bin/xbcrypt
 
 pre-build:
-	${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz \
-	${DISTDIR}/mysql-${MYSQL51_SRCVER}.tar.gz ${DISTDIR}/mysql-${MYSQL55_SRCVER}.tar.gz \
-	${DISTDIR}/mysql-${MYSQL56_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}
+	${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC}
 
 do-build:
 	cd ${WRKSRC} && ./utils/build.sh xtradb55

Modified: head/databases/xtrabackup/distinfo
==============================================================================
--- head/databases/xtrabackup/distinfo	Tue Aug 13 11:59:54 2013	(r324659)
+++ head/databases/xtrabackup/distinfo	Tue Aug 13 12:11:05 2013	(r324660)
@@ -1,12 +1,2 @@
-SHA256 (mysql-5.1.59.tar.gz) = f87b99b73c0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7
-SIZE (mysql-5.1.59.tar.gz) = 24325443
-SHA256 (mysql-5.5.16.tar.gz) = 38a88d5f3a4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70
-SIZE (mysql-5.5.16.tar.gz) = 23816508
-SHA256 (mysql-5.6.10.tar.gz) = 156c43a7bde1ada8552938c6b8f46162b568bca8ddb76998a645308d93fb70b6
-SIZE (mysql-5.6.10.tar.gz) = 35174149
-SHA256 (percona-xtrabackup-2.1.3.tar.gz) = 10c089ac0ad90ac9fc868a36577ba02c6f6b4a488dac716fc4ecb81c107a21d8
-SIZE (percona-xtrabackup-2.1.3.tar.gz) = 11267387
-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
-SIZE (Percona-Server-5.5.16-22.0-patches.tar.gz) = 1141266
+SHA256 (percona-xtrabackup-2.1.4.tar.gz) = bb0d99915458635d4f852f89412417edb7928755f76ec5a9219e67af8eadada7
+SIZE (percona-xtrabackup-2.1.4.tar.gz) = 137107631

Modified: head/databases/xtrabackup/files/patch-build.sh
==============================================================================
--- head/databases/xtrabackup/files/patch-build.sh	Tue Aug 13 11:59:54 2013	(r324659)
+++ head/databases/xtrabackup/files/patch-build.sh	Tue Aug 13 12:11:05 2013	(r324660)
@@ -1,6 +1,6 @@
---- utils/build.sh	2013-05-22 19:00:32.000000000 +0200
-+++ utils/build.sh	2013-07-02 21:36:25.534672963 +0200
-@@ -281,6 +281,7 @@
+--- 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"
@@ -8,38 +8,3 @@
          build_all $type
          ;;
  
-@@ -316,9 +317,14 @@
- 	    bzr revert
- 	    bzr pull --overwrite
- 	else
--	    bzr branch -r tag:Percona-Server-$PS_51_VERSION \
--		lp:percona-server/5.1 $branch_dir
-+	    #bzr branch -r tag:Percona-Server-$PS_51_VERSION \
-+	#	lp:percona-server/5.1 $branch_dir
-+	    tar -xvzf Percona-Server-${PS_51_VERSION}-patches.tar.gz
-+	    ln -sf Percona-Server-${PS_51_VERSION}-patches $branch_dir
-+	    ln  mysql-${MYSQL_51_VERSION}.tar.gz $branch_dir
- 	    cd $branch_dir
-+	    #fix for cmake, from https://bugs.launchpad.net/percona-xtradb/+bug/666223
-+	    sed -i .orig 's/inline void _increment_page_get_statistics/void _increment_page_get_statistics/' patches/innodb_extend_slow.patch
- 	fi
- 
- 	$MAKE_CMD main
-@@ -370,9 +376,15 @@
- 	    bzr revert
- 	    bzr pull --overwrite
- 	else
--	    bzr branch -r tag:Percona-Server-$PS_55_VERSION \
--		lp:percona-server $branch_dir
-+#	    bzr branch -r tag:Percona-Server-$PS_55_VERSION \
-+#		lp:percona-server $branch_dir
-+	    tar -xvzf Percona-Server-${PS_55_VERSION}-patches.tar.gz
-+	    ln -sf Percona-Server-${PS_55_VERSION}-patches $branch_dir
-+	    ln mysql-5.5.16.tar.gz $branch_dir
- 	    cd $branch_dir
-+	    #fix for cmake, from https://bugs.launchpad.net/percona-xtradb/+bug/666223
-+	    sed -i .orig 's/inline void _increment_page_get_statistics/void _increment_page_get_statistics/' patches/innodb_extend_slow.patch
-+
- 	fi
- 
- 	$MAKE_CMD PERCONA_SERVER=Percona-Server-5.5 main
_______________________________________________
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 6 William Grzybowski freebsd_committer freebsd_triage 2013-08-13 13:11:26 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!