From patchwork Tue Dec 12 18:00:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7392 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4SqRHX2P0Lz3wtP for ; Tue, 12 Dec 2023 18:00:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4SqRHV6PrKzvJ; Tue, 12 Dec 2023 18:00:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SqRHV4tg0z30HZ; Tue, 12 Dec 2023 18:00:54 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4SqRHS3xlqz2xMJ for ; Tue, 12 Dec 2023 18:00:52 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4SqRHR4kXjzkZ; Tue, 12 Dec 2023 18:00:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1702404051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aFvaqzvqhi7EE6MzyU4Rr0bgnfpkRQd5BHce7LP/xOM=; b=VXAvwyyNI435rfXjIVXjNLHDkqVeOEYITfosuQOmFqAvCrdv7uiy4VqwRabC/eTRE8Ftz7 GMT3ZW78+jc00kCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1702404051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aFvaqzvqhi7EE6MzyU4Rr0bgnfpkRQd5BHce7LP/xOM=; b=jEj2t5gMLidwjHVrGBFUkLOQHG1OtBjnlkigQ1h9EqYKTPLXbArDyIt4SuSyYc2JHGO3lD Nm+eKhGwXambEHY8s4QZnmqU9bCLeNhcVQ+oufFD7pnQHMZmyezgGIGt+L0/QNPCSMoaQb /+Bv4KGT11DQ9OyL4cn0Lf2FFeiB6RJZEZ+vZo8TDsMOHoBiRwnV8idazf3NHUw0QiJ8fx szNlqf2Ods56A3OMKv/Qxw9zHlOiq7rE57tnJVCKdetDa7trFdYnB9VQBOhIlhiQnjWkmk sZlox1kDcQTjBaipeeS+GGxpIIIMkDHjacs81LoOheEQCRYzlB174b3Ipf/3YQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] json-c: Update to version 0.17-20230812 Date: Tue, 12 Dec 2023 19:00:44 +0100 Message-ID: <20231212180044.102098-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: TOHYFZN7NRGFTJV5JDGRXNFIPVNHXMKF X-Message-ID-Hash: TOHYFZN7NRGFTJV5JDGRXNFIPVNHXMKF X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - IPFire-3.x - Update from version 0.16-20220414 to 0.17020230812 - Changelog 0.17 (up to commit 077661f, 2023-08-08) 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 --- json-c/json-c.nm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/json-c/json-c.nm b/json-c/json-c.nm index fcca69087..e61f3d875 100644 --- a/json-c/json-c.nm +++ b/json-c/json-c.nm @@ -4,8 +4,8 @@ ############################################################################### name = json-c -version = 0.16 -reldate = 20220414 +version = 0.17 +reldate = 20230812 release = 1 thisapp = %{name}-%{version}-%{reldate} @@ -21,7 +21,7 @@ description objects. end -source_dl = https://github.com/json-c/json-c/archive/ +source_dl = https://github.com/json-c/json-c/archive/refs/tags/ build requires