git: d4f3d96260e2 - main - databases/xtrabackup8: bundle boost-1.72, last supported release

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 22 May 2022 20:17:42 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d4f3d96260e2fbe3fe2e4e98e6b498776f946811

commit d4f3d96260e2fbe3fe2e4e98e6b498776f946811
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-05-22 18:51:39 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-05-22 20:17:04 +0000

    databases/xtrabackup8: bundle boost-1.72, last supported release
    
    PR:     246106
---
 databases/xtrabackup8/Makefile | 16 ++++++++++++----
 databases/xtrabackup8/distinfo |  4 +++-
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/databases/xtrabackup8/Makefile b/databases/xtrabackup8/Makefile
index a1a7bc7fd2aa..f3f4e94d0380 100644
--- a/databases/xtrabackup8/Makefile
+++ b/databases/xtrabackup8/Makefile
@@ -2,12 +2,15 @@
 
 PORTNAME=	xtrabackup
 PORTVERSION=	8.0.14
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	databases
-MASTER_SITES=	https://www.percona.com/downloads/Percona-XtraBackup-${PORTVERSION:R}/Percona-XtraBackup-${PORTVERSION}/source/tarball/ \
-		https://github.com/percona/percona-xtrabackup/archive/
+MASTER_SITES=	https://www.percona.com/downloads/Percona-XtraBackup-${PORTVERSION:R}/Percona-XtraBackup-${PORTVERSION}/source/tarball/:precona \
+		https://github.com/percona/percona-xtrabackup/archive/:percona \
+		SF/boost/boost/${BOOST_VERSION}:boost
 PKGNAMESUFFIX=	8
 DISTNAME=	percona-${PORTNAME}-${PORTVERSION}
+DISTFILES=	percona-${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:percona \
+		boost_${BOOST_VERSION_UNDER}${EXTRACT_SUFX}:boost
 
 MAINTAINER=	eugene@zhegan.in
 COMMENT=	Open-source backup tool for InnoDB and XtraDB
@@ -16,7 +19,6 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	xxd:editors/vim \
-		boost-libs>=1.72.0:devel/boost-libs \
 		protobuf>=3.0:devel/protobuf \
 		rapidjson>=1.1.0:devel/rapidjson \
 		libevent>=2.1:devel/libevent
@@ -38,6 +40,12 @@ CMAKE_ARGS=	-DBUILD_CONFIG:STRING=xtrabackup_release
 CMAKE_ARGS+=	-DWITH_${component}:STRING=system
 .endfor
 
+# Bundle last supported Boost release
+BOOST_VERSION=	1.72.0
+BOOST_VERSION_UNDER=	${BOOST_VERSION:C/\./_/g}
+
+CMAKE_ARGS+=	-DWITH_BOOST=${WRKDIR}/boost_${BOOST_VERSION_UNDER}
+
 .include <bsd.port.pre.mk>
 
 # Since MySQL 8.0.20 InnoDB engine uses new memory alligned allocator
diff --git a/databases/xtrabackup8/distinfo b/databases/xtrabackup8/distinfo
index 17df898cd990..6675fcff0dc8 100644
--- a/databases/xtrabackup8/distinfo
+++ b/databases/xtrabackup8/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1598684487
+TIMESTAMP = 1650736843
 SHA256 (percona-xtrabackup-8.0.14.tar.gz) = db8d6d2c6a6b016bf24b4942582ebdbd55c09253ccc78daa6911217bd5a73d5d
 SIZE (percona-xtrabackup-8.0.14.tar.gz) = 285621091
+SHA256 (boost_1_72_0.tar.gz) = c66e88d5786f2ca4dbebb14e06b566fb642a1a6947ad8cc9091f9f445134143f
+SIZE (boost_1_72_0.tar.gz) = 126580835