SHA256
1
0
forked from pool/tpm2-0-tss

- update to upstream version 1.3.0:

- support for reproducable builds
  - improved documentation / manual pages
  - various stability bugfixes
  - EncryptDecrypt2 command is now implemented
- removed reproducable.patch. This is now included upstream.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=54
This commit is contained in:
Matthias Gerstner 2018-02-22 10:16:24 +00:00 committed by Git OBS Bridge
parent 5efd3976fa
commit 97d9bd7034
5 changed files with 22 additions and 40 deletions

View File

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

3
1.3.0.tar.gz Normal file
View File

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

View File

@ -1,31 +0,0 @@
From 010ebd4a161e424e09e5d89a336a84a0a42c456e Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Sat, 27 May 2017 07:08:56 +0200
Subject: [PATCH] sort input files
when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would differ.
See https://reproducible-builds.org/ for why this matters.
---
bootstrap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bootstrap b/bootstrap
index 95a6dda..610e817 100755
--- a/bootstrap
+++ b/bootstrap
@@ -8,7 +8,7 @@ src_listvar () {
suffix=$2
var=$3
- find "${basedir}" -name "${suffix}" | tr '\n' ' ' | (echo -n "${var} = " && cat)
+ find "${basedir}" -name "${suffix}" | LC_ALL=C sort | tr '\n' ' ' | (echo -n "${var} = " && cat)
echo ""
}
--
2.12.0

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 22 09:41:46 UTC 2018 - matthias.gerstner@suse.com
- update to upstream version 1.3.0:
- support for reproducable builds
- improved documentation / manual pages
- various stability bugfixes
- EncryptDecrypt2 command is now implemented
- removed reproducable.patch. This is now included upstream.
-------------------------------------------------------------------
Fri Sep 1 14:27:33 UTC 2017 - matthias.gerstner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tpm2-0-tss
#
# 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,16 +17,15 @@
Name: tpm2-0-tss
Version: 1.1.0
Version: 1.3.0
Release: 0
Summary: Intel's TCG Software Stack access libraries for TPM 2.0 chips
License: BSD-2-Clause
Group: Productivity/Security
Url: https://github.com/01org/TPM2.0-TSS
Source0: https://github.com/01org/TPM2.0-TSS/archive/%{version}.tar.gz
Url: https://github.com/tpm2-software/tpm2-tss
Source0: https://github.com/tpm2-software/tpm2-tss/archive/%{version}.tar.gz
Source2: baselibs.conf
# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/01org/TPM2.0-TSS/pull/419
Patch1: reproducible.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: gcc-c++
@ -83,9 +82,11 @@ TPM over a socket.
%prep
%setup -q -n tpm2-tss-%{version}
%patch1 -p1
%build
# we are still using the source tarball here. there is a release tarball for
# 1.3.0, but some files like README and CHANGELOG are missing there. The next
# release should work for us.
bash bootstrap
%configure --disable-static
make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
@ -104,6 +105,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root)
%doc *.md LICENSE
%{_mandir}/man3/*
%{_mandir}/man7/tcti-*
%files devel
%defattr(-,root,root)