Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Peter Jones
d355c62164 Update to shim-16.1
Signed-off-by: Peter Jones <pjones@redhat.com>
2025-09-03 13:29:21 -04:00
4 changed files with 17 additions and 10 deletions

View file

@ -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
1 shim.rh 3 The Fedora Project shim 15.8 https://src.fedoraproject.org/rpms/shim-unsigned-x64
2 shim.redhat 3 The Fedora Project shim 15.8 https://src.fedoraproject.org/rpms/shim-unsigned-x64
3 shim.fedora 3 The Fedora Project shim 15.8 https://src.fedoraproject.org/rpms/shim-unsigned-x64

3
sbat.redhat.csv.in Normal file
View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
SHA512 (shim-15.8.tar.bz2) = 30b3390ae935121ea6fe728d8f59d37ded7b918ad81bea06e213464298b4bdabbca881b30817965bd397facc596db1ad0b8462a84c87896ce6c1204b19371cd1
SHA512 (shim-16.1.tar.bz2) = ca5f80e82f3b80b622028f03ef23105c98ee1b6a25f52a59c823080a3202dd4b9962266489296e99f955eb92e36ce13e0b1d57f688350006bba45f2718f159fb