forked from pool/tboot
Marcus Meissner
d396ed9c70
Update README for TPM2 support tpm2 support Adding sha256 algorithm implementation Update README for TPM NV measuring Update README for EFI support Fix typo in tboot/Makefile Increase the supported maximum number of cpus from 256 to 512 Extend tboot policy supporting measuring TPM NV EFI support via multiboot2 changes Fix typo in common/hash.c Fix verification for extended data elements in txt heap OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=28
79 lines
2.3 KiB
RPMSpec
79 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package tboot
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: tboot
|
|
%define ver 1.8.0
|
|
Version: 20130705_1.8.0
|
|
Release: 0
|
|
Summary: Performs a verified launch using Intel(R) TXT
|
|
License: BSD-3-Clause
|
|
Group: Productivity/Security
|
|
Url: http://sourceforge.net/projects/tboot/
|
|
Source0: http://downloads.sourceforge.net/project/tboot/tboot/tboot-%{ver}.tar.gz
|
|
Patch0: tboot-fix.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: trousers-devel
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
%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 -n %name-%ver
|
|
%patch0 -p1
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
export TBOOT_CFLAGS="$CFLAGS"
|
|
make debug=y %{?_smp_mflags}
|
|
|
|
%install
|
|
make debug=y install DISTDIR=$RPM_BUILD_ROOT MANPATH=$RPM_BUILD_ROOT/%{_mandir}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING docs/* lcptools/lcptools2.txt lcptools/Linux_LCP_Tools_User_Manual.pdf
|
|
%{_sbindir}/acminfo
|
|
%{_sbindir}/lcp_crtpconf
|
|
%{_sbindir}/lcp_crtpol
|
|
%{_sbindir}/lcp_crtpol2
|
|
%{_sbindir}/lcp_crtpolelt
|
|
%{_sbindir}/lcp_crtpollist
|
|
%{_sbindir}/lcp_mlehash
|
|
%{_sbindir}/lcp_readpol
|
|
%{_sbindir}/lcp_writepol
|
|
%{_sbindir}/parse_err
|
|
%{_sbindir}/tb_polgen
|
|
%{_sbindir}/tpmnv_defindex
|
|
%{_sbindir}/tpmnv_getcap
|
|
%{_sbindir}/tpmnv_lock
|
|
%{_sbindir}/tpmnv_relindex
|
|
%{_sbindir}/txt-stat
|
|
/boot/tboot.gz
|
|
/boot/tboot-syms
|
|
%{_mandir}/man8/*
|
|
%dir %{_sysconfdir}/grub.d/
|
|
%{_sysconfdir}/grub.d/20_linux_tboot
|
|
%{_sysconfdir}/grub.d/20_linux_xen_tboot
|
|
|
|
%changelog
|