CBL-Mariner/SPECS/tboot/tboot.spec

64 lines
2.0 KiB
Plaintext

Summary: Trusted pre-kernel module and tools.
Name: tboot
Version: 1.9.7
Release: 7%{?dist}
License: BSD
URL: https://sourceforge.net/projects/tboot/
Group: System Environment/Security
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
ExclusiveArch: x86_64
BuildRequires: trousers-devel
Requires: libtspi
Patch0: no_error_packed_member.patch
%description
Trusted Boot (tboot) is an open source, pre- kernel/VMM module that uses
Intel(R) Trusted Execution Technology (Intel(R) TXT) to perform a measured
and verified launch of an OS kernel/VMM.
%prep
%setup -q
%patch0 -p1
%build
CFLAGS="%{optflags}"
export CFLAGS
make debug=y %{?_smp_mflags}
%install
make debug=y DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%license COPYING
/boot/%{name}.gz
/boot/%{name}-syms
%{_prefix}/sbin
%{_mandir}
%exclude %{_sysconfdir}
%changelog
* Sat May 09 00:20:59 PST 2020 Nick Samson <nisamson@microsoft.com> - 1.9.7-7
- Added %%license line automatically
* Mon May 04 2020 Emre Girgin <mrgirgin@microsoft.com> 1.9.7-6
- Replace BuildArch with ExclusiveArch
* Tue Mar 24 2020 Henry Beberman <henry.beberman@microsoft.com> 1.9.7-5
- Add patch to fix compat with GCC9. Source0 URL updated. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.9.7-4
- Initial CBL-Mariner import from Photon (license: Apache2).
* Fri Dec 14 2018 Ankit Jain <ankitja@vmware.com> 1.9.7-3
- Resolved conflict while installing the package
* Mon Oct 22 2018 Ajay Kaher <akaher@vmware.com> 1.9.7-2
- Adding BuildArch
* Fri Sep 07 2018 Michelle Wang <michellew@vmware.com> 1.9.7-1
- Update to version 1.9.7.
* Tue Aug 07 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 1.9.6-1
- Update to version 1.9.6 to get it to build with gcc 7.3
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.9.5-2
- Ensure non empty debuginfo
* Thu Mar 2 2017 Alexey Makhalov <amakhalov@vmware.com> 1.9.5-1
- Initial build. First version