summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Melki <christian.melki@t2data.com>2022-09-08 15:16:24 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-09-09 12:33:09 +0200
commit72884b2179f4aa10c4757e675ca57dc922f49c9d (patch)
tree8746f9e82ca2ab8a9d528c57ef684b44b98911b7
parentfc7bcf08f478dd7c3f2f095dedbee19b16d95f3d (diff)
downloadptxdist-72884b2179f4aa10c4757e675ca57dc922f49c9d.tar.gz
ptxdist-72884b2179f4aa10c4757e675ca57dc922f49c9d.tar.xz
libxml2: Version bump. 2.9.14 -> 2.10.2.
https://github.com/GNOME/libxml2/blob/2.10/NEWS$ New major version, introduces a bit of rework. Might create some issues as a few deprecated things are being dropped. * Fixes CVE-2022-2309, plus a bunch of other security fixes. * Move patch forward. * Remove docbook and another dropped configure option. Signed-off-by: Christian Melki <christian.melki@t2data.com> Message-Id: <20220908131624.211983-1-christian.melki@t2data.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/libxml2-2.10.2/0200-xml2-config-is-not-SYSROOT-aware.patch (renamed from patches/libxml2-2.9.14/0200-xml2-config-is-not-SYSROOT-aware.patch)0
-rw-r--r--patches/libxml2-2.10.2/series (renamed from patches/libxml2-2.9.14/series)0
-rw-r--r--rules/libxml2.in7
-rw-r--r--rules/libxml2.make6
4 files changed, 2 insertions, 11 deletions
diff --git a/patches/libxml2-2.9.14/0200-xml2-config-is-not-SYSROOT-aware.patch b/patches/libxml2-2.10.2/0200-xml2-config-is-not-SYSROOT-aware.patch
index 96bd12dbd..96bd12dbd 100644
--- a/patches/libxml2-2.9.14/0200-xml2-config-is-not-SYSROOT-aware.patch
+++ b/patches/libxml2-2.10.2/0200-xml2-config-is-not-SYSROOT-aware.patch
diff --git a/patches/libxml2-2.9.14/series b/patches/libxml2-2.10.2/series
index 05ba5ddea..05ba5ddea 100644
--- a/patches/libxml2-2.9.14/series
+++ b/patches/libxml2-2.10.2/series
diff --git a/rules/libxml2.in b/rules/libxml2.in
index a81b0eba6..54fdde42a 100644
--- a/rules/libxml2.in
+++ b/rules/libxml2.in
@@ -50,13 +50,6 @@ config LIBXML2_DEBUG
help
Enable debugging support.
-config LIBXML2_DOCBOOK
- bool
- default y
- prompt "Docbook support"
- help
- Enable Docbook SGML support
-
config LIBXML2_FEXCEPTIONS
bool
prompt "C++ Exception Support"
diff --git a/rules/libxml2.make b/rules/libxml2.make
index 7ddac44aa..58e201a35 100644
--- a/rules/libxml2.make
+++ b/rules/libxml2.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBXML2) += libxml2
#
# Paths and names
#
-LIBXML2_VERSION := 2.9.14
-LIBXML2_MD5 := b7b3029ac6beb32a7925225515f83ca3
+LIBXML2_VERSION := 2.10.2
+LIBXML2_MD5 := 5ffd0cd047056d5699b3363c635582bc
LIBXML2 := libxml2-$(LIBXML2_VERSION)
LIBXML2_SUFFIX := tar.xz
LIBXML2_SOURCE := $(SRCDIR)/$(LIBXML2).$(LIBXML2_SUFFIX)
@@ -44,13 +44,11 @@ LIBXML2_ENV := $(CROSS_ENV)
LIBXML2_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-static \
- --disable-rebuild-docs \
$(GLOBAL_IPV6_OPTION) \
--oldincludedir=$(SYSROOT)/usr/include \
--$(call ptx/wwo, PTXCONF_LIBXML2_C14N)-c14n \
--$(call ptx/wwo, PTXCONF_LIBXML2_CATALOG)-catalog \
--$(call ptx/wwo, PTXCONF_LIBXML2_DEBUG)-debug \
- --$(call ptx/wwo, PTXCONF_LIBXML2_DOCBOOK)-docbook \
--$(call ptx/wwo, PTXCONF_LIBXML2_FEXCEPTIONS)-fexceptions \
--$(call ptx/wwo, PTXCONF_LIBXML2_FTP)-ftp \
--$(call ptx/wwo, PTXCONF_LIBXML2_HISTORY)-history \