Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 21:30:20 GMT
From:      Claudiu Vasadi <claudiu.vasadi@catedral.ro>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/165099: New port: databases/xtrabackup percona&#39; s xtrabackup utility, version 1.6.4
Message-ID:  <201202132130.q1DLUKTI072846@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/165099; it has been noted by GNATS.

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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202132130.q1DLUKTI072846>