diff --git a/2.1.1.zip b/2.1.1.zip deleted file mode 100644 index eb064d9..0000000 --- a/2.1.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dde5c3da62813d03aaa25988ad3a0bd7426be04877f8aee5e7704a33d63b04ac -size 322464 diff --git a/tpm2-tools-3.0.3.tar.gz b/tpm2-tools-3.0.3.tar.gz new file mode 100644 index 0000000..32f3451 --- /dev/null +++ b/tpm2-tools-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c990c0656165afef0fad61e1852a9a189a4b93b43d2a684b151a5dc0b3c6249d +size 534212 diff --git a/tpm2.0-tools-fix-hardening.patch b/tpm2.0-tools-fix-hardening.patch index 6ee2b1c..484896a 100644 --- a/tpm2.0-tools-fix-hardening.patch +++ b/tpm2.0-tools-fix-hardening.patch @@ -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]]) diff --git a/tpm2.0-tools.changes b/tpm2.0-tools.changes index 70f7559..da0a44c 100644 --- a/tpm2.0-tools.changes +++ b/tpm2.0-tools.changes @@ -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 diff --git a/tpm2.0-tools.spec b/tpm2.0-tools.spec index 4075972..56ce3ae 100644 --- a/tpm2.0-tools.spec +++ b/tpm2.0-tools.spec @@ -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