git: 8967888d80be - main - archivers/zchunk: update 1.3.2 → 1.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 20 Dec 2023 07:02:31 UTC
The branch main has been updated by yuri:

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

commit 8967888d80bebb4304125df84ccc7bee5df9cfff
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-20 05:15:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-20 07:02:20 +0000

    archivers/zchunk: update 1.3.2 → 1.4.0
    
    Reported by:    portscout
---
 archivers/zchunk/Makefile                |  2 +-
 archivers/zchunk/distinfo                |  6 +++---
 archivers/zchunk/files/patch-meson.build | 10 ++++++----
 archivers/zchunk/pkg-plist               |  2 +-
 4 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/archivers/zchunk/Makefile b/archivers/zchunk/Makefile
index 1e412b018c55..6cbe415099cd 100644
--- a/archivers/zchunk/Makefile
+++ b/archivers/zchunk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	zchunk
-DISTVERSION=	1.3.2
+DISTVERSION=	1.4.0
 CATEGORIES=	archivers
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/archivers/zchunk/distinfo b/archivers/zchunk/distinfo
index f16a711dbc15..2d8c1886b78b 100644
--- a/archivers/zchunk/distinfo
+++ b/archivers/zchunk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699200043
-SHA256 (zchunk-zchunk-1.3.2_GH0.tar.gz) = 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf
-SIZE (zchunk-zchunk-1.3.2_GH0.tar.gz) = 1508683
+TIMESTAMP = 1703049106
+SHA256 (zchunk-zchunk-1.4.0_GH0.tar.gz) = 6def0481935006052774e034a22c18a1b668b8c93510188673138312003890eb
+SIZE (zchunk-zchunk-1.4.0_GH0.tar.gz) = 1513670
diff --git a/archivers/zchunk/files/patch-meson.build b/archivers/zchunk/files/patch-meson.build
index 7a5a07726815..f3173e00e262 100644
--- a/archivers/zchunk/files/patch-meson.build
+++ b/archivers/zchunk/files/patch-meson.build
@@ -1,6 +1,6 @@
---- meson.build.orig	2022-02-20 17:07:24 UTC
+--- meson.build.orig	2023-12-19 20:01:52 UTC
 +++ meson.build
-@@ -43,10 +43,19 @@ endif
+@@ -43,12 +43,21 @@ endif
  if build_machine.system() == 'windows'
      openssl_dep = dependency('openssl', modules : ['OpenSSL::SSL', 'OpenSSL::Crypto'], required : get_option('with-openssl'))
  else
@@ -9,6 +9,9 @@
  endif
  if openssl_dep.found()
      add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
+     if openssl_dep.version().version_compare('<3.0.0')
+         add_project_arguments('-DZCHUNK_OPENSSL_DEPRECATED', language : 'c')
++    endif
 +else
 +    openssl_dep = [
 +        cc.find_library('ssl', required: get_option('with-openssl')),
@@ -17,7 +20,6 @@
 +    openssl_dep = openssl_dep[0]
 +    if openssl_dep.found()
 +        add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
-+    endif
+     endif
  endif
  
- # includes
diff --git a/archivers/zchunk/pkg-plist b/archivers/zchunk/pkg-plist
index 53ecbfd29335..74cd98bc0d19 100644
--- a/archivers/zchunk/pkg-plist
+++ b/archivers/zchunk/pkg-plist
@@ -7,7 +7,7 @@ bin/zckdl
 include/zck.h
 lib/libzck.so
 lib/libzck.so.1
-lib/libzck.so.1.3.2
+lib/libzck.so.1.4.0
 libdata/pkgconfig/zck.pc
 man/man1/unzck.1.gz
 man/man1/zck.1.gz