git: 5b59eb3010f8 - 2024Q3 - databases/pgbackrest: update 2.51 → 2.53

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 22 Jul 2024 20:19:33 UTC
The branch 2024Q3 has been updated by vvd:

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

commit 5b59eb3010f81c6f50e760c38379e7d3e2e1a9f4
Author:     Michael Schout <schoutm@gmail.com>
AuthorDate: 2024-07-22 20:05:58 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-22 20:19:27 +0000

    databases/pgbackrest: update 2.51 → 2.53
    
    Changelogs:
    https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.52
    https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.52.1
    https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.53
    
    PR:     280409
    MFH:    2024Q3
    (cherry picked from commit 1fc49da638ed9dcf6d0e9acf44989e53367e79c2)
---
 databases/pgbackrest/Makefile                      | 11 +++------
 databases/pgbackrest/distinfo                      |  6 ++---
 databases/pgbackrest/files/patch-meson.build       | 28 ----------------------
 .../pgbackrest/files/patch-meson__options.txt      |  8 -------
 databases/pgbackrest/files/patch-src_meson.build   | 10 --------
 5 files changed, 6 insertions(+), 57 deletions(-)

diff --git a/databases/pgbackrest/Makefile b/databases/pgbackrest/Makefile
index 49b628288584..0d4303d38e01 100644
--- a/databases/pgbackrest/Makefile
+++ b/databases/pgbackrest/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pgbackrest
 DISTVERSIONPREFIX=	release/
-DISTVERSION=	2.51
+DISTVERSION=	2.53
 CATEGORIES=	databases
 
 MAINTAINER=	schoutm@gmail.com
@@ -21,14 +21,9 @@ MESON_ARGS+=	-Dconfigdir="${LOCALBASE}/etc/pgbackrest"
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
-OPTIONS_DEFINE=		LZ4 SFTP ZSTD
-OPTIONS_DEFAULT=	LZ4
+OPTIONS_DEFINE=		SFTP ZSTD
 
-SFTP_DESC=	Enable SFTP storage support
-
-LZ4_LIB_DEPENDS=	liblz4.so:archivers/liblz4
-LZ4_MESON_ON=		-Dliblz4=enabled
-LZ4_MESON_OFF=		-Dliblz4=disabled
+SFTP_DESC=		Enable SFTP storage support
 
 SFTP_LIB_DEPENDS=	libssh2.so:security/libssh2
 SFTP_MESON_ON=		-Dlibssh2=enabled
diff --git a/databases/pgbackrest/distinfo b/databases/pgbackrest/distinfo
index 1f96f8d089b8..a5c6ba919b4d 100644
--- a/databases/pgbackrest/distinfo
+++ b/databases/pgbackrest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712155789
-SHA256 (pgbackrest-pgbackrest-release-2.51_GH0.tar.gz) = 9fa6760032927de448251fb1e5b824e2d17caf560796e74947275b72dc20ed2a
-SIZE (pgbackrest-pgbackrest-release-2.51_GH0.tar.gz) = 6119922
+TIMESTAMP = 1721657675
+SHA256 (pgbackrest-pgbackrest-release-2.53_GH0.tar.gz) = cbb4fd81729dc3b562fd0f0a3c0dbf39f8b97b8140de9898bc8d2a19884b7a12
+SIZE (pgbackrest-pgbackrest-release-2.53_GH0.tar.gz) = 2693089
diff --git a/databases/pgbackrest/files/patch-meson.build b/databases/pgbackrest/files/patch-meson.build
deleted file mode 100644
index 96a8b063da4b..000000000000
--- a/databases/pgbackrest/files/patch-meson.build
+++ /dev/null
@@ -1,28 +0,0 @@
---- meson.build.orig	2024-04-10 11:23:05 UTC
-+++ meson.build
-@@ -144,7 +144,7 @@ lib_bz2 = cc.find_library('bz2')
- lib_bz2 = cc.find_library('bz2')
- 
- # Find optional lz4 library
--lib_lz4 = dependency('liblz4', required: false)
-+lib_lz4 = dependency('liblz4', required: get_option('liblz4'))
- 
- if lib_lz4.found()
-     configuration.set('HAVE_LIBLZ4', true, description: 'Is liblz4 present?')
-@@ -168,14 +168,14 @@ configuration.set('ZLIB_CONST', true, description: 'Re
- configuration.set('ZLIB_CONST', true, description: 'Require zlib const input buffer')
- 
- # Find optional libssh2 library
--lib_ssh2 = dependency('libssh2', required: false)
-+lib_ssh2 = dependency('libssh2', required: get_option('libssh2'))
- 
- if lib_ssh2.found()
-     configuration.set('HAVE_LIBSSH2', true, description: 'Is libssh2 present?')
- endif
- 
- # Find optional zstd library
--lib_zstd = dependency('libzstd', version: '>=1.0', required: false)
-+lib_zstd = dependency('libzstd', version: '>=1.0', required: get_option('libzstd'))
- 
- if lib_zstd.found()
-     configuration.set('HAVE_LIBZST', true, description: 'Is libzstd present?')
diff --git a/databases/pgbackrest/files/patch-meson__options.txt b/databases/pgbackrest/files/patch-meson__options.txt
deleted file mode 100644
index 30bdd3e9599f..000000000000
--- a/databases/pgbackrest/files/patch-meson__options.txt
+++ /dev/null
@@ -1,8 +0,0 @@
---- meson_options.txt.orig	2024-03-24 20:53:22 UTC
-+++ meson_options.txt
-@@ -1,2 +1,5 @@ option('fatal-errors', type: 'boolean', value: false, 
- option('configdir', type: 'string', value: '/etc/pgbackrest', description: 'Configuration directory')
- option('fatal-errors', type: 'boolean', value: false, description: 'Stop compilation on first error')
-+option('liblz4', type: 'feature', value: 'auto', description: 'Enable LZ4 compression support')
-+option('libssh2', type: 'feature', value: 'auto', description: 'Enable SFTP storage support')
-+option('libzstd', type: 'feature', value: 'auto', description: 'Enable Zstandard compression support')
diff --git a/databases/pgbackrest/files/patch-src_meson.build b/databases/pgbackrest/files/patch-src_meson.build
deleted file mode 100644
index 3ea71633e6c1..000000000000
--- a/databases/pgbackrest/files/patch-src_meson.build
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/meson.build.orig	2024-03-24 20:53:22 UTC
-+++ src/meson.build
-@@ -284,5 +284,6 @@ executable(
-         lib_xml,
-         lib_z,
-         lib_zstd,
--    ]
-+    ],
-+    install: true,
- )