pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/libplist
Module Name: pkgsrc
Committed By: wiz
Date: Sun Oct 4 15:41:30 UTC 2026
Modified Files:
pkgsrc/textproc/libplist: Makefile PLIST distinfo
Log Message:
libplist: update to 2.8.0.
Set TEST_TARGET.
Version 2.8.0
~~~~~~~~~~~~~
- Changes:
* Convert plist_array_set_item, plist_array_append_item, plist_array_insert_item,
plist_array_remove_item, plist_array_item_remove, plist_dict_set_item,
plist_dict_remove_item, and plist_dict_merge from void to plist_err_t return
type so that memory allocation and other errors can be reported
* Make #PLIST_ARRAY and #PLIST_DICT iterators opaque; add plist_array_free_iter
and plist_dict_free_iter to release them
* Add JSON coercion support for non-JSON plist types
* Add OpenStep coercion support for non-OpenStep plist types
* Add circular reference detection to all format writers
* Prevent deep nesting of plist structures in all input/output formats
* plistutil: Use getopt for solid option parsing
* plistutil: Add a --nodepath option to allow selecting a specific node
* plistutil: Read STDIN in chunks instead of one byte at a time
* plistutil: preserve binary data on Windows standard streams
* Add NULL checks and error handling across the codebase (node_attach/insert
failures, realloc failures in byte_array_grow/ptr_array_insert, etc.)
* Make plist copy and free implementations iterative to avoid stack overflow
on deeply nested structures
* docs: Add OpenStep to man page
- Bugfixes:
* Fix heap overflow caused by incorrect PLIST_STRING length during copy
* Fix UTF-8 to UTF-16 decoding and enforce strict validation in bplist
* Fix inverted strcmp in string to boolean conversion
* Fix incorrect size storage in plist_copy() for PLIST_STRING nodes
* Fix is_ascii_string by using a sufficiently large data type
* Fix bplist offset_table range check and add overflow check to node offset
pointer arithmetic
* Reject insertion of plist nodes that already have a parent
* xplist: Enforce single root value inside <plist>
* xplist: Convert nested {CF$UID:<int>} dicts to PLIST_UID safely
* xplist: Harden entity unescaping against malformed input and improve
robustness of XML text parsing and value conversion
* Fix plist_is_binary() not checking for NULL input
* Fix a few memory leaks in JSON parsing and libcnary node_copy_deep()
* Fix Cython crashes
* Fix fread() unused return values by actually handling errors
* Fix Integer constructor to copy plist node (C++ bindings)
* Various smaller compiler warning and portability fixes (MSVC ssize_t,
format specifiers, WIN32 time_s support)
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/textproc/libplist/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/libplist/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/libplist/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/libplist/Makefile
diff -u pkgsrc/textproc/libplist/Makefile:1.47 pkgsrc/textproc/libplist/Makefile:1.48
--- pkgsrc/textproc/libplist/Makefile:1.47 Wed Jan 7 08:49:05 2026
+++ pkgsrc/textproc/libplist/Makefile Sun Oct 4 15:41:30 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2026/01/07 08:49:05 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2026/10/04 15:41:30 wiz Exp $
-DISTNAME= libplist-2.7.0
-PKGREVISION= 1
+DISTNAME= libplist-2.8.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=libimobiledevice/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -22,6 +21,8 @@ PKGCONFIG_OVERRIDE+= src/libplist++-2.0
PKGCONFIG_OVERRIDE+= src/libplist-2.0.pc.in
PY_PATCHPLIST= yes
+TEST_TARGET= check
+
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} > 311
Index: pkgsrc/textproc/libplist/PLIST
diff -u pkgsrc/textproc/libplist/PLIST:1.3 pkgsrc/textproc/libplist/PLIST:1.4
--- pkgsrc/textproc/libplist/PLIST:1.3 Sun Jul 3 10:13:27 2022
+++ pkgsrc/textproc/libplist/PLIST Sun Oct 4 15:41:30 2026
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2022/07/03 10:13:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/10/04 15:41:30 wiz Exp $
+bin/plist2json
bin/plistutil
include/plist/Array.h
include/plist/Boolean.h
Index: pkgsrc/textproc/libplist/distinfo
diff -u pkgsrc/textproc/libplist/distinfo:1.13 pkgsrc/textproc/libplist/distinfo:1.14
--- pkgsrc/textproc/libplist/distinfo:1.13 Thu Jun 12 06:35:39 2025
+++ pkgsrc/textproc/libplist/distinfo Sun Oct 4 15:41:30 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2025/06/12 06:35:39 wiz Exp $
+$NetBSD: distinfo,v 1.14 2026/10/04 15:41:30 wiz Exp $
-BLAKE2s (libplist-2.7.0.tar.bz2) = 33f18f23387c946fd4543b383394350b7dfd6fbad92affbeb98031a818d56f2d
-SHA512 (libplist-2.7.0.tar.bz2) = 83d0398b75ea9e610e49b4b96a7675b854c7551d4faf3e82e74c5c45cf04bbd95478cc40688f0995742e6a50601744d2a36641d0673aa7cc413f5ce2ec42f2d4
-Size (libplist-2.7.0.tar.bz2) = 484474 bytes
+BLAKE2s (libplist-2.8.0.tar.bz2) = 64e860dc99ad36be358f5c3404a639fac53b2a8306a1269d0b613980a30f601f
+SHA512 (libplist-2.8.0.tar.bz2) = 8adeb6357c3f4059f94002308d7f23b04d43156c5c7bcd62ea2a6bf077990957b8b53026d3ab31b9bfa892fe9d3b88b20219b1b0be208cb1c179ba88926eaa83
+Size (libplist-2.8.0.tar.bz2) = 519245 bytes
Home |
Main Index |
Thread Index |
Old Index