Compare commits

..

4 commits

Author SHA1 Message Date
Peter Jones
4db14e5ed7 Update to shim-16.1
Signed-off-by: Peter Jones <pjones@redhat.com>
2025-09-03 13:45:57 -04:00
Nicolas Frayer
67c1d520f9 Migrate to SPDX license
Please refer to https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2024-03-22 16:53:40 +01:00
Peter Jones
d2967d655c Add an rpminspect.yaml
Signed-off-by: Peter Jones <pjones@redhat.com>
2024-03-19 15:42:04 -04:00
Peter Jones
5955d9bac4 Update to shim-15.8
Resolves: CVE-2023-40546
Resolves: CVE-2023-40547
Resolves: CVE-2023-40548
Resolves: CVE-2023-40549
Resolves: CVE-2023-40550
Resolves: CVE-2023-40551
Resolves: rhbz#2113005
Resolves: rhbz#2189197
Resolves: rhbz#2238884
Resolves: rhbz#2259264

Signed-off-by: Peter Jones <pjones@redhat.com>
2024-03-07 17:02:41 -05:00
4 changed files with 22 additions and 11 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-aarch64
shim.redhat,3,The Fedora Project,shim,@@VERSION@@,https://src.fedoraproject.org/rpms/shim-unsigned-aarch64
shim.fedora,3,The Fedora Project,shim,@@VERSION@@-@@RELEASE@@,https://src.fedoraproject.org/rpms/shim-unsigned-aarch64

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}
@ -25,18 +26,18 @@
%global dbxfile %{nil}
Name: shim-unsigned-aarch64
Version: 15.8
Release: 2
Version: 16.1
Release: 1
Summary: First-stage UEFI bootloader
ExclusiveArch: aarch64
License: BSD
License: BSD-2-Clause AND OpenSSL
URL: https://github.com/rhboot/shim
Source0: https://github.com/rhboot/shim/releases/download/%{version}%{?dashpre}/shim-%{version}%{?dotpre}.tar.bz2
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
@ -48,6 +49,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
@ -87,10 +89,12 @@ BuildArch: noarch
git config --unset user.email
git config --unset user.name
mkdir build-%{efiarch}
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 "
@ -111,7 +115,7 @@ 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 "
@ -146,6 +150,13 @@ 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
* Thu Mar 07 2024 Peter Jones <pjones@redhat.com> - 15.8-2
- Update to shim-15.8
Resolves: CVE-2023-40546

View file

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