1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

archivers/zchunk: Update 1.1.16 -> 1.2.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2022-02-27 09:08:18 -08:00
parent 1f66e54541
commit 0216168ecb
4 changed files with 24 additions and 23 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= zchunk
DISTVERSION= 1.1.16
DISTVERSION= 1.2.0
CATEGORIES= archivers
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1623781309
SHA256 (zchunk-zchunk-1.1.16_GH0.tar.gz) = 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c
SIZE (zchunk-zchunk-1.1.16_GH0.tar.gz) = 1452197
TIMESTAMP = 1645979328
SHA256 (zchunk-zchunk-1.2.0_GH0.tar.gz) = 8c9eca82845b656ccae5c0e9dc097cd7a6830981e2529677ce9a5617a1f50321
SIZE (zchunk-zchunk-1.2.0_GH0.tar.gz) = 1508213

View File

@ -1,22 +1,23 @@
--- meson.build.orig 2020-03-14 23:03:28 UTC
--- meson.build.orig 2022-02-20 17:07:24 UTC
+++ meson.build
@@ -31,9 +31,18 @@ endif
if get_option('with-openssl') == 'disabled'
openssl_dep = dependency('', required : false)
@@ -43,10 +43,19 @@ endif
if build_machine.system() == 'windows'
openssl_dep = dependency('openssl', modules : ['OpenSSL::SSL', 'OpenSSL::Crypto'], required : get_option('with-openssl'))
else
- openssl_dep = dependency('openssl', required : get_option('with-openssl') == 'enabled')
- openssl_dep = dependency('openssl', required : get_option('with-openssl'))
+ openssl_dep = dependency('openssl', required : false)
endif
if openssl_dep.found()
add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
+else
+ openssl_dep = [
+ cc.find_library('ssl', required: get_option('with-openssl') == 'enabled'),
+ cc.find_library('crypto', required: get_option('with-openssl') == 'enabled')
+ cc.find_library('ssl', required: get_option('with-openssl')),
+ cc.find_library('crypto', required: get_option('with-openssl'))
+ ]
+ openssl_dep = openssl_dep[0]
+ if openssl_dep.found()
+ add_project_arguments('-DZCHUNK_OPENSSL', language : 'c')
+ endif
endif
endif
# includes

View File

@ -7,7 +7,7 @@ bin/zckdl
include/zck.h
lib/libzck.so
lib/libzck.so.1
lib/libzck.so.1.1.16
lib/libzck.so.1.2.0
libdata/pkgconfig/zck.pc
man/man1/unzck.1.gz
man/man1/zck.1.gz