Hi claudiu,

flo@ and pgollucci@ (myself) should be able to help as maintainers of
percona-toolkit and percona.

Let me get back to you tonight or Friday.

You might look at CONFIGURE_SCRIPT=  in the mean-time.  See Mk/bsd.port.mk.



On 02/08/12 21:36, claudiu vasadi wrote:
> Hi guys,
> 
> The last version of percona's xtrabackup utility in the ports is 1.1. I
> think this is a bit old. Therefore, I have written an e-mail to the
> maintainer of the port asking if it would be possible to create a newer
> version. No answer yet.
> 
> Since I'm the curious type of guy, I went ahead and tried it out myself. So
> far, I have this:
> 
> 
> PORTNAME= xtrabackup
> PORTVERSION= 1.6.4
> CATEGORIES= databases
> MASTER_SITES=
> http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.4/source/
> 
> COMMENT= OpenSource version of InnoDB backup with support of Percona
> extensions
> 
> MAKE_JOBS_SAFE= yes
> USE_GMAKE= yes
> 
> OPTIONS= innodb51_builtin "built-in InnoDB in MySQL 5.1" off \
> innodb51 "InnoDB plugin in MySQL 5.1" off \
> innodb55 "InnoDB in MySQL 5.5" on \
> xtradb51 "Percona Server with XtraDB 5.1" off \
> xtradb55 "Percona Server with XtraDB 5.5" off
> 
> BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
> bzr:${PORTSDIR}/devel/bazaar-ng
> 
> 
> 
> .include <bsd.port.options.mk>
> 
> .if defined(WITH_innodb51_builtin)
> .endif
> 
> .if defined(WITH_innodb55)
> .endif
> 
> .if defined(WITH_xtradb51)
> .endif
> 
> .if defined(WITH_xtradb55)
> .endif
> 
> 
> .include <bsd.port.mk>
> 
> 
> Problems so far:
> The xtrabackup archive has no [configure script. Instead, there is 1
> script, build.sh that takes care of everything (using bash). Installation
> rolls down to:
> 
>> AUTO_DOWNLOAD="YES" ./utils/build.sh <engine_option> <<<--- this is where
> the dialog box should kick in
> 
> 
> 
> My question is:
> 1) Is there a way to connect this script to the make (I think) command of
> the ports framework and to the OPTIONS parameter from the port?
> 
> 
> 


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to