Accepting request 713487 from home:michals
- Update to upstream version 1332 * fixes build of ibmtpm v1470 * add ibmswtpm2-fix-uninitialized.patch * run through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/713487 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=16
This commit is contained in:
parent
67a94faa0b
commit
24ef90c9aa
20
ibmswtpm2-fix-uninitialized.patch
Normal file
20
ibmswtpm2-fix-uninitialized.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- 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) {
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 4 17:02:41 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
|
||||||
|
|
||||||
|
- Update to upstream version 1332
|
||||||
|
* fixes build of ibmtpm v1470
|
||||||
|
* add ibmswtpm2-fix-uninitialized.patch
|
||||||
|
* run through spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 18 08:31:26 UTC 2018 - msuchanek@suse.com
|
Thu Jan 18 08:31:26 UTC 2018 - msuchanek@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ibmswtpm2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
%define suite ibmtss
|
||||||
|
|
||||||
Name: ibmswtpm2
|
|
||||||
Version: 1119
|
|
||||||
Release: 0
|
|
||||||
Summary: IBM's Software TPM 2.0
|
|
||||||
License: BSD-3-Clause
|
|
||||||
Group: Development/Tools/Other
|
|
||||||
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
|
%ifarch ppc ppc64 s390 s390x
|
||||||
%define extra_ccflags -DBIG_ENDIAN_TPM=1
|
%define extra_ccflags -DBIG_ENDIAN_TPM=1
|
||||||
%else
|
%else
|
||||||
%define extra_ccflags ""
|
%define extra_ccflags ""
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Name: ibmswtpm2
|
||||||
|
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
|
||||||
|
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
|
||||||
|
Patch1: makefile.patch
|
||||||
|
Patch2: ibmswtpm2-fix-uninitialized.patch
|
||||||
BuildRequires: libopenssl-devel >= 1.0
|
BuildRequires: libopenssl-devel >= 1.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An implementation of the TCG TPM 2.0 specification. It is based on
|
An implementation of the TCG TPM 2.0 specification. It is based on
|
||||||
@ -47,8 +48,8 @@ It is probably not of much use other than testing the IBM TSS
|
|||||||
implementation because of this specific interface.
|
implementation because of this specific interface.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -q
|
%setup -q -c
|
||||||
%patch1 -p 1
|
%autopatch -p 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
@ -59,7 +60,6 @@ cd src
|
|||||||
install -m 755 -D -t %{buildroot}/%{_libexecdir}/%{suite} tpm_server
|
install -m 755 -D -t %{buildroot}/%{_libexecdir}/%{suite} tpm_server
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_libexecdir}/%{suite}
|
%dir %{_libexecdir}/%{suite}
|
||||||
%{_libexecdir}/%{suite}/tpm_server
|
%{_libexecdir}/%{suite}/tpm_server
|
||||||
%doc ibmtpm.doc
|
%doc ibmtpm.doc
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b9eef79904e276aeaed2a6b9e4021442ef4d7dfae4adde2473bef1a6a4cd10fb
|
|
||||||
size 579899
|
|
3
ibmtpm1332.tar.gz
Normal file
3
ibmtpm1332.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8e8193af3d11d9ff6a951dda8cd1f4693cb01934a8ad7876b84e92c6148ab0fd
|
||||||
|
size 590005
|
Loading…
Reference in New Issue
Block a user