|
|
|
@ -17,8 +17,8 @@
|
|
|
|
|
%global shimaltdir %{shimversiondir}/%{efialtarch}
|
|
|
|
|
|
|
|
|
|
Name: shim-unsigned-%{efiarch}
|
|
|
|
|
Version: 15.6
|
|
|
|
|
Release: 1.el8
|
|
|
|
|
Version: 15.8
|
|
|
|
|
Release: 2.el8
|
|
|
|
|
Summary: First-stage UEFI bootloader
|
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
License: BSD
|
|
|
|
@ -103,16 +103,17 @@ mkdir build-%{efialtarch}
|
|
|
|
|
cp %{SOURCE3} data/
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
COMMITID=$(cat commit)
|
|
|
|
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
|
|
|
|
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
|
|
|
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
|
|
|
|
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
|
|
|
|
MAKEFLAGS+="ENABLE_SHIM_HASH=true "
|
|
|
|
|
MAKEFLAGS+="SBAT_AUTOMATIC_DATE=2023012900 "
|
|
|
|
|
MAKEFLAGS+="%{_smp_mflags}"
|
|
|
|
|
if [ -s "%{SOURCE1}" ]; then
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
|
|
|
|
fi
|
|
|
|
|
if [ -s "%{SOURCE2}" ]; then
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cd build-%{efiarch}
|
|
|
|
@ -128,15 +129,16 @@ setarch linux32 -B make ${MAKEFLAGS} ARCH=%{efialtarch} \
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
COMMITID=$(cat commit)
|
|
|
|
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
|
|
|
|
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
|
|
|
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
|
|
|
|
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
|
|
|
|
MAKEFLAGS+="ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true "
|
|
|
|
|
MAKEFLAGS+="SBAT_AUTOMATIC_DATE=2023012900 "
|
|
|
|
|
if [ -s "%{SOURCE1}" ]; then
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
|
|
|
|
fi
|
|
|
|
|
if [ -s "%{SOURCE2}" ]; then
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
|
|
|
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cd build-%{efiarch}
|
|
|
|
@ -178,6 +180,14 @@ cd ..
|
|
|
|
|
%files debugsource -f build-%{efiarch}/debugsource.list
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 07 2024 Peter Jones <pjones@redhat.com> - 15.8-2.el8
|
|
|
|
|
- Rebuild to fix the commit ident and MAKEFLAGS
|
|
|
|
|
Resolves: RHEL-11259
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Peter Jones <pjones@redhat.com> - 15.8-1.el8
|
|
|
|
|
- Update to shim-15.8 for CVE-2023-40547
|
|
|
|
|
Resolves: RHEL-11259
|
|
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Peter Jones <pjones@redhat.com> - 15.6-1.el8
|
|
|
|
|
- Update to shim-15.6
|
|
|
|
|
Resolves: CVE-2022-28737
|
|
|
|
|