Compare commits
No commits in common. "c8s-centos" and "c8" have entirely different histories.
c8s-centos
...
c8
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,8 +1,2 @@
|
|||||||
*~
|
SOURCES/redhatsecurebootca5.cer
|
||||||
*.tar.*
|
SOURCES/shim-15.8.tar.bz2
|
||||||
*.rpm
|
|
||||||
.build*.log
|
|
||||||
.*.sw?
|
|
||||||
clog
|
|
||||||
rhtest.cer
|
|
||||||
shim-*/
|
|
||||||
|
2
.shim-unsigned-x64.metadata
Normal file
2
.shim-unsigned-x64.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
e6f506462069aa17d2e8610503635c20f3a995c3 SOURCES/redhatsecurebootca5.cer
|
||||||
|
cdec924ca437a4509dcb178396996ddf92c11183 SOURCES/shim-15.8.tar.bz2
|
1
SOURCES/sbat.redhat.csv
Normal file
1
SOURCES/sbat.redhat.csv
Normal file
@ -0,0 +1 @@
|
|||||||
|
shim.redhat,3,Red Hat Inc,shim,15.8,secalert@redhat.com
|
|
0
SOURCES/shim.patches
Normal file
0
SOURCES/shim.patches
Normal file
@ -16,21 +16,19 @@
|
|||||||
%global efialtarch ia32
|
%global efialtarch ia32
|
||||||
%global shimaltdir %{shimversiondir}/%{efialtarch}
|
%global shimaltdir %{shimversiondir}/%{efialtarch}
|
||||||
|
|
||||||
# currently here's what's in our dbx: nothing
|
|
||||||
%global dbxfile %{nil}
|
|
||||||
Name: shim-unsigned-%{efiarch}
|
Name: shim-unsigned-%{efiarch}
|
||||||
Version: 15.8
|
Version: 15.8
|
||||||
Release: 1.el8.centos
|
Release: 2.el8
|
||||||
Summary: First-stage UEFI bootloader
|
Summary: First-stage UEFI bootloader
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/rhboot/shim
|
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}/shim-%{version}.tar.bz2
|
||||||
Source1: secureboot-ca-x86_64.cer
|
Source1: redhatsecurebootca5.cer
|
||||||
%if 0%{?dbxfile}
|
# currently here's what's in our dbx:
|
||||||
Source2: %{dbxfile}
|
# nothing.
|
||||||
%endif
|
Source2: dbx.esl
|
||||||
Source3: sbat.centos.csv
|
Source3: sbat.redhat.csv
|
||||||
Source4: shim.patches
|
Source4: shim.patches
|
||||||
|
|
||||||
Source100: shim-find-debuginfo.sh
|
Source100: shim-find-debuginfo.sh
|
||||||
@ -105,20 +103,18 @@ mkdir build-%{efialtarch}
|
|||||||
cp %{SOURCE3} data/
|
cp %{SOURCE3} data/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
COMMITID=$(cat commit)
|
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
||||||
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
||||||
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+="SBAT_AUTOMATIC_DATE=2023012900 "
|
||||||
MAKEFLAGS+="%{_smp_mflags}"
|
MAKEFLAGS+="%{_smp_mflags}"
|
||||||
if [ -f "%{SOURCE1}" ]; then
|
if [ -s "%{SOURCE1}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
||||||
fi
|
fi
|
||||||
%if 0%{?dbxfile}
|
if [ -s "%{SOURCE2}" ]; then
|
||||||
if [ -f "%{SOURCE2}" ]; then
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
|
||||||
fi
|
fi
|
||||||
%endif
|
|
||||||
|
|
||||||
cd build-%{efiarch}
|
cd build-%{efiarch}
|
||||||
make ${MAKEFLAGS} \
|
make ${MAKEFLAGS} \
|
||||||
@ -133,19 +129,17 @@ setarch linux32 -B make ${MAKEFLAGS} ARCH=%{efialtarch} \
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
COMMITID=$(cat commit)
|
COMMIT_ID=5914984a1ffeab841f482c791426d7ca9935a5e6
|
||||||
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMITID=${COMMITID} "
|
MAKEFLAGS="TOPDIR=.. -f ../Makefile COMMIT_ID=${COMMIT_ID} "
|
||||||
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 "
|
MAKEFLAGS+="SBAT_AUTOMATIC_DATE=2023012900 "
|
||||||
if [ -f "%{SOURCE1}" ]; then
|
if [ -s "%{SOURCE1}" ]; then
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1}"
|
MAKEFLAGS="$MAKEFLAGS VENDOR_CERT_FILE=%{SOURCE1} "
|
||||||
fi
|
fi
|
||||||
%if 0%{?dbxfile}
|
if [ -s "%{SOURCE2}" ]; then
|
||||||
if [ -f "%{SOURCE2}" ]; then
|
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2} "
|
||||||
MAKEFLAGS="$MAKEFLAGS VENDOR_DBX_FILE=%{SOURCE2}"
|
|
||||||
fi
|
fi
|
||||||
%endif
|
|
||||||
|
|
||||||
cd build-%{efiarch}
|
cd build-%{efiarch}
|
||||||
make ${MAKEFLAGS} \
|
make ${MAKEFLAGS} \
|
||||||
@ -186,9 +180,13 @@ cd ..
|
|||||||
%files debugsource -f build-%{efiarch}/debugsource.list
|
%files debugsource -f build-%{efiarch}/debugsource.list
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 08 2024 Brian Stinson <bstinson@redhat.com> - 15.8-1.el8.centos
|
* Wed Feb 07 2024 Peter Jones <pjones@redhat.com> - 15.8-2.el8
|
||||||
- Update to shim-15.8
|
- Rebuild to fix the commit ident and MAKEFLAGS
|
||||||
Resolves: RHEL-4391
|
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
|
@ -1 +0,0 @@
|
|||||||
shim.centos,3,The CentOS Project,shim,15.8,security@centos.org
|
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user