10 Commits

Author SHA1 Message Date
Gyorgy Sarvari
dc2c6a514e
raptor2: patch CVE-2024-57822 and CVE-2024-57823
Details: https://nvd.nist.gov/vuln/detail/CVE-2024-57822
https://nvd.nist.gov/vuln/detail/CVE-2024-57823

Pick the patches mentioned in the github issue[1] mentioned
in the NVD advisories (both of them are covered by the same issue)

[1]: https://github.com/dajobe/raptor/issues/70

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-20 08:27:12 -08:00
Gyorgy Sarvari
15aca0b2fa
raptor2: set CVE_PRODUCT
All relevant CVEs are files against these CPEs.

See CVE db query (zediious vendor is not relevant):

sqlite> select * from PRODUCTs where PRODUCT like '%raptor%' and vendor <> 'symantec' and product <> 'velociraptor';
CVE-2012-0037|librdf|raptor|||2.0.7|<
CVE-2017-18926|librdf|raptor_rdf_syntax_library|2.0.15|=||
CVE-2020-25713|librdf|raptor_rdf_syntax_library|2.0.15|=||
CVE-2023-49078|zediious|raptor-web|0.4.4|=||
CVE-2024-57822|librdf|raptor_rdf_syntax_library|||2.0.16|<=
CVE-2024-57823|librdf|raptor_rdf_syntax_library|||2.0.16|<=

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-12 08:53:47 -08:00
Khem Raj
2f57fc64f4
raptor2: Do not use curl-config to detect curl
it fails in cross build environment, use pkg-config instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 15:46:31 -07:00
Ross Burton
a76dab8174
raptor2: inherit gtk-doc
Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-12 10:30:33 -08:00
Martin Jansa
fe5b0235b1 raptor2: backport a fix to build with libxml2-2.11
* fixes:
  ../../raptor2-2.0.16/src/raptor_libxml.c:256:12: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked'
  256 |     if(!ret->checked)
      |            ^~
  ../../raptor2-2.0.16/src/raptor_libxml.c:257:10: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked'
  257 |       ret->checked = 1;
      |          ^~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-28 13:53:12 -07:00
Wang Mingyu
1928bc1741 raptor2: upgrade 2.0.15 -> 2.0.16
0001-Match-reutrn-type-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch
0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch
removed since they're included in 2.0.16

License-Update:
 Copyright year updatd to 2023.
 "David Beckett" changed to "Dave Beckett"
 URL from http changed to https

Changelog:
==========
-  Fixes CVE-2017-18926 and CVE-2020-25713
-  Multiple Appveyor Windows and CMake build fixes by 0u812. (Note: the
   resulting binaries and libraries were not tested on Windows)
-  Turtle parser now reads input in chunks so can handle huge files. Patch
-  Added a serializer for the mKR language.
-  Rapper utility now counts triples using longs
-  Several smaller portability fixes for OpenBSD and cross building

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 23:45:17 -08:00
Yi Zhao
4386b15a49 meta-oe: fix Upstream-Status format
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Khem Raj
e5b867e1a8 raptor2: Match reutrn type from RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Andreas Müller
219e3f925e raptor2: initial add 2.0.15
* it is it in meta-office for a while. Now I need it in meta-qt5-extra too
* LICENSE.txt summarizes all licenses and explains that ot is user's choice
  which one to use

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:58:54 +01:00