Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/libzip/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile 21 Sep 2019 15:56:20 -0000 1.21
+++ Makefile 1 Feb 2020 17:41:54 -0000
@@ -2,9 +2,9 @@
COMMENT= library for reading, creating and modifying zip archives
-DISTNAME= libzip-1.5.2
+DISTNAME= libzip-1.6.0
CATEGORIES= archivers
-SHARED_LIBS += zip 3.0 # 5.0
+SHARED_LIBS += zip 4.0 # 5.0
HOMEPAGE= https://libzip.org/
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
@@ -12,13 +12,14 @@ MAINTAINER= Brian Callahan <bcallah@ope
# BSD
PERMIT_PACKAGE= Yes
-WANTLIB += bz2 c crypto ssl z
+WANTLIB += bz2 c crypto lzma ssl z
MASTER_SITES= https://libzip.org/download/
MODULES = devel/cmake
-LIB_DEPENDS = archivers/bzip2
+LIB_DEPENDS = archivers/bzip2 \
+ archivers/xz
CONFIGURE_ARGS = -DENABLE_COMMONCRYPTO=OFF \
-DENABLE_GNUTLS=OFF \
Index: distinfo
===================================================================
RCS file: /cvs/ports/archivers/libzip/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo 21 Sep 2019 15:56:20 -0000 1.14
+++ distinfo 1 Feb 2020 17:41:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (libzip-1.5.2.tar.gz) = vmlKSrsv/l7AIHQUZ1fItWCE286/MpEjyEsgVBdDXhU=
-SIZE (libzip-1.5.2.tar.gz) = 1203524
+SHA256 (libzip-1.6.0.tar.gz) = cMS7NR3sJW+3JwU6Fh+qFMb+JEmIsSlDgAqvxcy/Wv8=
+SIZE (libzip-1.6.0.tar.gz) = 1214206
Index: patches/patch-src_ziptool_c
===================================================================
RCS file: patches/patch-src_ziptool_c
diff -N patches/patch-src_ziptool_c
--- patches/patch-src_ziptool_c 23 Apr 2018 21:48:07 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$OpenBSD: patch-src_ziptool_c,v 1.4 2018/04/23 21:48:07 bcallah Exp $
-
-time_t == %lld
-
-Index: src/ziptool.c
---- src/ziptool.c.orig
-+++ src/ziptool.c
-@@ -503,7 +503,7 @@ set_file_mtime(int argc, char *argv[]) {
- idx = strtoull(argv[0], NULL, 10);
- mtime = (time_t)strtoull(argv[1], NULL, 10);
- if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
-- fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': %s\n", idx, mtime, zip_strerror(za));
-+ fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%lld': %s\n", idx, (long long) mtime, zip_strerror(za));
- return -1;
- }
- return 0;
-@@ -523,7 +523,7 @@ set_file_mtime_all(int argc, char *argv[]) {
- }
- for (idx = 0; idx < (zip_uint64_t)num_entries; idx++) {
- if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
-- fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': %s\n", idx, mtime, zip_strerror(za));
-+ fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%lld': %s\n", idx, (long long) mtime, zip_strerror(za));
- return -1;
- }
- }
Hi ports --
Attached is an update to libzip.
Changelog is here: https://libzip.org/news/release-1.6.0.html
All tests pass. I then built everything that depends on libzip and
everything built OK too.
OK?
~Brian
No comments:
Post a Comment