forked from pool/tpm2.0-tools
This commit is contained in:
commit
9c0b6bbb35
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
tpm-tools-1.3.8.tar.gz
Normal file
3
tpm-tools-1.3.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83
|
||||||
|
size 473339
|
106
tpm-tools.changes
Normal file
106
tpm-tools.changes
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 19 16:03:22 UTC 2015 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Do not use -Werror.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 2 12:31:34 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Remove tpm-tools-rpmlintrc
|
||||||
|
- Use automake and autoconf as recomended by upstream
|
||||||
|
- Split library, devel adn pkcs11 package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 21:52:42 UTC 2014 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Remove a number of unused build requires, probably copy/paste
|
||||||
|
error, never used.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 14:29:53 UTC 2012 - meissner@suse.com
|
||||||
|
|
||||||
|
- Updated to 1.3.8
|
||||||
|
- bugfixes
|
||||||
|
- pcr/nvram sealing options
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 14 13:34:35 UTC 2012 - meissner@suse.com
|
||||||
|
|
||||||
|
- Updated to 1.3.7.1
|
||||||
|
- smaller bugfixes from last release
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 13 10:57:07 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- patch license to follow spdx.org standard
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 8 16:53:21 CEST 2011 - meissner@suse.de
|
||||||
|
|
||||||
|
- Updated to 1.3.7
|
||||||
|
- NVRAM support, new binaries: tpm_nvdefine tpm_nvinfo tpm_nvrelease
|
||||||
|
tpm_nvread tpm_nvwrite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 30 14:50:07 UTC 2011 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- build with --no-copy-dt-needed-entries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 20 15:54:46 CEST 2011 - meissner@suse.de
|
||||||
|
|
||||||
|
- Update to 1.3.6
|
||||||
|
- some unsealing fixes, do not unseal much
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 27 11:17:43 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Disable gcc's new unused-but-set-variable warnings, these are just
|
||||||
|
noise as BIO_*(...) functions returns a value and needs to
|
||||||
|
be handled
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 27 07:54:30 CEST 2010 - meissner@suse.de
|
||||||
|
|
||||||
|
- add opencryptoki support (bnc#641919)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 18 11:50:00 CET 2010 - meissner@suse.de
|
||||||
|
|
||||||
|
- updated to 1.3.5 upstream
|
||||||
|
- small bugfixes mostly, nothing new
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 27 15:28:58 CEST 2009 - meissner@suse.de
|
||||||
|
|
||||||
|
- updated to 1.3.2 upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 16 11:57:34 CEST 2008 - meissner@suse.de
|
||||||
|
|
||||||
|
- disable static
|
||||||
|
- make check added, even if it does nothing currently.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 15 16:12:55 CEST 2008 - meissner@suse.de
|
||||||
|
|
||||||
|
- do not build static library for now.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 28 12:01:10 CET 2008 - meissner@suse.de
|
||||||
|
|
||||||
|
- Imported from buildservice
|
||||||
|
- ingore rpmlint shared library errors, shared lib
|
||||||
|
is only used in here.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 13 17:52:08 CEST 2007 - skh@suse.de
|
||||||
|
|
||||||
|
- initial build service import with version 1.2.5.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 10 14:15 CET 2005 - draht@suse.de
|
||||||
|
|
||||||
|
- initial package, version 1.1.0
|
||||||
|
|
139
tpm-tools.spec
Normal file
139
tpm-tools.spec
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
#
|
||||||
|
# spec file for package tpm-tools
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define lib_name libtpm_unseal1
|
||||||
|
Name: tpm-tools
|
||||||
|
Version: 1.3.8
|
||||||
|
Release: 0
|
||||||
|
Summary: Trusted Platform Module (TPM) administration tools
|
||||||
|
License: IPL-1.0
|
||||||
|
Group: Productivity/Security
|
||||||
|
Url: http://trousers.sourceforge.net/
|
||||||
|
Source0: http://downloads.sourceforge.net/project/trousers/tpm-tools/1.3.7/tpm-tools-%{version}.tar.gz
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: openCryptoki-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: trousers-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Trusted Computing is a set of specifications published by the Trusted
|
||||||
|
Computing Group (TCG). The Trusted Platform Module (TPM) is the
|
||||||
|
hardware component for Trusted Computing. The tpm-tools package
|
||||||
|
provides tools for enablement and configuration of the TPM and
|
||||||
|
associated interfaces. Also look inside the trousers package for more
|
||||||
|
software for TC.
|
||||||
|
|
||||||
|
%package pkcs11
|
||||||
|
Summary: Management tools using PKCS#11 for the TPM hardware
|
||||||
|
Group: Applications/System
|
||||||
|
|
||||||
|
%description pkcs11
|
||||||
|
Trusted Computing is a set of specifications published by the Trusted
|
||||||
|
Computing Group (TCG). The Trusted Platform Module (TPM) is the
|
||||||
|
hardware component for Trusted Computing. The tpm-tools package
|
||||||
|
provides tools for enablement and configuration of the TPM and
|
||||||
|
associated interfaces. Also look inside the trousers package for more
|
||||||
|
software for TC.
|
||||||
|
|
||||||
|
This package contains group of tools that use the TPM PKCS#11 token. All data
|
||||||
|
contained in the PKCS#11 data store is protected by the TPM (keys,
|
||||||
|
certificates, etc.). You can import keys and certificates, list out the
|
||||||
|
objects in the data store, and protect data.
|
||||||
|
|
||||||
|
%package -n %{lib_name}
|
||||||
|
Summary: Management tools for the TPM hardware (library)
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{lib_name}
|
||||||
|
Trusted Computing is a set of specifications published by the Trusted
|
||||||
|
Computing Group (TCG). The Trusted Platform Module (TPM) is the
|
||||||
|
hardware component for Trusted Computing. The tpm-tools package
|
||||||
|
provides tools for enablement and configuration of the TPM and
|
||||||
|
associated interfaces. Also look inside the trousers package for more
|
||||||
|
software for TC.
|
||||||
|
|
||||||
|
This package contains shared libraries
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files to use the library routines supplied with tpm-tools
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{lib_name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Trusted Computing is a set of specifications published by the Trusted
|
||||||
|
Computing Group (TCG). The Trusted Platform Module (TPM) is the
|
||||||
|
hardware component for Trusted Computing. The tpm-tools package
|
||||||
|
provides tools for enablement and configuration of the TPM and
|
||||||
|
associated interfaces. Also look inside the trousers package for more
|
||||||
|
software for TC.
|
||||||
|
|
||||||
|
This package contains the libraries and headers necessary for developing
|
||||||
|
tpm-tools applications.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
|
sed -i -e 's@-Werror@@g' configure.in
|
||||||
|
# Disable unused-but-set warnings with gcc >= 4.6
|
||||||
|
%configure \
|
||||||
|
--disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
|
%post -n %{lib_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{lib_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
cp include/*.h %{buildroot}%{_includedir}/tpm_tools
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README LICENSE
|
||||||
|
%{_mandir}/man1/tpm_*
|
||||||
|
%{_mandir}/man8/tpm_*
|
||||||
|
%{_sbindir}/tpm_*
|
||||||
|
%{_bindir}/tpm_*
|
||||||
|
|
||||||
|
%files -n %{lib_name}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files pkcs11
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_bindir}/tpmtoken_*
|
||||||
|
%{_mandir}/man1/tpmtoken_*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_includedir}/tpm_tools
|
||||||
|
%{_mandir}/man3/tpmUnseal*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user