libxml2: upgrade 2.13.6 -> 2.14.3

Handle CVE-2025-32414 and CVE-2025-32415.

* rebased install-tests.patch
* removed testsuite testThreads (merged into runtest.c)
  * 481fd6bbee
* removed IPv6 option (as part of with ftp support removal)
  * dba1ed85a3
* added testsuites testlimits testparser (already present before but not executed)

License-Update: Mention contributors in Copyright
4bd66d4549

(From OE-Core rev: 6585649fdd2ab9e83dfd60eb77ff7821a1363d50)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Marko 2025-05-22 14:13:16 +02:00 committed by Richard Purdie
parent b7416cc87e
commit 383df93c6f
3 changed files with 6 additions and 9 deletions

View File

@ -15,7 +15,7 @@ diff --git a/Makefile.am b/Makefile.am
index 4cb9a5c..8adcd7e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,16 @@ check_PROGRAMS = \
@@ -26,6 +26,16 @@ check_PROGRAMS = \
testparser \
testrecurse
@ -29,6 +29,6 @@ index 4cb9a5c..8adcd7e 100644
+ cp -r $(srcdir)/result $(DESTDIR)$(ptestdir)
+ cp -r $(srcdir)/python/tests $(DESTDIR)$(ptestdir)/python
+
bin_PROGRAMS = xmllint xmlcatalog
bin_PROGRAMS = xmllint
bin_SCRIPTS = xml2-config

View File

@ -5,7 +5,7 @@ set -e
export LC_ALL=en_US.UTF-8
# testModule isn't that useful and hard-codes buildtree, so we don't run that
TESTS="runtest runsuite testrecurse testchar testdict testThreads runxmlconf testapi"
TESTS="runtest runsuite testrecurse testchar testdict runxmlconf testapi testlimits testparser"
for T in $TESTS; do
echo Running $T

View File

@ -4,7 +4,7 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libxml2"
BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml2"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://Copyright;md5=f437ed9058e8e5135e47c01e973376ba \
LIC_FILES_CHKSUM = "file://Copyright;md5=5873615e8a9ecbf5c8857c4312ee05d6 \
file://dict.c;beginline=6;endline=15;md5=2b4b7b827d2d8b080372433c4c9c85b6 \
file://list.c;beginline=4;endline=13;md5=b9c25b021ccaf287e50060602d20f3a7 \
"
@ -19,7 +19,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
file://install-tests.patch \
"
SRC_URI[archive.sha256sum] = "277294cb33119ab71b2bc81f2f445e9bc9435b893ad15bb2cd2b0e859a0ee84a"
SRC_URI[archive.sha256sum] = "6de55cacc8c2bc758f2ef6f93c313cb30e4dd5d84ac5d3c7ccbd9344d8cc6833"
SRC_URI[testtar.sha256sum] = "c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273"
# Disputed as a security issue, but fixed in d39f780
@ -27,11 +27,8 @@ CVE_STATUS[CVE-2023-45322] = "disputed: issue requires memory allocation to fail
BINCONFIG = "${bindir}/xml2-config"
PACKAGECONFIG ??= "python \
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
"
PACKAGECONFIG ??= "python"
PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
inherit autotools pkgconfig binconfig-disabled ptest