]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
json-c: Update to version 0.17
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 27 Aug 2023 10:17:38 +0000 (12:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 29 Aug 2023 09:51:28 +0000 (09:51 +0000)
- 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>
config/rootfiles/common/json-c
lfs/json-c

index 58b6916af2a2fd681b365c7a9412b48375734f26..f050376cba2d96c6ff8d0c995f37557bae63e6be 100644 (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
index 642afd26a1296d4e0f4905dedeb4ba353594fdb1..e529eb14136b83d767e94c612a8bc1048af5165c 100644 (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)