From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 22:07:13 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 396C1106564A for ; Wed, 8 Feb 2012 22:07:13 +0000 (UTC) (envelope-from pgollucci@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id CED3B8FC0A for ; Wed, 8 Feb 2012 22:07:12 +0000 (UTC) Received: by qaea17 with SMTP id a17so827456qae.13 for ; Wed, 08 Feb 2012 14:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type; bh=L5t/euJt1lF295GY3/9aqWTRiUAPIWlB1eBUa3C9+WQ=; b=M6/KF93RvymqWXpr36TarOOGEFIyzvHc/MtvZRL7FqBegrMobsfEfjW3a00JHhgCEO RgbUqBThCtCtV1YlhAg2HEBcb8dEwh9gTulPYMzltz2iY6M3NZF8039OAn1FFRt5A/sh 3vUEB5jvtlAp8+2AGe4G9R6AQM5CEAOm8jJN0= Received: by 10.224.177.145 with SMTP id bi17mr15640090qab.17.1328738830977; Wed, 08 Feb 2012 14:07:10 -0800 (PST) Received: from philip.hq.rws (wsip-174-79-184-239.dc.dc.cox.net. [174.79.184.239]) by mx.google.com with ESMTPS id gw4sm1338703qab.13.2012.02.08.14.07.09 (version=SSLv3 cipher=OTHER); Wed, 08 Feb 2012 14:07:10 -0800 (PST) Message-ID: <4F32F20B.1050102@p6m7g8.com> Date: Wed, 08 Feb 2012 22:07:07 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111029 Thunderbird/7.0.1 MIME-Version: 1.0 To: claudiu vasadi References: In-Reply-To: X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig70C8B142AAE584FA56952AC1" Cc: flo@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: porting percona's xtrabackup (currently version 1.6.4) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 22:07:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig70C8B142AAE584FA56952AC1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=3D in the mean-time. See Mk/bsd.port= =2Emk. On 02/08/12 21:36, claudiu vasadi wrote: > Hi guys, >=20 > 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. >=20 > Since I'm the curious type of guy, I went ahead and tried it out myself= =2E So > far, I have this: >=20 >=20 > PORTNAME=3D xtrabackup > PORTVERSION=3D 1.6.4 > CATEGORIES=3D databases > MASTER_SITES=3D > http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.4/source/ >=20 > COMMENT=3D OpenSource version of InnoDB backup with support of Percona > extensions >=20 > MAKE_JOBS_SAFE=3D yes > USE_GMAKE=3D yes >=20 > OPTIONS=3D 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 >=20 > BUILD_DEPENDS=3D bash:${PORTSDIR}/shells/bash > bzr:${PORTSDIR}/devel/bazaar-ng >=20 >=20 >=20 > .include >=20 > .if defined(WITH_innodb51_builtin) > .endif >=20 > .if defined(WITH_innodb55) > .endif >=20 > .if defined(WITH_xtradb51) > .endif >=20 > .if defined(WITH_xtradb55) > .endif >=20 >=20 > .include >=20 >=20 > Problems so far: > The xtrabackup archive has no [configure script. Instead, there is 1 > script, build.sh that takes care of everything (using bash). Installati= on > rolls down to: >=20 >> AUTO_DOWNLOAD=3D"YES" ./utils/build.sh <<<--- this is = where > the dialog box should kick in >=20 >=20 >=20 > 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? >=20 >=20 >=20 --=20 ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@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. --------------enig70C8B142AAE584FA56952AC1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFPMvIMdbiP+9ubjBwRAg4LAJ9JMNE2/R10FMYGzelhvYxRJkOCkgCeKOYQ wNx1O6KSBCAlkMSatntQJME= =UDML -----END PGP SIGNATURE----- --------------enig70C8B142AAE584FA56952AC1--