Compare commits
No commits in common. "c8" and "c8-beta" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/redhatsecurebootca5.cer
|
SOURCES/shim-15.6.tar.bz2
|
||||||
SOURCES/shim-15.8.tar.bz2
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
e6f506462069aa17d2e8610503635c20f3a995c3 SOURCES/redhatsecurebootca5.cer
|
3df0ab5cefc74fdf865cb36aea0e923cb4b6b3ed SOURCES/shim-15.6.tar.bz2
|
||||||
cdec924ca437a4509dcb178396996ddf92c11183 SOURCES/shim-15.8.tar.bz2
|
|
||||||
|
BIN
SOURCES/redhatsecurebootca5.cer
Normal file
BIN
SOURCES/redhatsecurebootca5.cer
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
shim.redhat,3,Red Hat Inc,shim,15.8,secalert@redhat.com
|
shim.redhat,1,Red Hat Inc,shim,15.5,secalert@redhat.com
|
||||||
|
|
@ -17,8 +17,8 @@
|
|||||||
%global shimaltdir %{shimversiondir}/%{efialtarch}
|
%global shimaltdir %{shimversiondir}/%{efialtarch}
|
||||||
|
|
||||||
Name: shim-unsigned-%{efiarch}
|
Name: shim-unsigned-%{efiarch}
|
||||||
Version: 15.8
|
Version: 15.6
|
||||||
Release: 2.el8
|
Release: 1.el8
|
||||||
Summary: First-stage UEFI bootloader
|
Summary: First-stage UEFI bootloader
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -103,17 +103,16 @@ mkdir build-%{efialtarch}
|
|||||||
cp %{SOURCE3} data/
|
cp %{SOURCE3} data/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
COMMITID=$(cat commit)
|
||||||
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
||||||
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
||||||
MAKEFLAGS+="ENABLE_SHIM_HASH=true "
|
MAKEFLAGS+="ENABLE_SHIM_HASH=true "
|
||||||
MAKEFLAGS+="SBAT_AUTOMATIC_DATE=2023012900 "
|
|
||||||
MAKEFLAGS+="%{_smp_mflags}"
|
MAKEFLAGS+="%{_smp_mflags}"
|
||||||
if [ -s "%{SOURCE1}" ]; then
|
if [ -s "%{SOURCE1}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
||||||
fi
|
fi
|
||||||
if [ -s "%{SOURCE2}" ]; then
|
if [ -s "%{SOURCE2}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd build-%{efiarch}
|
cd build-%{efiarch}
|
||||||
@ -129,16 +128,15 @@ setarch linux32 -B make ${MAKEFLAGS} ARCH=%{efialtarch} \
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
COMMITID=$(cat commit)
|
||||||
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
||||||
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
MAKEFLAGS+="EFIDIR=%{efidir} PKGNAME=shim RELEASE=%{release} "
|
||||||
MAKEFLAGS+="ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true "
|
MAKEFLAGS+="ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true "
|
||||||
MAKEFLAGS+="SBAT_AUTOMATIC_DATE=2023012900 "
|
|
||||||
if [ -s "%{SOURCE1}" ]; then
|
if [ -s "%{SOURCE1}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
||||||
fi
|
fi
|
||||||
if [ -s "%{SOURCE2}" ]; then
|
if [ -s "%{SOURCE2}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd build-%{efiarch}
|
cd build-%{efiarch}
|
||||||
@ -180,14 +178,6 @@ cd ..
|
|||||||
%files debugsource -f build-%{efiarch}/debugsource.list
|
%files debugsource -f build-%{efiarch}/debugsource.list
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 01 2022 Peter Jones <pjones@redhat.com> - 15.6-1.el8
|
||||||
- Update to shim-15.6
|
- Update to shim-15.6
|
||||||
Resolves: CVE-2022-28737
|
Resolves: CVE-2022-28737
|
||||||
|
Loading…
Reference in New Issue
Block a user