Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 22:02:04 GMT
From:      Claudiu Vasadi <claudiu.vasadi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/165117: [NEW PORT] databases/xtrabackup - version 1.6.5 of Percona's xtrabackup utility
Message-ID:  <201202132202.q1DM249i041495@red.freebsd.org>
Resent-Message-ID: <201202132210.q1DMA8s6009467@freefall.freebsd.org>

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

>Number:         165117
>Category:       misc
>Synopsis:       [NEW PORT] databases/xtrabackup - version 1.6.5 of Percona's xtrabackup utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 22:10:07 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:
Version 1.6.5 of the only OpenSource online (non-blockable) backup solution for 
InnoDB and XtraDB engines.
>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.5.tar.gz) = b9c789a6304712483d9e457a6a39f0c16c9bd028aa0124f7689f814833fdf990
XSIZE (xtrabackup-1.6.5.tar.gz) = 933213
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.5
XCATEGORIES=	databases
XMASTER_SITES=	http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.5/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
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 '89s/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 '89s/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 '89s/autodetect/\/usr\/local\/bin\/xtrabackup/' < \
X	${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
X.endif
X
X.if defined(WITH_XTRADB55)
X   BUILD_DEPENDS+=	quilt:${PORTSDIR}/devel/quilt \
X			bzr:${PORTSDIR}/devel/bazaar-ng \
X			bison:${PORTSDIR}/devel/bison
X   CONFIGURE_ARGS+=	xtradb55
X   PLIST_FILES= bin/tar4ibd \
X		bin/xtrabackup_55 \
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/storage/innobase/xtrabackup/xtrabackup_55 \
X	${LOCALBASE}/bin
X	${SED} -e '89s/autodetect/\/usr\/local\/bin\/xtrabackup_55/' < \
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?201202132202.q1DM249i041495>