diff --git a/net/librsync/Makefile b/net/librsync/Makefile index 1372f674f153..c4eb624f4ff0 100644 --- a/net/librsync/Makefile +++ b/net/librsync/Makefile @@ -1,25 +1,27 @@ PORTNAME= librsync -PORTVERSION= 2.3.2 +PORTVERSION= 2.3.4 CATEGORIES= net devel MASTER_SITES= https://github.com/librsync/librsync/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for delta compression of streams WWW= https://github.com/librsync/librsync LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING 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 PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= librsync_project .include 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,28 +1,28 @@ ---- 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}") +# We need to be able to #include "file" from a few places, +# * The original source dir +# * The generated source dir +include_directories(${CMAKE_CURRENT_BINARY_DIR}/src) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) + # 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 -# * The generated source dir -include_directories(${CMAKE_CURRENT_BINARY_DIR}/src) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) ########### next target ###############