diff options
author | wiz <wiz@pkgsrc.org> | 2017-12-30 00:19:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-12-30 00:19:56 +0000 |
commit | d5ca0d79812bcde03523a40f837c99b812fedbdd (patch) | |
tree | 659bf64f2abbc2fe00f41284cbc200773a5d3ced | |
parent | 61fdaf8e2067730f73f3a9ecccd4e9e28cb25a43 (diff) | |
download | pkgsrc-d5ca0d79812bcde03523a40f837c99b812fedbdd.tar.gz |
libzip: update to 1.4.0.
1.4.0 [2017-12-29]
==================
* Improve build with cmake
* Retire autoconf/automake build system
* Add `zip_source_buffer_fragment()`.
* Add support to clone unchanged beginning of archive (instead of rewriting it).
Supported for buffer sources and on Apple File System.
* Add support for Microsoft Universal Windows Platform.
-rw-r--r-- | archivers/libzip/Makefile | 17 | ||||
-rw-r--r-- | archivers/libzip/PLIST | 12 | ||||
-rw-r--r-- | archivers/libzip/distinfo | 11 | ||||
-rw-r--r-- | archivers/libzip/patches/patch-regress_nonrandomopen.c | 18 |
4 files changed, 23 insertions, 35 deletions
diff --git a/archivers/libzip/Makefile b/archivers/libzip/Makefile index 083b5a85abb..1094fd3efe5 100644 --- a/archivers/libzip/Makefile +++ b/archivers/libzip/Makefile @@ -1,22 +1,21 @@ -# $NetBSD: Makefile,v 1.31 2017/11/20 10:50:09 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2017/12/30 00:19:56 wiz Exp $ -DISTNAME= libzip-1.3.2 +DISTNAME= libzip-1.4.0 CATEGORIES= archivers devel -MASTER_SITES= https://www.nih.at/libzip/ +MASTER_SITES= https://libzip.org/download/ EXTRACT_SUFX= .tar.xz MAINTAINER= wiz@NetBSD.org -HOMEPAGE= http://www.nih.at/libzip/ +HOMEPAGE= http://www.libzip.org/ COMMENT= C library to manipulate zip archives LICENSE= modified-bsd -USE_PKGLOCALEDIR= yes -USE_LIBTOOL= yes -PKGCONFIG_OVERRIDE+= ${WRKSRC}/libzip.pc.in -GNU_CONFIGURE= yes +USE_CMAKE= yes USE_TOOLS+= perl:build -TEST_TARGET= check +TEST_TARGET= test +# for tests +MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/lib .include "../../devel/zlib/buildlink3.mk" .include "../../archivers/bzip2/buildlink3.mk" diff --git a/archivers/libzip/PLIST b/archivers/libzip/PLIST index 8000e9976c6..e4a108fbe44 100644 --- a/archivers/libzip/PLIST +++ b/archivers/libzip/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.11 2017/11/19 15:44:31 wiz Exp $ +@comment $NetBSD: PLIST,v 1.12 2017/12/30 00:19:56 wiz Exp $ bin/zipcmp bin/zipmerge bin/ziptool include/zip.h include/zipconf.h -lib/libzip.la +lib/libzip.so +lib/libzip.so.5 +lib/libzip.so.5.0 lib/pkgconfig/libzip.pc man/man1/zipcmp.1 man/man1/zipmerge.1 @@ -82,12 +84,18 @@ man/man3/zip_set_file_comment.3 man/man3/zip_set_file_compression.3 man/man3/zip_source.3 man/man3/zip_source_begin_write.3 +man/man3/zip_source_begin_write_cloning.3 man/man3/zip_source_buffer.3 +man/man3/zip_source_buffer_create.3 +man/man3/zip_source_buffer_fragment.3 +man/man3/zip_source_buffer_fragment_create.3 man/man3/zip_source_close.3 man/man3/zip_source_commit_write.3 man/man3/zip_source_error.3 man/man3/zip_source_file.3 +man/man3/zip_source_file_create.3 man/man3/zip_source_filep.3 +man/man3/zip_source_filep_create.3 man/man3/zip_source_free.3 man/man3/zip_source_function.3 man/man3/zip_source_function_create.3 diff --git a/archivers/libzip/distinfo b/archivers/libzip/distinfo index 19cae8cb744..45bb4f34148 100644 --- a/archivers/libzip/distinfo +++ b/archivers/libzip/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.27 2017/12/18 16:48:20 jperkin Exp $ +$NetBSD: distinfo,v 1.28 2017/12/30 00:19:56 wiz Exp $ -SHA1 (libzip-1.3.2.tar.xz) = 5a940f2132066b258e42c60530599fec579be082 -RMD160 (libzip-1.3.2.tar.xz) = ade49a6cfddc190bd2613d3e06714b124c9bd938 -SHA512 (libzip-1.3.2.tar.xz) = d7b678c4a39f7bc33f90febac1b42230eac4d414e835dab7d3458a81f047482cee9ee65b6374bdf8abbf5a33c23725e8771da51300ba92ddc6728b570caec255 -Size (libzip-1.3.2.tar.xz) = 942756 bytes -SHA1 (patch-regress_nonrandomopen.c) = fd569d7dc8725adb16127cebefd16b196162e406 +SHA1 (libzip-1.4.0.tar.xz) = 6dded3edf48eeb10b97fa0fb8f7aa661d3137823 +RMD160 (libzip-1.4.0.tar.xz) = 3dfdceb7432996f691622a189a165756b5ef3b3f +SHA512 (libzip-1.4.0.tar.xz) = 125e4de8b02781023f9bed450747b9c36942cbf41de7a863402786d1c7b848e19b425f4b0c26ab3857c6bbfd8571bcd9cb1434df355c59148db54f1b951f5c56 +Size (libzip-1.4.0.tar.xz) = 713912 bytes diff --git a/archivers/libzip/patches/patch-regress_nonrandomopen.c b/archivers/libzip/patches/patch-regress_nonrandomopen.c deleted file mode 100644 index f8c8265a853..00000000000 --- a/archivers/libzip/patches/patch-regress_nonrandomopen.c +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-regress_nonrandomopen.c,v 1.1 2017/12/18 16:48:20 jperkin Exp $ - -Work around redefine_extname in SunOS headers. - ---- regress/nonrandomopen.c.orig 2017-10-06 11:00:00.000000000 +0000 -+++ regress/nonrandomopen.c -@@ -31,6 +31,11 @@ - IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -+#if defined(__sun) -+#pragma redefine_extname open open -+#pragma redefine_extname open64 open64 -+#endif -+ - #include <fcntl.h> - #include <stdarg.h> - #include <stdlib.h> |