diff mbox series

[1/2] zstd: upgrade 1.5.7 -> 1.6.0

Message ID 20261125-zstd-1-6-0-v1-1-95f50c6b9de6@bootlin.com
State New
Headers show
Series zstd: upgrade 1.5.7 -> 1.6.0 and PACKAGECONFIG update | expand

Commit Message

Antonin Godard Nov. 25, 2026, 10:03 a.m. UTC
Changelog summary:

 This release comes mid-way through an effort that was initially meant to
 bring you the next version of Zstandard. Instead, it was refocused on
 answering the avalanche of reports received in the past few weeks.
 Thankfully, most of them are minor (or duplicates), but one of them is
 going to be published as a CVE, and that is why we are publishing this
 early release today.

Full changelog:
https://github.com/meta/zstd/releases/tag/v1.6.0

Verified that ptests passed on qemux86-64, and fix an issue with zstd's
usage of dd not being compatible with the one provided by busybox.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 .../0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch  | 4 ++--
 meta/recipes-extended/zstd/{zstd_1.5.7.bb => zstd_1.6.0.bb}          | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch b/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch
index d7559f7269..6163201bf2 100644
--- a/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch
+++ b/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch
@@ -1,4 +1,4 @@ 
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From 5182d7671cb65346b55d3ff8eda6388f876a7431 Mon Sep 17 00:00:00 2001
 From: Pratik Farkase <pratik.farkase@est.tech>
 Date: Thu, 27 Aug 2026 12:00:00 +0000
 Subject: [PATCH] cli-tests: skip zstd --max level when memory is insufficient
@@ -15,7 +15,7 @@  Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/tests/cli-tests/compression/levels.sh b/tests/cli-tests/compression/levels.sh
-index b8230f2..7846d3e 100755
+index b8230f2a3..7846d3ec0 100755
 --- a/tests/cli-tests/compression/levels.sh
 +++ b/tests/cli-tests/compression/levels.sh
 @@ -16,8 +16,8 @@ zstd --fast=10 file -o file-f10.zst -q
diff --git a/meta/recipes-extended/zstd/zstd_1.5.7.bb b/meta/recipes-extended/zstd/zstd_1.6.0.bb
similarity index 94%
rename from meta/recipes-extended/zstd/zstd_1.5.7.bb
rename to meta/recipes-extended/zstd/zstd_1.6.0.bb
index 4c3b377c14..6e4e07050a 100644
--- a/meta/recipes-extended/zstd/zstd_1.5.7.bb
+++ b/meta/recipes-extended/zstd/zstd_1.6.0.bb
@@ -17,7 +17,7 @@  SRC_URI = "git://github.com/facebook/zstd.git;branch=release;protocol=https;tag=
            file://0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch \
            "
 
-SRCREV = "f8745da6ff1ad1e7bab384bd1f9d742439278e99"
+SRCREV = "916e8e70b33317d469a41ee837e47317807815c8"
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 CVE_PRODUCT = "zstandard"
@@ -81,4 +81,5 @@  do_install_ptest() {
     rm -f ${D}${PTEST_PATH}/tests/cli-tests/compression/levels.sh.stderr.exact
 }
 
-RDEPENDS:${PN}-ptest += "bash grep less python3-core python3-modules"
+# we need coreutils' dd for the cli-tests because busybox's dd doesn't support "status=none"
+RDEPENDS:${PN}-ptest += "bash grep less python3-core python3-modules coreutils"