From nobody@FreeBSD.org  Mon Feb 13 16:18:13 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D36E2106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 16:18:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C19618FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 16:18:13 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1DGIDh1033120
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 16:18:13 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1DGIDT4033119;
	Mon, 13 Feb 2012 16:18:13 GMT
	(envelope-from nobody)
Message-Id: <201202131618.q1DGIDT4033119@red.freebsd.org>
Date: Mon, 13 Feb 2012 16:18:13 GMT
From: Claudiu Vasadi <claudiu.vasadi@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: databases/xtrabackup percona's xtrabackup utility, version 1.6.4
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 16:20:10 UTC 2012
>Closed-Date:    Mon May 28 01:43:31 UTC 2012
>Last-Modified:  Mon May 28 01:43:31 UTC 2012
>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:

From: Claudiu Vasadi <claudiu.vasadi@catedral.ro>
To: bug-followup@FreeBSD.org, claudiu.vasadi@gmail.com
Cc:  
Subject: Re: ports/165099: New port: databases/xtrabackup percona&#39;s xtrabackup
 utility, version 1.6.4
Date: Mon, 13 Feb 2012 22:01:13 +0100

 The Makefile was modified. Please use the following instead of the first 
 one that was submitted.
 
 
 
 
 # New ports collection makefile for:    xtrabackup
 # Date created:                04 Feb 2012
 # Whom:                    Claudiu Vasadi <claudiu.vasadi@gmail.com>
 #
 # $FreeBSD$
 #
 
 PORTNAME=    xtrabackup
 PORTVERSION=    1.6.4
 CATEGORIES=    databases
 MASTER_SITES=    
 http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.4/source/
 
 MAINTAINER=    claudiu.vasadi@gmail.com
 COMMENT=    OpenSource version of InnoDB backup with support of Percona 
 extensions
 
 BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash \
          wget:${PORTSDIR}/ftp/wget \
          automake-1.11:${PORTSDIR}/devel/automake
 RUN_DEPENDS=    perl:${PORTSDIR}/lang/perl5.10
 
 OPTIONS=        INNODB51_BUILTIN    "built-in InnoDB in MySQL 5.1"    
      off \
          INNODB55        "InnoDB in MySQL 5.5"            off \
          XTRADB51        "Percona Server with XtraDB 5.1"    off \
          XTRADB55        "Percona Server with XtraDB 5.5"    off
 
 HAS_CONFIGURE=        yes
 CONFIGURE_ENV=        AUTO_DOWNLOAD="yes"
 CONFIGURE_WRKSRC=    ${WRKSRC}
 CONFIGURE_SCRIPT=    utils/build.sh
 
 .include <bsd.port.options.mk>
 
 .if defined(WITH_INNODB51_BUILTIN)
     CONFIGURE_ARGS+=    innodb51_builtin
     PLIST_FILES=    bin/tar4ibd \
          bin/xtrabackup_51 \
          bin/innobackupex-1.5.1
 do-install:
      ${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
      ${CP} ${WRKSRC}/mysql-5.1/storage/innobase/xtrabackup/xtrabackup_51 
 ${LOCALBASE}/bin
      ${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup_51/' < \
      ${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
 .endif
 
 .if defined(WITH_INNODB55)
     CONFIGURE_ARGS+=    innodb55
     PLIST_FILES= bin/tar4ibd \
          bin/xtrabackup_innodb55 \
          bin/innobackupex-1.5.1
 do-install:
      ${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
      ${CP} 
 ${WRKSRC}/mysql-5.5/storage/innobase/xtrabackup/xtrabackup_innodb55 
 ${LOCALBASE}/bin
      ${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup_innodb55/' < \
      ${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
 .endif
 
 .if defined(WITH_XTRADB51)
     RUN_DEPENDS+=    bzr:${PORTSDIR}/devel/bazaar-ng
     CONFIGURE_ARGS+=    xtradb51
     PLIST_FILES= bin/tar4ibd \
          bin/xtrabackup \
          bin/innobackupex-1.5.1
 do-install:
      ${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
      ${CP} 
 ${WRKSRC}/percona-server-5.1-xtrabackup/Percona-Server/storage/innodb_plugin/xtrabackup/xtrabackup 
 \
      ${LOCALBASE}/bin
      ${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup/' < \
      ${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
 .endif
 
 .if defined(WITH_XTRADB55)
     BUILD_DEPENDS+=    quilt:${PORTSDIR}/devel/quilt \
              bzr:${PORTSDIR}/devel/bazaar-ng \
              bison:${PORTSDIR}/devel/bison
     CONFIGURE_ARGS+=    xtradb55
     PLIST_FILES= bin/tar4ibd \
          bin/xtrabackup_55 \
          bin/innobackupex-1.5.1
 do-install:
      ${CP} ${WRKSRC}/libtar-1.2.11/libtar/tar4ibd ${LOCALBASE}/bin
      ${CP} 
 ${WRKSRC}/percona-server-5.5-xtrabackup/Percona-Server/storage/innobase/xtrabackup/xtrabackup_55 
 \
      ${LOCALBASE}/bin
      ${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtrabackup_55/' < \
      ${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1
 .endif
 
 NO_BUILD=        yes
 
 .include <bsd.port.mk>
 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Tue Feb 14 02:17:36 UTC 2012 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165099 
State-Changed-From-To: open->feedback 
State-Changed-By: pgollucci 
State-Changed-When: Fri Feb 17 22:50:30 UTC 2012 
State-Changed-Why:  
Request Feedback: I can not tell what changed.  Can you give me a link 
to the full shar? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165099 

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc: linimon@FreeBSD.org
Subject: Re: ports/165099: New port: databases/xtrabackup percona's
 xtrabackup utility, version 1.6.4
Date: Fri, 17 Feb 2012 18:12:58 -0600

 I am confused about why this has been submitted as a 'new port'.  According
 to http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/xtrabackup/Makefile ,
 the port already exists and is assigned to aleksandr.kuzminsky@percona.com.
 (It is, however, only at version 1.1.)
 
 mcl

From: Claudiu Vasadi <c.vasadi@myphotobook.de>
To: bug-followup@FreeBSD.org, claudiu.vasadi@gmail.com
Cc:  
Subject: Re: ports/165099: New port: databases/xtrabackup percona&#39;s xtrabackup
 utility, version 1.6.4
Date: Sat, 18 Feb 2012 00:46:52 +0100

 Hi,
 
 http://mainserver.catedral.ro/xtrabackup.shar
 
 Basically what changed, is the stanza for "xtradb55" (PLIST and 
 "do-install")
 
 -- 
 Claudiu Vasadi
 System Administrator
 
 myphotobook
 Oranienstrae 183
 10999 Berlin
 Germany
 
 Tel.:+49 (0)30 616 508 120
 Fax: +49 (0)30 616 508 250
 c.vasadi@myphotobook.de
 
 Authorised Executives: Kaspar von Mellenthin, Felix Zipse
 Trade Register: HRB 94377, Berlin
 

From: claudiu vasadi <claudiu.vasadi@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/165099: New port: databases/xtrabackup percona&#39;s
 xtrabackup utility, version 1.6.4
Date: Sat, 18 Feb 2012 10:57:46 +0100

 --f46d043086fcdc91bb04b93a1768
 Content-Type: text/plain; charset=ISO-8859-1
 
 First time submitting a port ... that would be my fault. How should a newer
 version of a already exiting port be submitted as ?
 
 -- 
 Best regards,
 Claudiu Vasadi
 
 --f46d043086fcdc91bb04b93a1768
 Content-Type: text/html; charset=ISO-8859-1
 
 First time submitting a port ... that would be my fault. How should a newer version of a already exiting port be submitted as ?<br clear="all"><br>-- <br><div>Best regards,<br></div><div>Claudiu Vasadi</div><br>
 
 --f46d043086fcdc91bb04b93a1768--
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Tue Feb 21 06:21:54 UTC 2012 
State-Changed-Why:  
flip 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165099 
State-Changed-From-To: open->feedback 
State-Changed-By: pgollucci 
State-Changed-When: Tue Feb 21 06:22:06 UTC 2012 
State-Changed-Why:  
Request Feedback: just use cvs diff and port submit from 
ports-mgmt/porttools 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165099 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon May 28 01:42:24 UTC 2012 
State-Changed-Why:  
Since this PR was submitted, the port has been updated to 1.6.6.  But 
thanks for the submission. 


Responsible-Changed-From-To: pgollucci->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 28 01:42:24 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=165099 
>Unformatted:
