Compare commits

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

4 commits

Author SHA1 Message Date
Peter Jones
e407ee28f7 Update to shim-15.6
Resolves: CVE-2022-28737

Signed-off-by: Peter Jones <pjones@redhat.com>
2022-06-07 13:30:50 -04:00
Peter Jones
9c156cdfc9 Update to shim-15.6
Resolves: CVE-2022-28737

Signed-off-by: Peter Jones <pjones@redhat.com>
2022-06-07 10:54:03 -04:00
Peter Jones
a19261f74b Update to shim 15.5
lots of minor fixes

Signed-off-by: Peter Jones <rpm-build>
2022-03-10 17:19:41 -05:00
Robbie Harwood
8388c29928 Add support for prereleases; no code changes
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-03-10 17:19:41 -05:00
5 changed files with 25 additions and 6 deletions

BIN
dbx.esl

Binary file not shown.

View file

@ -1 +1 @@
shim.redhat,1,The Fedora Project,shim,15.3,https://src.fedoraproject.org/rpms/shim-unsigned-x64
shim.rh,2,The Fedora Project,shim,15.6,https://src.fedoraproject.org/rpms/shim-unsigned-x64

1 shim.redhat shim.rh 1 2 The Fedora Project shim 15.3 15.6 https://src.fedoraproject.org/rpms/shim-unsigned-x64

View file

@ -1,6 +1,14 @@
%global pesign_vre 0.106-1
%global openssl_vre 1.0.2j
# For prereleases, % global prerelease rc2, and downpatch Makefile
%if %{defined prerelease}
%global dashpre -%{prerelease}
%global dotpre .%{prerelease}
%global tildepre ~%{prerelease}
%global zdpd 0%{dotpre}.
%endif
%global efidir %(eval echo $(grep ^ID= /etc/os-release | sed -e 's/^ID=//' -e 's/rhel/redhat/'))
%global shimrootdir %{_datadir}/shim/
%global shimversiondir %{shimrootdir}/%{version}-%{release}
@ -19,21 +27,24 @@
%global dbxfile %{nil}
Name: shim-unsigned-%{efiarch}
Version: 15.4
Release: 1%{?dist}
Version: 15.6
Release: 1
Summary: First-stage UEFI bootloader
ExclusiveArch: x86_64
License: BSD
URL: https://github.com/rhboot/shim
Source0: https://github.com/rhboot/shim/releases/download/%{version}/shim-%{version}.tar.bz2
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
Source4: shim.patches
Source100: shim-find-debuginfo.sh
%include %{SOURCE4}
BuildRequires: gcc make
BuildRequires: elfutils-libelf-devel
BuildRequires: git openssl-devel openssl
@ -89,7 +100,7 @@ BuildArch: noarch
%debug_desc
%prep
%autosetup -S git -n shim-%{version}
%autosetup -S git_am -n shim-%{version}
git config --unset user.email
git config --unset user.name
mkdir build-%{efiarch}
@ -180,6 +191,14 @@ cd ..
%files debugsource -f build-%{efiarch}/debugsource.list
%changelog
* Tue Jun 07 2022 Peter Jones <pjones@redhat.com> - 15.6-1
- Update to shim-15.6
Resolves: CVE-2022-28737
* Thu Mar 10 2022 Peter Jones <pjones@redhat.com> - 15.5-1
- Update to shim 15.5
- lots of minor fixes
* Tue Mar 30 2021 Peter Jones <pjones@redhat.com> - 15.4-1
- Update to shim 15.4
- Support for revocations via the ".sbat" section and SBAT EFI variable

0
shim.patches Normal file
View file

View file

@ -1 +1 @@
SHA512 (shim-15.4.tar.bz2) = b9712fe6964f60de251f1bff83914c4aac0f6430474c44741c059f31b72c2d5987c313cbb5e8bc07bfd04e61e6b511ea2d19a9975cde8c6127bc05f2de834526
SHA512 (shim-15.6.tar.bz2) = ddc5d5234851d05ed7124ad748ad3fee2df8a335493948a045653322c873f3f055d34894aeb2ac7495086984ca62183907d341e46e6bdf108856e39c646455fc