Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 16:18:13 GMT
From:      Claudiu Vasadi <claudiu.vasadi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165099: New port: databases/xtrabackup percona's xtrabackup utility, version 1.6.4
Message-ID:  <201202131618.q1DGIDT4033119@red.freebsd.org>
Resent-Message-ID: <201202131620.q1DGKAKa084184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165099
>Category:       ports
>Synopsis:       New port: databases/xtrabackup percona's xtrabackup utility, version 1.6.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 16:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Claudiu Vasadi
>Release:        9.0-STABLE amd64
>Organization:
>Environment:
FreeBSD xtrabackup.local 9.0-STABLE FreeBSD 9.0-STABLE #2 r230424: Mon Feb  6 00:12:29 CET 2012     root@da1:/usr/obj/usr/src/sys/da1  amd64
>Description:
Percona XtraBackup is OpenSource online (non-blockable) backup solution for 
InnoDB and XtraDB engines. It works with MySQL 5.0 and 5.1 versions (InnoDB
Plugin and Barracuda format is supported as of release 0.9.5rc) and also can 
handle MyISAM tables.

WWW: http://www.percona.com/docs/wiki/percona-xtrabackup:start
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xtrabackup
#	xtrabackup/pkg-descr
#	xtrabackup/distinfo
#	xtrabackup/Makefile
#
echo c - xtrabackup
mkdir -p xtrabackup > /dev/null 2>&1
echo x - xtrabackup/pkg-descr
sed 's/^X//' >xtrabackup/pkg-descr << '8a8b25963b1e4584cc7b3d398625190c'
XPercona XtraBackup is OpenSource online (non-blockable) backup solution for 
XInnoDB and XtraDB engines. It works with MySQL 5.0 and 5.1 versions (InnoDB
XPlugin and Barracuda format is supported as of release 0.9.5rc) and also can 
Xhandle MyISAM tables.
X
XWWW: http://www.percona.com/docs/wiki/percona-xtrabackup:start
8a8b25963b1e4584cc7b3d398625190c
echo x - xtrabackup/distinfo
sed 's/^X//' >xtrabackup/distinfo << '4890596a033a923cae5840e122d6f8e7'
XSHA256 (xtrabackup-1.6.4.tar.gz) = 627499844ac4e0c9799b5e5b26bebaaf47b9dec99fd69dfe2597495876ff52da
XSIZE (xtrabackup-1.6.4.tar.gz) = 931057
4890596a033a923cae5840e122d6f8e7
echo x - xtrabackup/Makefile
sed 's/^X//' >xtrabackup/Makefile << '3b5873206719b25fef0c55e0225465df'
X# New ports collection makefile for:	xtrabackup
X# Date created:				04 Feb 2012
X# Whom:					Claudiu Vasadi <claudiu.vasadi@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xtrabackup
XPORTVERSION=	1.6.4
XCATEGORIES=	databases
XMASTER_SITES=	http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.4/source/
X
XMAINTAINER=	claudiu.vasadi@gmail.com
XCOMMENT=	OpenSource version of InnoDB backup with support of Percona extensions
X
XBUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash \
X		wget:${PORTSDIR}/ftp/wget \
X		automake-1.11:${PORTSDIR}/devel/automake
XRUN_DEPENDS=	perl:${PORTSDIR}/lang/perl5.10
X
XOPTIONS=        INNODB51_BUILTIN	"built-in InnoDB in MySQL 5.1"		off \
X		INNODB55		"InnoDB in MySQL 5.5"			off \
X		XTRADB51		"Percona Server with XtraDB 5.1"	off \
X		XTRADB55		"Percona Server with XtraDB 5.5"	off
X
XHAS_CONFIGURE=		yes
XCONFIGURE_ENV=		AUTO_DOWNLOAD="yes"
XCONFIGURE_WRKSRC=	${WRKSRC}
XCONFIGURE_SCRIPT=	utils/build.sh
X
XPLIST_FILES=	bin/tar4ibd
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_INNODB51_BUILTIN)
X   CONFIGURE_ARGS+=	innodb51_builtin
X   PLIST_FILES=	bin/tar4ibd \
X		bin/xtrabackup_51 \
X		bin/innobackupex-1.5.1
Xdo-install:
X	${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
X	${CP} ${WRKSRC}/mysql-5.1/storage/innobase/xtrabackup/xtrabackup_51 ${LOCALBASE}/bin
X	${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup_51/' < \
X	${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
X.endif
X
X.if defined(WITH_INNODB55)
X   CONFIGURE_ARGS+=	innodb55
X   PLIST_FILES= bin/tar4ibd \
X		bin/xtrabackup_innodb55 \
X		bin/innobackupex-1.5.1
Xdo-install:
X	${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
X	${CP} ${WRKSRC}/mysql-5.5/storage/innobase/xtrabackup/xtrabackup_innodb55 ${LOCALBASE}/bin
X	${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup_innodb55/' < \
X	${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
X.endif
X
X.if defined(WITH_XTRADB51)
X   RUN_DEPENDS+=	bzr:${PORTSDIR}/devel/bazaar-ng
X   CONFIGURE_ARGS+=	xtradb51
X   PLIST_FILES= bin/tar4ibd \
X		bin/xtrabackup \
X	bin/innobackupex-1.5.1
Xdo-install:
X	${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
X	${CP} ${WRKSRC}/percona-server-5.1-xtrabackup/Percona-Server/storage/innodb_plugin/xtrabackup/xtrabackup \
X	${LOCALBASE}/bin
X	${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup/' < \
X	${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
X.endif
X
X.if defined(WITH_XTRADB55)
X   RUN_DEPENDS+=        bzr:${PORTSDIR}/devel/bazaar-ng
X   CONFIGURE_ARGS+=	xtradb55
X   PLIST_FILES= bin/tar4ibd \
X		bin/xtrabackup_xtradb55 \
X		bin/innobackupex-1.5.1
Xdo-install:
X	${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
X	${CP} ${WRKSRC}/percona-server-5.5-xtrabackup/Percona-Server-5.5/storage/innobase/xtrabackup_xtradb55 \
X	${LOCALBASE}/bin
X	${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtradb55/' < \
X	${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
X.endif
X
XNO_BUILD=		yes
X
X.include <bsd.port.mk>
3b5873206719b25fef0c55e0225465df
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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