json-c: Update to version 0.17

- Update from version 0.16 to 0.17
- Update of rootfile
- Changelog
    0.17 (up to commit 077661f, 2023-08-08)
	Deprecated and removed features:
		* None
	New features
		* json_patch: add first implementation only with patch application
		* Add --disable-static and --disable-dynamic options to the cmake-configure
		  script.
		* Add -DBUILD_APPS=NO option to disable app build
		* Minimum cmake version is now 3.9
	Significant changes and bug fixes
		* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
		  closing curly or square braces on same line for empty objects or arrays.
		* Disable locale handling when targeting a uClibc system due to problems
		  with its duplocale() function.
		* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
		  now result in a json_tokener_error_parse_number.  Without that flag
		  values are capped at INT64_MIN/UINT64_MAX.
		* Fix memory leak with emtpy strings in json_object_set_string
		* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
		* Add back json_number_chars, but only because it's part of the public API.
		* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
		  platforms.
		* Specify dependent libraries, including -lbsd, in a more consistent way so
		  linking against a static json-c works better
		* Fix a variety of build problems and add & improve tests
		* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Adolf Belka
2023-08-27 12:17:38 +02:00
committed by Michael Tremer
parent c8edf45e3e
commit df80b0d554
2 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#usr/include/json-c/json_inttypes.h
#usr/include/json-c/json_object.h
#usr/include/json-c/json_object_iterator.h
#usr/include/json-c/json_patch.h
#usr/include/json-c/json_pointer.h
#usr/include/json-c/json_tokener.h
#usr/include/json-c/json_types.h
@@ -20,5 +21,5 @@
#usr/lib/cmake/json-c/json-c-targets.cmake
#usr/lib/libjson-c.so
usr/lib/libjson-c.so.5
usr/lib/libjson-c.so.5.2.0
usr/lib/libjson-c.so.5.3.0
#usr/lib/pkgconfig/json-c.pc

View File

@@ -24,7 +24,7 @@
include Config
VER = 0.16
VER = 0.17
THISAPP = json-c-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 11457fa39330338c85bfdfb0dd38fc703ad6942e730ba090c9fe017dfb81ef905d7b1bb1c768b9b51f6445a8cf3cf4007d7740be3a9878f8062edc62ba554c66
$(DL_FILE)_BLAKE2 = 26be25141447f2b652fa09d7096141a8bf7992469bcc53b275c1bc0108fc36a8898a8185c381218d3146d00fa03bdd0b837be073410fc93af943b5f083dbaa69
install : $(TARGET)