Skip to contentSkip to conversation

libjxl: upgrade 0.11.1 -> 0.11.2

PATCH New [email protected] 1 participant 2 messages Feb 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libjxl: upgrade 0.11.1 -> 0.11.2

From: Ankur Tyagi <[email protected]>

- fix tile dimension in low memory rendering pipeline (CVE-2025-12474)
- fix number of channels for gray-to-gray color transform (CVE-2026-1837)
- djxl: reject decoding JXL files if "packed" representation size overflows size_t

https://github.com/libjxl/libjxl/releases/tag/v0.11.2

---
 .../libjxl/{libjxl_0.11.1.bb => libjxl_0.11.2.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-multimedia/libjxl/{libjxl_0.11.1.bb => libjxl_0.11.2.bb} (96%)
meta-oe/recipes-multimedia/libjxl/libjxl_0.11.2.bb renamed from meta-oe/recipes-multimedia/libjxl/libjxl_0.11.1.bb +2 -2
similarity index 96%
rename from meta-oe/recipes-multimedia/libjxl/libjxl_0.11.1.bb
rename to meta-oe/recipes-multimedia/libjxl/libjxl_0.11.2.bb
index 8170c9055d..617d3bc502 100644
@@ -8,11 +8,11 @@ inherit cmake pkgconfig mime
 
 DEPENDS = "highway brotli"
 
-SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1 \
+SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1;tag=v${PV} \
            file://0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch \
            "
 
-SRCREV = "794a5dcf0d54f9f0b20d288a12e87afb91d20dfc"
+SRCREV = "332feb17d17311c748445f7ee75c4fb55cc38530"
 
 EXTRA_OECMAKE = " \
 	-DCMAKE_BUILD_TYPE=Release \
#1 lore raw

PATCH 2/2 postgresql: upgrade 17.7 -> 17.8

From: Ankur Tyagi <[email protected]>

License-Update: Update license year to 2026

Refreshed patches for version 17.8

Includes fix for CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, CVE-2026-2006

Release Notes:
https://www.postgresql.org/docs/release/17.8/

---
 .../postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch  | 2 +-
 .../postgresql/files/0002-Improve-reproducibility.patch  | 9 +++------
 ...configure.ac-bypass-autoconf-2.69-version-check.patch | 6 +++---
 .../files/0004-config_info.c-not-expose-build-info.patch | 4 ++--
 .../0005-postgresql-fix-ptest-failure-of-sysviews.patch  | 5 +----
 .../recipes-dbs/postgresql/files/not-check-libperl.patch | 6 +++---
 .../{postgresql_17.7.bb => postgresql_17.8.bb}           | 4 ++--
 7 files changed, 15 insertions(+), 21 deletions(-)
 rename meta-oe/recipes-dbs/postgresql/{postgresql_17.7.bb => postgresql_17.8.bb} (76%)
meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch +1 -1
index 89a509087f..445a6d4910 100644
@@ -1,4 +1,4 @@
-From f0d8240dbf594e6dfab31fd7d70ce340ac365a65 Mon Sep 17 00:00:00 2001
+From ab23817b4f4a02de21f63800adc30d6236c15c8b Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sun, 3 Nov 2024 15:50:50 -0800
 Subject: [PATCH] tcl.m4: Recognize tclsh9
meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch +3 -6
index b3e87cbc46..e0605347e3 100644
@@ -1,7 +1,7 @@
-From 084cc44215c1d5e6d33bc3d2e1d24da4fc98bdcd Mon Sep 17 00:00:00 2001
+From 736c190e0c8a1c5ce3dc84292d066292e969d81e Mon Sep 17 00:00:00 2001
 From: Changqing Li <[email protected]>
 Date: Mon, 28 Dec 2020 16:38:21 +0800
-Subject: [PATCH 2/5] Improve reproducibility,
+Subject: [PATCH] Improve reproducibility,
 
 Remove build patch from binaries which pg_config do
 not record var-CC, var-CFLAGS, and configure
@@ -23,7 +23,7 @@ Signed-off-by: Changqing Li <[email protected]>
  1 file changed, 3 deletions(-)
 
 diff --git a/src/common/Makefile b/src/common/Makefile
-index 113029b..58842a6 100644
+index 3d83299..e14cda6 100644
 --- a/src/common/Makefile
 +++ b/src/common/Makefile
 @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global
@@ -36,6 +36,3 @@ index 113029b..58842a6 100644
  override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\""
  override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
  override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
--- 
-2.25.1
-
meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch +3 -3
index ce19bacc47..b91228aedd 100644
@@ -1,4 +1,4 @@
-From 30b1b37d309f67ba6d58f2197bd917107bc7d56c Mon Sep 17 00:00:00 2001
+From 29289c6f5b665ed9943bb7701a542fcdf64c4a22 Mon Sep 17 00:00:00 2001
 From: Yi Fan Yu <[email protected]>
 Date: Fri, 5 Feb 2021 17:15:42 -0500
 Subject: [PATCH] configure.ac: bypass autoconf 2.69 version check
@@ -13,12 +13,12 @@ Signed-off-by: Yi Fan Yu <[email protected]>
  1 file changed, 4 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 642dbde..af37179 100644
+index 856b091..646394c 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
  
- AC_INIT([PostgreSQL], [17.7], [[email protected]], [], [https://www.postgresql.org/])
+ AC_INIT([PostgreSQL], [17.8], [[email protected]], [], [https://www.postgresql.org/])
  
 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
 -Untested combinations of 'autoconf' and PostgreSQL versions are not
meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch +2 -2
index d94f028036..1514c223c1 100644
@@ -1,4 +1,4 @@
-From 62733bdc9346651637d9e5ac7cbf8d7311ef5d97 Mon Sep 17 00:00:00 2001
+From e4b32033827ed73c95e6e6aa26dd45e828ffc18b Mon Sep 17 00:00:00 2001
 From: Mingli Yu <[email protected]>
 Date: Mon, 1 Aug 2022 15:44:38 +0800
 Subject: [PATCH] config_info.c: not expose build info
@@ -14,7 +14,7 @@ Signed-off-by: Mingli Yu <[email protected]>
  2 files changed, 2 insertions(+), 70 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index f0fa973..8ccd8bc 100644
+index 646394c..f5a5590 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2024, PostgreSQL Global Development Group])
meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch +1 -4
index 8219fc80e9..753cd1bb97 100644
@@ -1,4 +1,4 @@
-From d1fb37569b5a8c21968f69164e8bc6e4bb0185eb Mon Sep 17 00:00:00 2001
+From 220b65291734b81a3c232877cf5fced20fe773e3 Mon Sep 17 00:00:00 2001
 From: Manoj Saun <[email protected]>
 Date: Wed, 22 Mar 2023 08:07:26 +0000
 Subject: [PATCH] postgresql: fix ptest failure of sysviews
@@ -44,6 +44,3 @@ index b047fb5..d1e3999 100644
  
  -- We expect no cursors in this test; see also portals.sql
  select count(*) = 0 as ok from pg_cursors;
--- 
-2.34.1
-
meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +3 -3
index a2f0500a8c..1142ff4878 100644
@@ -1,4 +1,4 @@
-From 1a9416bae71aa935797add3fa11407732ad010c0 Mon Sep 17 00:00:00 2001
+From 29e76cad362c7154920aa49aa0137e1773c4d3ec Mon Sep 17 00:00:00 2001
 From: Changqing Li <[email protected]>
 Date: Tue, 27 Nov 2018 13:25:15 +0800
 Subject: [PATCH] not check libperl under cross compiling
@@ -20,10 +20,10 @@ Signed-off-by: Changqing Li <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index f398184..493d5cd 100644
+index ce0966f..856b091 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2336,7 +2336,7 @@ Use --without-tcl to disable building PL/Tcl.])
+@@ -2340,7 +2340,7 @@ Use --without-tcl to disable building PL/Tcl.])
  fi
  
  # check for <perl.h>
meta-oe/recipes-dbs/postgresql/postgresql_17.8.bb renamed from meta-oe/recipes-dbs/postgresql/postgresql_17.7.bb +2 -2
similarity index 76%
rename from meta-oe/recipes-dbs/postgresql/postgresql_17.7.bb
rename to meta-oe/recipes-dbs/postgresql/postgresql_17.8.bb
index 81b096194c..ad1e9704cc 100644
@@ -1,6 +1,6 @@
 require postgresql.inc
 
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=08b6032a749e67f6e3de84ea8e466933"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=55760ee57ce4e51e4b57f0801ff032dd"
 
 SRC_URI += "\
    file://not-check-libperl.patch \
@@ -12,6 +12,6 @@ SRC_URI += "\
    file://0001-tcl.m4-Recognize-tclsh9.patch \
 "
 
-SRC_URI[sha256sum] = "ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5"
+SRC_URI[sha256sum] = "a88d195dd93730452d0cfa1a11896720d6d1ba084bc2be7d7fc557fa4e4158a0"
 
 CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Doesn't apply to our configuration of postgresql so we can safely ignore it."