summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/json-c
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/json-c')
-rw-r--r--meta/recipes-devtools/json-c/json-c/run-ptest2
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.18.bb (renamed from meta/recipes-devtools/json-c/json-c_0.17.bb)16
2 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-devtools/json-c/json-c/run-ptest b/meta/recipes-devtools/json-c/json-c/run-ptest
index 2d0e94cd3a..acdce54f3e 100644
--- a/meta/recipes-devtools/json-c/json-c/run-ptest
+++ b/meta/recipes-devtools/json-c/json-c/run-ptest
@@ -3,6 +3,8 @@
3# This script is used to run json-c test suites 3# This script is used to run json-c test suites
4cd tests 4cd tests
5 5
6export USE_VALGRIND=0
7
6ret_val=0 8ret_val=0
7for i in test*.test; do 9for i in test*.test; do
8 # test_basic is not an own testcase, just 10 # test_basic is not an own testcase, just
diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb b/meta/recipes-devtools/json-c/json-c_0.18.bb
index 20bcece768..c112aacf4b 100644
--- a/meta/recipes-devtools/json-c/json-c_0.17.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.18.bb
@@ -1,5 +1,7 @@
1SUMMARY = "C bindings for apps which will manipulate JSON data" 1SUMMARY = "A JSON implementation in C"
2DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C." 2DESCRIPTION = "JSON-C implements a reference counting object model that allows \
3you to easily construct JSON objects in C, output them as JSON formatted strings \
4and parse JSON formatted strings back into the C representation of JSON objects."
3HOMEPAGE = "https://github.com/json-c/json-c/wiki" 5HOMEPAGE = "https://github.com/json-c/json-c/wiki"
4LICENSE = "MIT" 6LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" 7LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
@@ -7,18 +9,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
7SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ 9SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
8 file://run-ptest \ 10 file://run-ptest \
9 " 11 "
10SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6" 12SRC_URI[sha256sum] = "876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724"
11 13
12# NVD uses full tag name including date 14# NVD uses full tag name including date
13CVE_VERSION = "0.17-20230812" 15CVE_VERSION = "0.18-20240915"
14 16
15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags" 17UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
16UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+" 18UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
17 19
18RPROVIDES:${PN} = "libjson" 20RPROVIDES:${PN} = "libjson"
19 21
20# Required for ICECC builds 22# Apps aren't needed/packaged and their CMakeLists.txt is incompatible with CMake 4+.
21EXTRA_OECMAKE = "-DDISABLE_WERROR=ON" 23EXTRA_OECMAKE = "-DDISABLE_WERROR=ON \
24 -DBUILD_APPS=OFF \
25"
22 26
23inherit cmake ptest 27inherit cmake ptest
24 28