From owner-freebsd-ports@FreeBSD.ORG Mon Feb 13 13:05:05 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 156E3106564A for ; Mon, 13 Feb 2012 13:05:05 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88D978FC0C for ; Mon, 13 Feb 2012 13:05:04 +0000 (UTC) Received: by lagz14 with SMTP id z14so5827973lag.13 for ; Mon, 13 Feb 2012 05:05:03 -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=SuRxvNLxxdpbCAUxB2YSa+ZkPL8ou8XTZ3u4oIMBxlk=; b=PaQ3diymQ4/vvNS6cdi8kVyDn7nAOXY+OIhWCuBSK6VjeLw6vAbT0WTq+6j4ddGadv P2w2bXyWNG2Hp9uWFF7wIkVtnk/U4tAhfRYC+e3+ScBwaa/xYs98+xfL/X0YBdI0cmXE 3oqGnVRWThk9fHC2GzWIgTTs6gmtVvs20TAng= MIME-Version: 1.0 Received: by 10.152.130.102 with SMTP id od6mr11140086lab.14.1329138303287; Mon, 13 Feb 2012 05:05:03 -0800 (PST) Received: by 10.152.114.197 with HTTP; Mon, 13 Feb 2012 05:05:03 -0800 (PST) Date: Mon, 13 Feb 2012 14:05:03 +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) - call for testing 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: Mon, 13 Feb 2012 13:05:05 -0000 Hi guys, I just finished the "Makefile" for percona's xtrbackup utility version 1.6.4. Before submitting I would appreciate if some of you could test it and advise if anything should be adjusted. Thx. Here it is: 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}:${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 PLIST_FILES= bin/tar4ibd .include .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) RUN_DEPENDS+= bzr:${PORTSDIR}/devel/bazaar-ng CONFIGURE_ARGS+= xtradb55 PLIST_FILES= bin/tar4ibd \ bin/xtrabackup_xtradb55 \ 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-5.5/storage/innobase/xtrabackup_xtradb55 \ ${LOCALBASE}/bin ${SED} -e '87s/autodetect/\/usr\/local\/bin\/xtradb55/' < \ ${WRKSRC}/innobackupex > ${LOCALBASE}/bin/innobackupex-1.5.1 .endif NO_BUILD= yes .include ----- end Makefile ----- distinfo: SHA256 (xtrabackup-1.6.4.tar.gz) = 627499844ac4e0c9799b5e5b26bebaaf47b9dec99fd69dfe2597495876ff52da SIZE (xtrabackup-1.6.4.tar.gz) = 931057 -- Best regards, Claudiu Vasadi