public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/shim-unsigned-x64] rawhide: Update to shim-16.1
@ 2026-09-28 18:05 Peter Jones
0 siblings, 0 replies; only message in thread
From: Peter Jones @ 2026-09-28 18:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/shim-unsigned-x64
Branch : rawhide
Commit : d355c62164bd48c6f47774fe04b0d730d892e006
Author : Peter Jones <pjones@redhat.com>
Date : 2025-09-03T13:29:21-04:00
Stats : +17/-10 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/shim-unsigned-x64/c/d355c62164bd48c6f47774fe04b0d730d892e006?branch=rawhide
Log:
Update to shim-16.1
Signed-off-by: Peter Jones <pjones@redhat.com>
---
diff --git a/sbat.redhat.csv b/sbat.redhat.csv
deleted file mode 100644
index cfcf013..0000000
--- a/sbat.redhat.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-shim.rh,3,The Fedora Project,shim,15.8,https://src.fedoraproject.org/rpms/shim-unsigned-x64
-shim.redhat,3,The Fedora Project,shim,15.8,https://src.fedoraproject.org/rpms/shim-unsigned-x64
-shim.fedora,3,The Fedora Project,shim,15.8,https://src.fedoraproject.org/rpms/shim-unsigned-x64
diff --git a/sbat.redhat.csv.in b/sbat.redhat.csv.in
new file mode 100644
index 0000000..55dba1f
--- /dev/null
+++ b/sbat.redhat.csv.in
@@ -0,0 +1,3 @@
+shim.rh,3,The Fedora Project,shim,@@VERSION@@,https://src.fedoraproject.org/rpms/shim-unsigned-x64
+shim.redhat,3,The Fedora Project,shim,@@VERSION@@,https://src.fedoraproject.org/rpms/shim-unsigned-x64
+shim.fedora,3,The Fedora Project,shim,@@VERSION@@-@@RELEASE@@,https://src.fedoraproject.org/rpms/shim-unsigned-x64
diff --git a/shim-unsigned-x64.spec b/shim-unsigned-x64.spec
index 0317314..d576497 100644
--- a/shim-unsigned-x64.spec
+++ b/shim-unsigned-x64.spec
@@ -1,5 +1,6 @@
%global pesign_vre 0.106-1
%global openssl_vre 1.0.2j
+%global shim_commit_id afc49558b34548644c1cd0ad1b6526a9470182ed
# For prereleases, % global prerelease rc2, and downpatch Makefile
%if %{defined prerelease}
@@ -27,8 +28,8 @@
%global dbxfile %{nil}
Name: shim-unsigned-%{efiarch}
-Version: 15.8
-Release: 2
+Version: 16.1
+Release: 1
Summary: First-stage UEFI bootloader
ExclusiveArch: x86_64
License: BSD-2-Clause AND OpenSSL
@@ -38,7 +39,7 @@ Source1: fedora-ca-20200709.cer
%if 0%{?dbxfile}
Source2: %{dbxfile}
%endif
-Source3: sbat.redhat.csv
+Source3: sbat.redhat.csv.in
Source4: shim.patches
Source100: shim-find-debuginfo.sh
@@ -50,6 +51,7 @@ BuildRequires: elfutils-libelf-devel
BuildRequires: git openssl-devel openssl
BuildRequires: pesign >= %{pesign_vre}
BuildRequires: dos2unix findutils
+BuildRequires: sed
# Shim uses OpenSSL, but cannot use the system copy as the UEFI ABI is not
# compatible with SysV (there's no red zone under UEFI) and there isn't a
@@ -105,10 +107,12 @@ git config --unset user.email
git config --unset user.name
mkdir build-%{efiarch}
mkdir build-%{efialtarch}
-cp %{SOURCE3} data/
+sed -e 's/@@VERSION@@/%{version}/g' \
+ -e 's/@@RELEASE@@/%{release}/g' \
+ < %{SOURCE3} > data/sbat.redhat.csv
%build
-COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
+COMMIT_ID=%{shim_commit_id}
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
MAKEFLAGS+="ENABLE_SHIM_HASH=true "
@@ -136,7 +140,7 @@ setarch linux32 -B make ${MAKEFLAGS} \
cd ..
%install
-COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
+COMMIT_ID=%{shim_commit_id}
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
MAKEFLAGS+="ENABLE_SHIM_HASH=true "
@@ -191,6 +195,9 @@ cd ..
%files debugsource -f build-%{efiarch}/debugsource.list
%changelog
+* Wed Sep 03 2025 Peter Jones <pjones@redhat.com> - 16.1-1
+- Update to shim-16.1
+
* Fri Mar 22 2024 Nicolas Frayer <nfrayer@redhat.com>
- Migrate to SPDX license
- Please refer to https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
diff --git a/sources b/sources
index 5428b75..e96df6e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (shim-15.8.tar.bz2) = 30b3390ae935121ea6fe728d8f59d37ded7b918ad81bea06e213464298b4bdabbca881b30817965bd397facc596db1ad0b8462a84c87896ce6c1204b19371cd1
+SHA512 (shim-16.1.tar.bz2) = ca5f80e82f3b80b622028f03ef23105c98ee1b6a25f52a59c823080a3202dd4b9962266489296e99f955eb92e36ce13e0b1d57f688350006bba45f2718f159fb
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 18:05 [rpms/shim-unsigned-x64] rawhide: Update to shim-16.1 Peter Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox