net/librsync: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2023-05-30 11:21:42 +02:00
parent 5f4b3356c8
commit 8e4b4fb271
3 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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