Files
ports/databases/xtrabackup/Makefile
T
Oleksii Samorukov 36377ab759 database/xtrabackup: update to 2.4.21
New Features
 - PXB-2112: xbcloud: support storage_class option with storage=s3 (Thanks to user rluisr for reporting this issue)

Improvements
 - PXB-2254: Redesign "lock-ddl-per-table"
 - PXB-2252: Introduce debug option to print the redo log records scanned and applied

Bugs Fixed
 - PXB-793: Fix syntax error when executing lock-ddl-per-table queries
 - PXB-2165: Modify xbcloud to store backups using s3 access key parameters if AWS access key env variables are set
 - PXB-2164: Modify xbcloud to return the error when the backup doesn`t exist in s3 bucket
 - PXB-953: Improve stdout for the end of usage of lock-ddl-per-table
 - PXB-2279: Xbcloud: Upload failed: backup is incomplete (Thanks to user mrmainnet for reporting this issue)
 - PXB-2127: Modify xbcloud to upload backups with empty database to min.io storage (Thanks to user hartland for reporting this issue)
 - PXB-2275: Modify backup processing to add validations if an encrypted table is created
 - PXB-2272: Fixed Regexp from is_tmp_table doesn`t account for all temporary tables
 - PXB-2257: fixed lock-ddl-per-table to properly close database connection
 - PXB-2249: Verify perl binary exists before completing version check
 - PXB-2239: Partitioned table is not restored correctly when partitions are changed during backup
 - PXB-2238: Provide binary tarball with shared libs and glibc suffix & minimal tarballs
 - PXB-2216: Verify encryption version when opening tables to avoid changing encryption version
 - PXB-2202: Modify Xbcloud to display an error when xtrabackup fails to create a backup
 - PXB-2198: Modify xbcloud delete to return the error when the backup doesn`t exist in s3 bucket

Approved by:	krion
Differential Revision:	https://reviews.freebsd.org/D28116
2021-01-12 13:08:51 +00:00

51 lines
1.8 KiB
Makefile

# Created by: Alex Samorukov <samm@freebsd.org>
# $FreeBSD$
PORTNAME= xtrabackup
DISTVERSION= 2.4.21
CATEGORIES= databases
MASTER_SITES= https://www.percona.com/downloads/Percona-XtraBackup-${PORTVERSION:R}/Percona-XtraBackup-${PORTVERSION}/source/tarball/:xtrabackup \
https://ftp.osuosl.org/pub/blfs/conglomeration/boost/:boost SF/boost/boost/1.59.0/:boost
DISTFILES= percona-${PORTNAME}-${PORTVERSION}.tar.gz:xtrabackup \
boost_1_59_0.tar.bz2:boost
MAINTAINER= samm@FreeBSD.org
COMMENT= OpenSource version of InnoDB backup with support of Percona extensions
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_armv6= fails to compile: cannot combine with previous 'type-name' declaration specifier
BROKEN_armv7= fails to compile: cannot combine with previous 'type-name' declaration specifier
BROKEN_mips64= fails to compile: 'fpsetmask' was not declared in this scope
# quilt is required by build.sh
BUILD_DEPENDS= bash:shells/bash \
cmake:devel/cmake
LIB_DEPENDS= libcurl.so:ftp/curl \
libev.so:devel/libev \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
RUN_DEPENDS= qpress:archivers/qpress
CONFLICTS_INSTALL= ${PORTNAME}8
# autotool is in use for 5.1 builds
USES= alias autoreconf:build bison cmake:noninja compiler:c++11-lang \
cpe gettext libtool perl5 shebangfix
USE_CXXSTD= c++11
CPE_VENDOR= percona
SHEBANG_FILES= storage/innobase/xtrabackup/xbcloud_osenv.sh
CMAKE_ARGS= -DWITH_BOOST=${WRKDIR}/boost_1_59_0 -DWITH_VERSION_CHECK=OFF
WRKSRC= ${WRKDIR}/percona-${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt \
bin/xbcloud bin/xbcloud_osenv
# Not sure why it's trying to install mysql client libraries now
post-install:
${RM} -rf ${STAGEDIR}${LOCALBASE}/lib
.include <bsd.port.mk>