From bb1efafa86e767bbe1053f675ab5f87337e0575b Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Mon, 29 Jan 2024 11:33:00 +0100 Subject: [PATCH 01/12] Fix License, unzboot is under GNU General Public License v2.0 or later Signed-off-by: Enric Balletbo i Serra --- unzboot.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 96bc24f..bcdfc47 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -7,7 +7,7 @@ Version: 0.1~git.%{commitdate}.%{shortcommit} Release: 3%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application -License: MIT +License: GPL-2.0-or-later # Upstream is still under development so they are not tagging releases # yet. Use the following to do a rebase to a new snapshot: From 90cac97e1266359793276ea9ec6feb6c17749f0e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 26 Jan 2024 10:16:22 +0000 Subject: [PATCH 02/12] Include URL to upstream sources Signed-off-by: Richard W.M. Jones --- unzboot.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/unzboot.spec b/unzboot.spec index bcdfc47..d40ea5a 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -9,6 +9,7 @@ Release: 3%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later +URL: https://github.com/eballetbo/unzboot # Upstream is still under development so they are not tagging releases # yet. Use the following to do a rebase to a new snapshot: # From ab35558442ab38684b8b213503b9bb8760a2f84d Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Mon, 29 Jan 2024 11:33:00 +0100 Subject: [PATCH 03/12] Fix License, unzboot is under GNU General Public License v2.0 or later Signed-off-by: Enric Balletbo i Serra --- unzboot.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 96bc24f..bcdfc47 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -7,7 +7,7 @@ Version: 0.1~git.%{commitdate}.%{shortcommit} Release: 3%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application -License: MIT +License: GPL-2.0-or-later # Upstream is still under development so they are not tagging releases # yet. Use the following to do a rebase to a new snapshot: From 6c47b0d2d5cb22fec0159e84833bf07801cf38d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:19:45 +0000 Subject: [PATCH 04/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- unzboot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index d40ea5a..5542c1d 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -4,7 +4,7 @@ Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -42,6 +42,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.1~git.20230318.3285b55-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 0.1~git.20230318.3285b55-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3d923b318aae5b1b9b8ac874ecb37659704b7a08 Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Tue, 3 Sep 2024 11:33:21 +0200 Subject: [PATCH 05/12] Bump to 0.1~git.20240903.374ec24-1 This version includes support for RISC-V header + some documentation fixes Signed-off-by: Enric Balletbo i Serra --- .gitignore | 1 + sources | 2 +- unzboot.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 069bb99..763dd49 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /unzboot-3285b55.tar.xz +/unzboot-374ec24.tar.xz diff --git a/sources b/sources index 21d2b06..6e8f757 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unzboot-3285b55.tar.xz) = 0fe671222445ca636142659736ff27edae8713188363d3bc2cae1fa6ac9104353f42813244b54f21f4ad8a29efad747e10501b14251980e4bb72be9896fea408 +SHA512 (unzboot-374ec24.tar.xz) = e5c6e36e4b98da7ce00feb68b182508c9ad3c16fee04e319defb29358c2f52df69a72bc536985b20d66f67e24af5ec99f13399f45b9d91b2a5ac70154e63df4a diff --git a/unzboot.spec b/unzboot.spec index 5542c1d..ce06fde 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -1,10 +1,10 @@ -%global commit 3285b558529b862391d27afe098368d6f8dda09e +%global commit 374ec24c12d8276e6274d296e458bdfb3a650357 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20230318 +%global commitdate 20240903 Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 4%{?dist} +Release: 1%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -42,6 +42,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Tue Sep 03 2024 Enric Balletbo i Serra - 0.1~git.20240903.374ec24-1 +- Add support for RISC-V header + some documentation fixes + * Sat Jul 20 2024 Fedora Release Engineering - 0.1~git.20230318.3285b55-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From fefaef87a2d8ddee8b88af3ed0bc7e7ec7cd864e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:50:02 +0000 Subject: [PATCH 06/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- unzboot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index ce06fde..8d50cc5 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -4,7 +4,7 @@ Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -42,6 +42,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.1~git.20240903.374ec24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Sep 03 2024 Enric Balletbo i Serra - 0.1~git.20240903.374ec24-1 - Add support for RISC-V header + some documentation fixes From 8cfb94f333694d35f117f3f74f95520f6c71f2b7 Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Mon, 5 May 2025 17:50:44 +0200 Subject: [PATCH 07/12] Bump to 0.1~git.20250502.0c0c3ad-1 This adds zstd compressed kernel support and fixes a lint warning regarding mixing spaces and tabs. Signed-off-by: Enric Balletbo i Serra --- .gitignore | 1 + sources | 2 +- unzboot.spec | 21 +++++++++++++-------- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 763dd49..d1a17ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /unzboot-3285b55.tar.xz /unzboot-374ec24.tar.xz +/unzboot-0c0c3ad.tar.xz diff --git a/sources b/sources index 6e8f757..542ed31 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unzboot-374ec24.tar.xz) = e5c6e36e4b98da7ce00feb68b182508c9ad3c16fee04e319defb29358c2f52df69a72bc536985b20d66f67e24af5ec99f13399f45b9d91b2a5ac70154e63df4a +SHA512 (unzboot-0c0c3ad.tar.xz) = 7e0024aad857f8cec410d27163bf978fd4bf7c2ce3b262d255c094e3cfbcfb132d66dc7806933afcf39778bb9dfb48cf2894215a79f0c7d1eb563cb33fe73a74 diff --git a/unzboot.spec b/unzboot.spec index 8d50cc5..39b6f8d 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -1,15 +1,15 @@ -%global commit 374ec24c12d8276e6274d296e458bdfb3a650357 +%global commit 0c0c3ad76400f05414b5e6c96f85e73831000d17 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20240903 +%global commitdate 20250502 -Name: unzboot -Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 2%{?dist} +Name: unzboot +Version: 0.1~git.%{commitdate}.%{shortcommit} +Release: 1%{?dist} -Summary: Extracts a kernel vmlinuz image from a EFI application -License: GPL-2.0-or-later +Summary: Extracts a kernel vmlinuz image from a EFI application +License: GPL-2.0-or-later -URL: https://github.com/eballetbo/unzboot +URL: https://github.com/eballetbo/unzboot # Upstream is still under development so they are not tagging releases # yet. Use the following to do a rebase to a new snapshot: # @@ -20,6 +20,7 @@ BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: meson BuildRequires: zlib +BuildRequires: libzstd %description The unzboot program extracts a kernel vmlinuz image from @@ -42,6 +43,10 @@ compressed form. %{_bindir}/unzboot %changelog +* Mon May 5 2025 Enric Balletbo i Serra - 0.1~git.20250502.0c0c3ad-1 +- Add zstd compressed kernel support +- Introduce test case infrastructure and add gunzip tests + * Sun Jan 19 2025 Fedora Release Engineering - 0.1~git.20240903.374ec24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5881bb183a77e7bee7ec2807cf57b60e8e1ddb3c Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Wed, 7 May 2025 10:27:33 +0200 Subject: [PATCH 08/12] Fix build dependency for libzstd Signed-off-by: Enric Balletbo i Serra --- unzboot.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 39b6f8d..2cdb0ee 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -20,7 +20,7 @@ BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: meson BuildRequires: zlib -BuildRequires: libzstd +BuildRequires: libzstd-devel %description The unzboot program extracts a kernel vmlinuz image from From 7119253db4d9fa2ee98496577e1a7bbf1d58f67a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:49:24 +0000 Subject: [PATCH 09/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- unzboot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 2cdb0ee..35959c2 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -4,7 +4,7 @@ Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -43,6 +43,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.1~git.20250502.0c0c3ad-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon May 5 2025 Enric Balletbo i Serra - 0.1~git.20250502.0c0c3ad-1 - Add zstd compressed kernel support - Introduce test case infrastructure and add gunzip tests From 0ef8795f18faa0ccfb0a97e0f6daa78507044cfc Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Wed, 24 Sep 2025 15:52:59 +0200 Subject: [PATCH 10/12] Bump to 0.1~git.20250530.3ccaa1a-1 Signed-off-by: Enric Balletbo i Serra --- sources | 2 +- unzboot.spec | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 542ed31..d1a53db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unzboot-0c0c3ad.tar.xz) = 7e0024aad857f8cec410d27163bf978fd4bf7c2ce3b262d255c094e3cfbcfb132d66dc7806933afcf39778bb9dfb48cf2894215a79f0c7d1eb563cb33fe73a74 +SHA512 (unzboot-3ccaa1a.tar.xz) = 64fd74a06ccd809f2eeb24d571b9467627be98b1437c7743a8dd24811b4e8b35911814148d422d9d8e89f595c88fa4d3892163a1d9a95672e44fb4db5ee0652d diff --git a/unzboot.spec b/unzboot.spec index 35959c2..41c221a 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -1,6 +1,6 @@ -%global commit 0c0c3ad76400f05414b5e6c96f85e73831000d17 +%global commit 3ccaa1acbd1e092787fa488d046bdcb3762e51ee %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20250502 +%global commitdate 20250530 Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} @@ -43,6 +43,21 @@ compressed form. %{_bindir}/unzboot %changelog +* Wed Sep 24 2025 Enric Balletbo i Serra - 0.1~git.20250530.3ccaa1a-1 +- Check for g_malloc failure in unpack_efi_zboot_image +- EFI zboot payload offset and size validation +- Correct and simplify output file writing logic in main +- Direct gunzip error messages to stderr +- Improve ZSTD decompression error handling and reporting +- Suppress unused parameter warnings in zalloc/zfree +- Initialize z_stream in gunzip to prevent uninitialized use +- Prevent memory leak in gunzip on inflateInit2 failure +- Allow output to stdout to provide greater flexibility +- Refactor output file writing in unzboot +- Add SPDX license identifier and simplify license header +- Add EFI application with zstd compression example +- Append to the name the type of compression + * Fri Jul 25 2025 Fedora Release Engineering - 0.1~git.20250502.0c0c3ad-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From cf8feddfc1c1840951024b15617e0d81b7ac4195 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:38:48 +0000 Subject: [PATCH 11/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- unzboot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 41c221a..72620fb 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -4,7 +4,7 @@ Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -43,6 +43,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.1~git.20250530.3ccaa1a-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Sep 24 2025 Enric Balletbo i Serra - 0.1~git.20250530.3ccaa1a-1 - Check for g_malloc failure in unpack_efi_zboot_image - EFI zboot payload offset and size validation From 576ce153c94162b70c86d69d78822502bc704ef0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:13:25 +0000 Subject: [PATCH 12/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- unzboot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unzboot.spec b/unzboot.spec index 72620fb..5c91f55 100644 --- a/unzboot.spec +++ b/unzboot.spec @@ -4,7 +4,7 @@ Name: unzboot Version: 0.1~git.%{commitdate}.%{shortcommit} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Extracts a kernel vmlinuz image from a EFI application License: GPL-2.0-or-later @@ -43,6 +43,9 @@ compressed form. %{_bindir}/unzboot %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.1~git.20250530.3ccaa1a-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 0.1~git.20250530.3ccaa1a-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild