From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 22:01:30 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 1F732106564A for ; Wed, 8 Feb 2012 22:01:30 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-lpp01m020-f182.google.com (mail-lpp01m020-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 94EF18FC1D for ; Wed, 8 Feb 2012 22:01:29 +0000 (UTC) Received: by lbbgj3 with SMTP id gj3so750538lbb.13 for ; Wed, 08 Feb 2012 14:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=GIT2jo5epg3MXzBL2FxHI3dIzoS2UAEOHhfWkU6fM9Y=; b=TxloK5/xWd/LadW+l3DRAFF9OngTSQeNrOBSrZvhPvbvvY5AsF0E2+4MMDp6ub2wG8 0SsTN1ImtgoLAHEfcy3I6WAushHsuPSf4pR5anZdTQgflHbZB1tRRCmKyzO4BB5n7N1j yTn59F1DpO2/pnNn9W4rQRcYHFeSVun/OdKSM= MIME-Version: 1.0 Received: by 10.152.128.163 with SMTP id np3mr17008845lab.51.1328736997462; Wed, 08 Feb 2012 13:36:37 -0800 (PST) Received: by 10.152.114.197 with HTTP; Wed, 8 Feb 2012 13:36:37 -0800 (PST) Date: Wed, 8 Feb 2012 22:36:37 +0100 Message-ID: From: claudiu vasadi To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:01:30 -0000 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 .if defined(WITH_innodb51_builtin) .endif .if defined(WITH_innodb55) .endif .if defined(WITH_xtradb51) .endif .if defined(WITH_xtradb55) .endif .include 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 <<<--- 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? -- Best regards, Claudiu Vasadi