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.vas...@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 <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) 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 <bsd.port.mk> ----- end Makefile ----- distinfo: SHA256 (xtrabackup-1.6.4.tar.gz) = 627499844ac4e0c9799b5e5b26bebaaf47b9dec99fd69dfe2597495876ff52da SIZE (xtrabackup-1.6.4.tar.gz) = 931057 -- Best regards, Claudiu Vasadi _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"