forked from pool/pcr-oracle
Accepting request 1090117 from SUSE:ALP
This tool is needed to support Full Disk Encryption on ALP and hopefully other projects. OBS-URL: https://build.opensuse.org/request/show/1090117 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcr-oracle?expand=0&rev=1
This commit is contained in:
59
pcr-oracle.spec
Normal file
59
pcr-oracle.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package pcr-oracle
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
Name: pcr-oracle
|
||||
Version: 0.4.2
|
||||
Release: 0
|
||||
Summary: Predict TPM PCR values
|
||||
License: GPL-2.0-only
|
||||
Group: System/Boot
|
||||
URL: https://github.com/okirch/pcr-oracle
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: openssl >= 0.9.8
|
||||
BuildRequires: tpm2-0-tss-devel
|
||||
ExclusiveArch: x86_64 aarch64 ppc64le riscv64
|
||||
|
||||
%description
|
||||
This utility tries to predict the values of the TPM's Platform
|
||||
Configuration Registers following an update of system components
|
||||
like shim, grub, etc.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# beware, this is not autoconf
|
||||
./configure --prefix /usr
|
||||
make
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%doc test-authorized.sh
|
||||
/bin/pcr-oracle
|
||||
%{_mandir}/man8/pcr-oracle.8*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user