SHA256
1
0
forked from pool/tpm2.0-tools

- update to version 3.0.3:

- various changes in tool options
  - man pages are now in section 1 (formerly in section 8)
  - tools are now installed in /usr/bin (formerly /usr/sbin)

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-tools?expand=0&rev=32
This commit is contained in:
Matthias Gerstner 2018-02-22 11:21:56 +00:00 committed by Git OBS Bridge
parent d61e6c9bf0
commit 14f68543f3
5 changed files with 24 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde5c3da62813d03aaa25988ad3a0bd7426be04877f8aee5e7704a33d63b04ac
size 322464

3
tpm2-tools-3.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c990c0656165afef0fad61e1852a9a189a4b93b43d2a684b151a5dc0b3c6249d
size 534212

View File

@ -1,16 +1,15 @@
Index: tpm2-tools-2.1.0/configure.ac
Index: tpm2-tools-3.0.3/configure.ac
===================================================================
--- tpm2-tools-2.1.0.orig/configure.ac
+++ tpm2-tools-2.1.0/configure.ac
@@ -121,11 +121,9 @@ AS_IF([test x"$hardening" != x"no"], [
--- tpm2-tools-3.0.3.orig/configure.ac
+++ tpm2-tools-3.0.3/configure.ac
@@ -130,10 +130,8 @@ AS_IF([test x"$hardening" != x"no"], [
add_hardened_c_flag([-Wformat])
add_hardened_c_flag([-Wformat-security])
- add_hardened_c_flag([-Wstack-protector])
add_hardened_c_flag([-fstack-protector-all])
add_hardened_define_flag([-D_FORTIFY_SOURCE=2])
- add_hardened_define_flag([-U_FORTIFY_SOURCE])
add_hardened_define_flag([-D_FORTIFY_SOURCE=2])
add_hardened_c_flag([-fPIC])
add_hardened_ld_flag([[-shared]])

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 22 11:08:19 UTC 2018 - matthias.gerstner@suse.com
- update to version 3.0.3:
- various changes in tool options
- man pages are now in section 1 (formerly in section 8)
- tools are now installed in /usr/bin (formerly /usr/sbin)
-------------------------------------------------------------------
Thu Nov 9 11:00:33 UTC 2017 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tpm2.0-tools
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -17,13 +17,13 @@
Name: tpm2.0-tools
Version: 2.1.1
Version: 3.0.3
Release: 0
Summary: Trusted Platform Module (TPM) 2.0 administration tools
License: BSD-3-Clause
Group: Productivity/Security
Url: https://github.com/01org/tpm2.0-tools
Source0: https://github.com/01org/tpm2.0-tools/archive/%{version}.zip
Url: https://github.com/tpm2-software/tpm2-tools/releases
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/tpm2-tools-%{version}.tar.gz
Patch0: tpm2.0-tools-fix-hardening.patch
BuildRequires: autoconf-archive
BuildRequires: automake
@ -31,6 +31,7 @@ BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libtool
BuildRequires: pandoc
BuildRequires: pkgconfig
BuildRequires: tpm2-0-tss-devel
BuildRequires: tpm2.0-abrmd-devel
@ -50,7 +51,6 @@ associated interfaces.
%patch0 -p1
%build
bash ./bootstrap
%configure --disable-static
make %{?_smp_mflags}
@ -63,8 +63,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root)
%doc README.md manual LICENSE
/usr/sbin/tpm2_*
%{_mandir}/man8/tpm2_*
%doc README.md LICENSE CHANGELOG.md
/usr/bin/tpm2_*
%{_mandir}/man1/tpm2_*
%changelog