2023-09-22 15:50:00 +00:00
|
|
|
Summary: Performs a verified launch using Intel TXT
|
|
|
|
Name: tboot
|
2024-06-25 18:53:47 +00:00
|
|
|
Version: 1.11.3
|
2024-08-15 14:55:05 +00:00
|
|
|
Release: 3%{?dist}
|
2023-09-22 15:50:00 +00:00
|
|
|
Epoch: 1
|
2012-01-16 15:51:40 +00:00
|
|
|
|
2023-09-22 15:50:00 +00:00
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: http://sourceforge.net/projects/tboot/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
2024-01-29 08:37:26 +00:00
|
|
|
Patch0: tboot-gcc14.patch
|
2024-08-13 18:16:39 +00:00
|
|
|
Patch1: tboot-no-engine.patch
|
2018-09-04 07:43:49 +00:00
|
|
|
|
2021-01-08 22:17:00 +00:00
|
|
|
BuildRequires: make
|
2023-09-22 15:50:00 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: zlib-devel
|
2023-11-01 14:26:33 +00:00
|
|
|
Requires: grub2-efi-x64-modules
|
2023-09-22 15:50:00 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64
|
2010-11-13 01:33:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Trusted Boot (tboot) is an open source, pre-kernel/VMM module that uses
|
|
|
|
Intel Trusted Execution Technology (Intel TXT) to perform a measured
|
|
|
|
and verified launch of an OS kernel/VMM.
|
|
|
|
|
|
|
|
%prep
|
2019-05-14 07:52:22 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
2013-01-30 19:50:25 +00:00
|
|
|
|
2010-11-13 01:33:09 +00:00
|
|
|
%build
|
2023-11-01 14:26:33 +00:00
|
|
|
%make_build debug=y
|
2010-11-13 01:33:09 +00:00
|
|
|
|
|
|
|
%install
|
2023-11-01 14:26:33 +00:00
|
|
|
%make_install debug=y
|
|
|
|
|
|
|
|
%post
|
|
|
|
# create the tboot grub entry
|
|
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
|
|
|
2024-06-25 18:53:47 +00:00
|
|
|
# For EFI based machines ...
|
|
|
|
# Rmove the grub efi modules if they had been placed in the wrong directory by
|
|
|
|
# a previous install.
|
|
|
|
[ -d /boot/efi/EFI/redhat/x86_64-efi ] && rm -rf /boot/efi/EFI/redhat/x86_64-efi
|
|
|
|
# create the tboot grub entry
|
|
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
|
|
|
2023-11-01 14:26:33 +00:00
|
|
|
# For EFI based machines ...
|
|
|
|
if [ -d /sys/firmware/efi ]; then
|
|
|
|
echo "EFI detected .."
|
|
|
|
[ -d /boot/grub2/x86_64-efi ] || mkdir -pv /boot/grub2/x86_64-efi
|
|
|
|
cp -vf /usr/lib/grub/x86_64-efi/relocator.mod /boot/grub2/x86_64-efi/
|
|
|
|
cp -vf /usr/lib/grub/x86_64-efi/multiboot2.mod /boot/grub2/x86_64-efi/
|
2024-06-25 18:53:47 +00:00
|
|
|
|
|
|
|
# If there were a previous install of tboot that overwrote the
|
|
|
|
# originally installed /boot/efi/EFI/redhat/grub.cfg stub, then
|
|
|
|
# recreate it.
|
|
|
|
if grep -q -m1 tboot /boot/efi/EFI/redhat/grub.cfg; then
|
|
|
|
cat << EOF > /boot/efi/EFI/redhat/grub.cfg
|
|
|
|
search --no-floppy --fs-uuid --set=dev \
|
|
|
|
$(lsblk -no UUID $(df -P /boot/grub2 | awk 'END{print $1}'))
|
|
|
|
set prefix=(\$dev)/grub2
|
|
|
|
export \$prefix
|
|
|
|
configfile \$prefix/grub.cfg
|
|
|
|
EOF
|
|
|
|
chown root:root /boot/efi/EFI/redhat/grub.cfg
|
|
|
|
chmod u=rwx,go= /boot/efi/EFI/redhat/grub.cfg
|
|
|
|
fi
|
2023-11-01 14:26:33 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
# Remove residual grub efi modules.
|
|
|
|
[ -d /boot/grub2/x86_64-efi ] && rm -rf /boot/grub2/x86_64-efi
|
2024-06-25 18:53:47 +00:00
|
|
|
[ -d /boot/efi/EFI/redhat/x86_64-efi ] && rm -rf /boot/efi/EFI/redhat/x86_64-efi
|
2023-11-01 14:26:33 +00:00
|
|
|
grub2-mkconfig -o /etc/grub2.cfg
|
2010-11-13 01:33:09 +00:00
|
|
|
|
|
|
|
%files
|
2023-09-22 15:50:00 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc docs/*
|
2013-01-30 19:50:25 +00:00
|
|
|
%config %{_sysconfdir}/grub.d/20_linux_tboot
|
|
|
|
%config %{_sysconfdir}/grub.d/20_linux_xen_tboot
|
2014-06-18 07:35:40 +00:00
|
|
|
%{_sbindir}/lcp2_crtpol
|
|
|
|
%{_sbindir}/lcp2_crtpolelt
|
|
|
|
%{_sbindir}/lcp2_crtpollist
|
|
|
|
%{_sbindir}/lcp2_mlehash
|
2010-11-13 01:33:09 +00:00
|
|
|
%{_sbindir}/tb_polgen
|
2021-06-15 08:08:13 +00:00
|
|
|
%{_sbindir}/txt-acminfo
|
|
|
|
%{_sbindir}/txt-parse_err
|
2010-11-13 01:33:09 +00:00
|
|
|
%{_sbindir}/txt-stat
|
2021-06-15 08:08:13 +00:00
|
|
|
%{_mandir}/man8/lcp2_crtpol.8.gz
|
|
|
|
%{_mandir}/man8/lcp2_crtpolelt.8.gz
|
|
|
|
%{_mandir}/man8/lcp2_crtpollist.8.gz
|
|
|
|
%{_mandir}/man8/lcp2_mlehash.8.gz
|
2013-01-30 19:50:25 +00:00
|
|
|
%{_mandir}/man8/tb_polgen.8.gz
|
2021-06-15 08:08:13 +00:00
|
|
|
%{_mandir}/man8/txt-acminfo.8.gz
|
|
|
|
%{_mandir}/man8/txt-parse_err.8.gz
|
2013-01-30 19:50:25 +00:00
|
|
|
%{_mandir}/man8/txt-stat.8.gz
|
2010-11-13 01:33:09 +00:00
|
|
|
/boot/tboot.gz
|
|
|
|
/boot/tboot-syms
|
|
|
|
|
|
|
|
%changelog
|
2024-08-15 14:55:05 +00:00
|
|
|
* Thu Aug 15 2024 Tony Camuso <tcamuso@redhat.com> - 1:1.11.3-3
|
|
|
|
- Add gating.yaml
|
|
|
|
Resolves: RHEL-54412
|
|
|
|
|
2024-08-13 18:16:39 +00:00
|
|
|
* Tue Aug 13 2024 Tony Camuso <tcamuso@redhat.com> - 1:1.11.3-2
|
|
|
|
- Stop using OpenSSL ENGINE API in tboot
|
2024-08-15 14:55:05 +00:00
|
|
|
Resolves: RHEL-54172
|
2024-08-13 18:16:39 +00:00
|
|
|
|
2024-06-25 18:53:47 +00:00
|
|
|
* Tue Jun 25 2024 Tony Camuso <tcamuso@redhat.com> - 1:1.11.3-1
|
|
|
|
- Latest version of tboot.
|
|
|
|
Resolves: RHEL-34500
|
|
|
|
|
2024-06-24 16:26:15 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:1.11.1-7
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-29 08:37:26 +00:00
|
|
|
* Mon Jan 29 2024 Florian Weimer <fweimer@redhat.com> - 1:1.11.1-6
|
|
|
|
- Suppress GCC 14 allocation size warning
|
|
|
|
|
2024-01-27 05:26:51 +00:00
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.11.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-11-01 14:26:33 +00:00
|
|
|
* Wed Nov 01 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.11.1-4
|
|
|
|
- Add grub2-efi-x64-modules dependency and scriplet
|
|
|
|
|
2023-09-22 15:50:00 +00:00
|
|
|
* Fri Sep 22 2023 David Cantrell <dcantrell@redhat.com> - 1:1.11.1-3
|
|
|
|
- Use %%license for the COPYING file in the %%files section
|
|
|
|
- Convert the License tag to an SPDX expression
|
|
|
|
|
2023-07-22 03:13:43 +00:00
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.11.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-05-07 02:42:42 +00:00
|
|
|
* Sun May 07 2023 Jun Miao <jun.miao@intel.com> - 1:1.11.1-1
|
|
|
|
- Update to v1.11.1 release
|
|
|
|
|
2023-04-23 07:50:30 +00:00
|
|
|
* Sun Apr 23 2023 Jun Miao <jun.miao@intel.com> - 1:1.11.0-2
|
|
|
|
- Update code sources with the v1.11.0
|
|
|
|
|
2023-02-27 15:16:17 +00:00
|
|
|
* Mon Feb 27 2023 Jun Miao <jun.miao@intel.com> - 1:1.11.0-1
|
|
|
|
- Update to v1.11.0 release
|
|
|
|
|
2023-01-21 04:40:58 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 10:07:04 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-04-20 14:27:55 +00:00
|
|
|
* Wed Apr 20 2022 Jun Miao <jun.miao@intel.com> - 1:1.10.5-1
|
|
|
|
- Update to v1.10.5 release
|
|
|
|
|
2022-02-25 06:16:13 +00:00
|
|
|
* Fri Feb 25 2022 Jun Miao jun.miao@intel.com - 1:1.10.4-2
|
|
|
|
- Update the tboot-1.10.4.tar.gz source
|
|
|
|
|
|
|
|
* Fri Feb 25 2022 Jun Miao <jun.miao@intel.com> - 1:1.10.4-1
|
2022-02-25 03:17:19 +00:00
|
|
|
- Updated to upstream 1.10.4 release
|
|
|
|
- Fix the GCC12 build error
|
2022-01-22 02:19:55 +00:00
|
|
|
|
2021-12-23 07:07:51 +00:00
|
|
|
* Thu Dec 23 2021 Yunying Sun <yunying.sun@intel.com> - 1:1.10.3-1
|
|
|
|
- Updated to 1.10.3 which added OpenSSL 3.0.0 support
|
|
|
|
- Bugzilla 2021901 is fixed with this updated release
|
|
|
|
- Removed obsolete patch files
|
|
|
|
|
|
|
|
* Fri Dec 3 2021 Yunying Sun <yunying.sun@intel.com> - 1:1.10.2-4
|
|
|
|
- Rebuilt again with OpenSSL 3.0.0 fix patch
|
|
|
|
|
2021-09-14 17:16:11 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:1.10.2-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-23 18:54:36 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-15 08:08:13 +00:00
|
|
|
* Tue Jun 15 2021 Yunying Sun <yunying.sun@intel.com> - 1:1.10.2-1
|
|
|
|
- Updated to upstream 1.10.2 release
|
|
|
|
- Removed standalone patches as both are fixed in 1.10.2
|
|
|
|
- Adjusted dependencies, removed trousers and added perl
|
|
|
|
- Updated packaged file list
|
|
|
|
|
2021-01-27 21:38:00 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-30 16:12:34 +00:00
|
|
|
* Fri Oct 30 2020 Jeff Law <law@redhat.com> - 1:1.9.11-5
|
|
|
|
- Re-enable -Wstringop-overflow and instead make the problematical
|
|
|
|
pointer volatile to avoid the false positive diagnostic
|
|
|
|
|
2020-10-29 21:10:19 +00:00
|
|
|
* Thu Oct 29 2020 Jeff Law <law@redhat.com> - 1:1.9.11-4
|
|
|
|
- Fix buglet exposed by gcc-11 -Warray-parameter
|
|
|
|
- Temporarily disable -Wstringop-overflow due to false positive in gcc-11
|
|
|
|
|
2020-07-29 18:37:52 +00:00
|
|
|
* Wed Jul 29 2020 Jeff Law <law@redhat.com> - 1:1.9.11-3
|
|
|
|
- Explicitly allow uninitialized variables in a few places that do it
|
|
|
|
- on purpose
|
|
|
|
|
2020-07-29 12:07:43 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-04-19 17:22:25 +00:00
|
|
|
* Sun Apr 19 2020 Filipe Rosset <rosset.filipe@gmail.com> - 1:1.9.11-1
|
|
|
|
- Update to 1.9.11
|
|
|
|
|
2020-01-31 01:07:32 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 01:01:44 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-14 07:52:22 +00:00
|
|
|
* Tue May 14 2019 Yunying Sun <yunying.sun@intel.com> - 1:1.9.10-1
|
|
|
|
- Add patch to fix package build error
|
|
|
|
- Add build dependency to zlib-devel
|
|
|
|
- Update to latest release 1.9.10
|
|
|
|
|
2019-02-03 09:26:53 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-31 02:09:03 +00:00
|
|
|
* Wed Oct 31 2018 Yunying Sun <yunying.sun@intel.com> - 1:1.9.8-1
|
|
|
|
- Updated to upstream 1.9.8 release
|
|
|
|
|
2018-09-04 07:43:49 +00:00
|
|
|
* Tue Sep 4 2018 Yunying Sun <yunying.sun@intel.com> - 1:1.9.7-1
|
|
|
|
- Updated to upstream 1.9.7 release
|
|
|
|
- Removed the patch for openssl 1.1 as it is included in 1.9.7 already
|
|
|
|
|
2018-07-14 07:18:21 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-06 10:41:25 +00:00
|
|
|
* Tue Feb 06 2018 Tomáš Mráz <tmraz@redhat.com> - 1:1.9.6-2
|
|
|
|
- Patch to build with OpenSSL-1.1.x
|
|
|
|
|
2018-02-04 02:52:10 +00:00
|
|
|
* Sun Feb 04 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1:1.9.6-1
|
|
|
|
- Upgrade to latest upstream version
|
|
|
|
|
2017-08-03 09:10:31 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 19:59:34 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 15:36:31 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 01:19:04 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 02:32:28 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.8.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 04:52:53 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.8.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-30 03:30:53 +00:00
|
|
|
* Wed Jul 30 2014 Gang Wei <gang.wei@intel.com> - 1:1.8.2-1
|
|
|
|
- Upgrade to latest upstream version which provided security fix for:
|
|
|
|
tboot:argument measurement vulnerablity for GRUB2+ELF kernels
|
|
|
|
|
2014-06-18 07:35:40 +00:00
|
|
|
* Wed Jun 18 2014 Gang Wei <gang.wei@intel.com> - 1:1.8.1-1
|
|
|
|
- Upgrade to latest upstream version
|
|
|
|
|
2014-06-08 08:10:13 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 03:22:46 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-02 10:43:24 +00:00
|
|
|
* Tue Apr 02 2013 Gang Wei <gang.wei@intel.com> - 1:1.7.3-3
|
|
|
|
- Fix for breaking grub2-mkconfig operation in 32bit case(#929384)
|
|
|
|
|
2013-02-20 09:13:11 +00:00
|
|
|
* Wed Feb 20 2013 Gang Wei <gang.wei@intel.com> - 1:1.7.3-2
|
|
|
|
- Fix version string in log
|
|
|
|
|
2013-01-30 19:50:25 +00:00
|
|
|
* Wed Jan 30 2013 David Cantrell <dcantrell@redhat.com> - 1:1.7.3-1
|
|
|
|
- Upgrade to latest upstream version (#902653)
|
|
|
|
|
2012-08-22 05:40:07 +00:00
|
|
|
* Wed Aug 22 2012 Gang Wei <gang.wei@intel.com> - 1:1.7.0-2
|
|
|
|
- Fix build error with zlib 1.2.7
|
|
|
|
|
2012-07-21 22:51:11 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-16 15:51:40 +00:00
|
|
|
* Sun Jan 15 2012 Gang Wei <gang.wei@intel.com> - 1:1.7.0
|
|
|
|
- 1.7.0 release
|
|
|
|
|
2012-01-14 06:22:23 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110429-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-04-29 20:11:11 +00:00
|
|
|
* Fri Apr 29 2011 Gang Wei <gang.wei@intel.com> - 20110429-1
|
2011-05-01 00:02:43 +00:00
|
|
|
- Pull upstream changeset 255, rebuilt in F15
|
|
|
|
|
2011-02-09 18:10:00 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101005-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2014-06-18 07:35:40 +00:00
|
|
|
* Wed Dec 1 2010 Joseph Cihula <joseph.cihula@intel.com> - 20101005-1.fc13
|
2010-11-30 22:59:32 +00:00
|
|
|
- Initial import
|