git: 933aae61ba40 - main - net/librsync: Update to 2.3.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:25:50 UTC
The branch main has been updated by sunpoet:

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

commit 933aae61ba409e69e8669966b532e1e316b5b4a4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:07:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:07:34 +0000

    net/librsync: Update to 2.3.4
    
    - Use complete arguments/options
    
    Changes:        https://github.com/librsync/librsync/releases
---
 net/librsync/Makefile                   | 4 +++-
 net/librsync/distinfo                   | 6 +++---
 net/librsync/files/patch-CMakeLists.txt | 8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/net/librsync/Makefile b/net/librsync/Makefile
index 1372f674f153..c4eb624f4ff0 100644
--- a/net/librsync/Makefile
+++ b/net/librsync/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	librsync
-PORTVERSION=	2.3.2
+PORTVERSION=	2.3.4
 CATEGORIES=	net devel
 MASTER_SITES=	https://github.com/librsync/librsync/releases/download/v${PORTVERSION}/
 
@@ -15,6 +15,8 @@ LIB_DEPENDS=	libpopt.so:devel/popt
 USES=		cmake compiler:c11 cpe perl5
 USE_PERL5=	test
 
+CMAKE_OFF=	ENABLE_TRACE
+CMAKE_ON=	BUILD_RDIFF BUILD_SHARED_LIBS ENABLE_COMPRESSION USE_LIBB2
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
diff --git a/net/librsync/distinfo b/net/librsync/distinfo
index 6d97204e1c14..8d1a782077f2 100644
--- a/net/librsync/distinfo
+++ b/net/librsync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620405353
-SHA256 (librsync-2.3.2.tar.gz) = ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f
-SIZE (librsync-2.3.2.tar.gz) = 194461
+TIMESTAMP = 1684104326
+SHA256 (librsync-2.3.4.tar.gz) = a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f
+SIZE (librsync-2.3.4.tar.gz) = 201307
diff --git a/net/librsync/files/patch-CMakeLists.txt b/net/librsync/files/patch-CMakeLists.txt
index 3480679fd93b..e2115f329ce9 100644
--- a/net/librsync/files/patch-CMakeLists.txt
+++ b/net/librsync/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2020-04-07 06:57:48 UTC
+--- CMakeLists.txt.orig	2023-05-15 13:42:41 UTC
 +++ CMakeLists.txt
-@@ -144,6 +144,12 @@ message (STATUS "PROJECT_NAME  = ${PROJECT_NAME}")
+@@ -162,6 +162,12 @@ message (STATUS "PROJECT_NAME  = ${PROJECT_NAME}")
  message (STATUS "BUILD_HOSTNAME = ${BUILD_HOSTNAME}")
  message (STATUS "CMAKE_SYSTEM = ${CMAKE_SYSTEM}")
  
@@ -13,10 +13,10 @@
  # Find POPT
  find_package(POPT)
  if (POPT_FOUND)
-@@ -310,12 +316,6 @@ enable_testing()
+@@ -369,12 +375,6 @@ enable_testing()
  
  # Create conf files
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/config.h)
 -
 -# We need to be able to #include "file" from a few places,
 -# * The original source dir