archivers/libzip: Update to 1.9.2

PR:		263996
Reported by:	brnrd
Submitted by:	dizzyy
Approved by:	rakuco
This commit is contained in:
Bernard Spil 2022-08-05 17:55:41 +00:00
parent 2bd42152ca
commit 7df84dbe4a
4 changed files with 14 additions and 26 deletions

View file

@ -1,7 +1,8 @@
PORTNAME= libzip
PORTVERSION= 1.7.3
PORTVERSION= 1.9.2
CATEGORIES= archivers devel
MASTER_SITES= https://libzip.org/download/
MASTER_SITES= https://github.com/nih-at/${PORTNAME}/releases/download/v${DISTVERSION}/ \
https://libzip.org/download/
MAINTAINER= rakuco@FreeBSD.org
COMMENT= C library for reading, creating, and modifying ZIP archives
@ -9,11 +10,13 @@ COMMENT= C library for reading, creating, and modifying ZIP archives
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
CPE_VENDOR= nih
LIB_DEPENDS= libzstd.so:archivers/zstd
USES= cmake cpe perl5 ssl tar:xz
CPE_VENDOR= nih
USE_LDCONFIG= yes
USE_PERL5= test
TEST_TARGET= test
CMAKE_OFF= ENABLE_COMMONCRYPTO ENABLE_GNUTLS ENABLE_MBEDTLS

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1609865777
SHA256 (libzip-1.7.3.tar.xz) = a60473ffdb7b4260c08bfa19c2ccea0438edac11193c3afbbb1f17fbcf6c6132
SIZE (libzip-1.7.3.tar.xz) = 747372
TIMESTAMP = 1657800190
SHA256 (libzip-1.9.2.tar.xz) = c93e9852b7b2dc931197831438fee5295976ee0ba24f8524a8907be5c2ba5937
SIZE (libzip-1.9.2.tar.xz) = 763980

View file

@ -1,18 +0,0 @@
commit fd89e242d16128dedef08f47d99ae56aa19b0591
Author: Ørjan Malde <red@foxi.me>
Date: Wed Jul 15 12:16:16 2020 +0200
Include limits.h for INT_MAX
diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c
index 1cb00479..60f92758 100644
--- lib/zip_crypto_openssl.c
+++ lib/zip_crypto_openssl.c
@@ -38,6 +38,7 @@
#include "zip_crypto.h"
#include <openssl/rand.h>
+#include <limits.h>
#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
#define USE_OPENSSL_1_0_API

View file

@ -9,7 +9,7 @@ lib/cmake/libzip/libzip-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/libzip/libzip-targets.cmake
lib/libzip.so
lib/libzip.so.5
lib/libzip.so.5.3
lib/libzip.so.5.5
libdata/pkgconfig/libzip.pc
share/man/man1/zipcmp.1.gz
share/man/man1/zipmerge.1.gz
@ -18,8 +18,8 @@ share/man/man3/ZIP_SOURCE_GET_ARGS.3.gz
share/man/man3/libzip.3.gz
share/man/man3/zip_add.3.gz
share/man/man3/zip_add_dir.3.gz
share/man/man3/zip_compression_method_supported.3.gz
share/man/man3/zip_close.3.gz
share/man/man3/zip_compression_method_supported.3.gz
share/man/man3/zip_delete.3.gz
share/man/man3/zip_dir_add.3.gz
share/man/man3/zip_discard.3.gz
@ -54,6 +54,7 @@ share/man/man3/zip_file_extra_fields_count_by_id.3.gz
share/man/man3/zip_file_get_comment.3.gz
share/man/man3/zip_file_get_error.3.gz
share/man/man3/zip_file_get_external_attributes.3.gz
share/man/man3/zip_file_is_seekable.3.gz
share/man/man3/zip_file_rename.3.gz
share/man/man3/zip_file_replace.3.gz
share/man/man3/zip_file_set_comment.3.gz
@ -80,6 +81,7 @@ share/man/man3/zip_libzip_version.3.gz
share/man/man3/zip_name_locate.3.gz
share/man/man3/zip_open.3.gz
share/man/man3/zip_open_from_source.3.gz
share/man/man3/zip_register_cancel_callback_with_state.3.gz
share/man/man3/zip_register_progress_callback.3.gz
share/man/man3/zip_register_progress_callback_with_state.3.gz
share/man/man3/zip_rename.3.gz
@ -124,6 +126,7 @@ share/man/man3/zip_source_win32handle.3.gz
share/man/man3/zip_source_win32handle_create.3.gz
share/man/man3/zip_source_win32w.3.gz
share/man/man3/zip_source_win32w_create.3.gz
share/man/man3/zip_source_window.3.gz
share/man/man3/zip_source_write.3.gz
share/man/man3/zip_source_zip.3.gz
share/man/man3/zip_stat.3.gz