Hello community, here is the log from the commit of package ibmswtpm2 for openSUSE:Factory checked in at 2019-07-11 13:15:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibmswtpm2 (Old) and /work/SRC/openSUSE:Factory/.ibmswtpm2.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibmswtpm2" Thu Jul 11 13:15:56 2019 rev:6 rq:713846 version:1332 Changes: -------- --- /work/SRC/openSUSE:Factory/ibmswtpm2/ibmswtpm2.changes 2018-01-20 11:26:55.431779428 +0100 +++ /work/SRC/openSUSE:Factory/.ibmswtpm2.new.4615/ibmswtpm2.changes 2019-07-11 13:16:10.162809430 +0200 @@ -1,0 +2,8 @@ +Thu Jul 4 17:02:41 UTC 2019 - Michal Suchanek <[email protected]> + +- Update to upstream version 1332 + * fixes build of ibmtpm v1470 + * add ibmswtpm2-fix-uninitialized.patch + * run through spec-cleaner + +------------------------------------------------------------------- Old: ---- ibmtpm1119.tar.gz New: ---- ibmswtpm2-fix-uninitialized.patch ibmtpm1332.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmswtpm2.spec ++++++ --- /var/tmp/diff_new_pack.TXWYXu/_old 2019-07-11 13:16:10.858809211 +0200 +++ /var/tmp/diff_new_pack.TXWYXu/_new 2019-07-11 13:16:10.862809210 +0200 @@ -1,7 +1,7 @@ # # spec file for package ibmswtpm2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,28 +12,29 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define suite ibmtss +%ifarch ppc ppc64 s390 s390x +%define extra_ccflags -DBIG_ENDIAN_TPM=1 +%else +%define extra_ccflags "" +%endif + Name: ibmswtpm2 -Version: 1119 +Version: 1332 Release: 0 Summary: IBM's Software TPM 2.0 License: BSD-3-Clause Group: Development/Tools/Other -Url: https://sourceforge.net/projects/ibmswtpm2 +URL: https://sourceforge.net/projects/ibmswtpm2 Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz Patch1: makefile.patch -%ifarch ppc ppc64 s390 s390x -%define extra_ccflags -DBIG_ENDIAN_TPM=1 -%else -%define extra_ccflags "" -%endif +Patch2: ibmswtpm2-fix-uninitialized.patch BuildRequires: libopenssl-devel >= 1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description An implementation of the TCG TPM 2.0 specification. It is based on @@ -47,8 +48,8 @@ implementation because of this specific interface. %prep -%setup -c -q -%patch1 -p 1 +%setup -q -c +%autopatch -p 1 %build cd src @@ -59,7 +60,6 @@ install -m 755 -D -t %{buildroot}/%{_libexecdir}/%{suite} tpm_server %files -%defattr(-,root,root) %dir %{_libexecdir}/%{suite} %{_libexecdir}/%{suite}/tpm_server %doc ibmtpm.doc ++++++ ibmswtpm2-fix-uninitialized.patch ++++++ --- ibmswtpm2-1332/src/TcpServerPosix.c~ 2018-09-07 16:20:51.000000000 +0200 +++ ibmswtpm2-1332/src/TcpServerPosix.c 2019-07-04 19:58:14.736607559 +0200 @@ -292,7 +292,7 @@ int res, i; int nSock = 0; socklen_t length[2]; - BOOL continueServing; + BOOL continueServing = 0; if (CreateSocket(PortNumber, &listenSocket[nSock], &length[nSock], AF_INET) == 0) { @@ -424,7 +424,7 @@ int res, i; int nSock = 0; socklen_t length[2]; - BOOL continueServing; + BOOL continueServing = 0; if (CreateSocket(*PortNumber, &listenSocket[nSock], &length[nSock], AF_INET) == 0) { ++++++ ibmtpm1119.tar.gz -> ibmtpm1332.tar.gz ++++++ ++++ 19562 lines of diff (skipped)
