archivers/libzip: update to 1.8.0.

Changelog: https://libzip.org/news/release-1.8.0.html

ok bcallah (maintainer)
This commit is contained in:
tb 2021-11-17 06:52:06 +00:00
parent 21dc47304f
commit ebc3fa12cb
4 changed files with 13 additions and 34 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.26 2021/11/16 18:30:13 tb Exp $
# $OpenBSD: Makefile,v 1.27 2021/11/17 06:52:06 tb Exp $
COMMENT= library for reading, creating and modifying zip archives
DISTNAME= libzip-1.7.1
REVISION= 1
DISTNAME= libzip-1.8.0
CATEGORIES= archivers
SHARED_LIBS += zip 4.1 # 5.0
SHARED_LIBS += zip 4.2 # 5.0
HOMEPAGE= https://libzip.org/
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
@ -13,14 +12,15 @@ MAINTAINER= Brian Callahan <bcallah@openbsd.org>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += bz2 c crypto lzma ssl z
WANTLIB += bz2 c crypto lzma z zstd
MASTER_SITES= https://libzip.org/download/
MODULES = devel/cmake
LIB_DEPENDS = archivers/bzip2 \
archivers/xz
archivers/xz \
archivers/zstd
CONFIGURE_ARGS = -DENABLE_COMMONCRYPTO=OFF \
-DENABLE_GNUTLS=OFF \

View File

@ -1,2 +1,2 @@
SHA256 (libzip-1.7.1.tar.gz) = tZV7/36t+nbseccKfGGXKUkepiw4TiyfXeGzQRndO84=
SIZE (libzip-1.7.1.tar.gz) = 1220469
SHA256 (libzip-1.8.0.tar.gz) = MO5VhowKaY08YASS8r6k62LFOEm89pbSGvXrZfPzg54=
SIZE (libzip-1.8.0.tar.gz) = 1252451

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-lib_zip_crypto_openssl_c,v 1.2 2021/11/16 18:30:13 tb Exp $
Add limits.h for INT_MAX
Index: lib/zip_crypto_openssl.c
--- lib/zip_crypto_openssl.c.orig
+++ lib/zip_crypto_openssl.c
@@ -31,6 +31,7 @@
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <limits.h>
#include <stdlib.h>
#include "zipint.h"
@@ -39,7 +40,7 @@
#include <openssl/rand.h>
-#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x1010000fL
#define USE_OPENSSL_1_0_API
#endif

View File

@ -1,15 +1,16 @@
@comment $OpenBSD: PLIST,v 1.13 2020/07/11 00:42:29 bcallah Exp $
@comment $OpenBSD: PLIST,v 1.14 2021/11/17 06:52:06 tb Exp $
@bin bin/zipcmp
@bin bin/zipmerge
@bin bin/ziptool
include/zip.h
include/zipconf.h
@comment lib/cmake/libzip/libzip-version.cmake
@comment lib/cmake/
@comment lib/cmake/libzip/
lib/cmake/libzip/libzip-config-version.cmake
@comment lib/cmake/libzip/libzip-config.cmake
@comment lib/cmake/libzip/libzip-targets${MODCMAKE_BUILD_SUFFIX}
@comment lib/cmake/libzip/libzip-targets.cmake
@comment lib/cmake/libzip/libzip-version.cmake
@lib lib/libzip.so.${LIBzip_VERSION}
lib/pkgconfig/libzip.pc
@man man/man1/zipcmp.1
@ -81,6 +82,7 @@ lib/pkgconfig/libzip.pc
@man man/man3/zip_name_locate.3
@man man/man3/zip_open.3
@man man/man3/zip_open_from_source.3
@man man/man3/zip_register_cancel_callback_with_state.3
@man man/man3/zip_register_progress_callback.3
@man man/man3/zip_register_progress_callback_with_state.3
@man man/man3/zip_rename.3
@ -125,6 +127,7 @@ lib/pkgconfig/libzip.pc
@man man/man3/zip_source_win32handle_create.3
@man man/man3/zip_source_win32w.3
@man man/man3/zip_source_win32w_create.3
@man man/man3/zip_source_window.3
@man man/man3/zip_source_write.3
@man man/man3/zip_source_zip.3
@man man/man3/zip_stat.3