Accepting request 755854 from security
! please handle this together with sr#755853 for tpm2-0-tss ! - update to version 2.3.0: - changes in version 2.3.0: - Add '--enable-debug' flag to configure script to simplify debug builds. This relies on the AX_CHECK_ENABLE_DEBUG autoconf archive macro. - Replaced custom dynamic TCTI loading code with libtss2-tctildr from upstream tpm2-tss repo. (requires tpm2-0-tss version 2.3.0) - Explicitly set '-O2' optimization when using FORTIFY_SOURCE as required. - changes in version 2.2.0: - New configuration option `--disable-defaultflags/ added. This is for use for packaging for targets that do not support the default compilation / linking flags. - Use private dependencies properly in pkg-config metadata for TCTI. - Refactor daemon main module to enable better handling of error conditions and enable more thorough unit testing. - Updated dependencies to ensure compatibility with pkg-config fixes in tpm2-tss. - Fixed bug causing TCTI to block when used by libtss2-sys built with partial reads enabled. - Removed unnecessary libs / flags for pthreads in the TCTI pkg-config. - Output from configure script now accurately describes the state of the flags that govern the integration tests. - drop fix_dlopen.patch: no longer necessary since abrmd not uses the tctildr shared library. This one hopefully now does the right thing. OBS-URL: https://build.opensuse.org/request/show/755854 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=16
This commit is contained in:
commit
6e1501cfc9
2
_service
2
_service
@ -2,7 +2,7 @@
|
|||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="url">https://github.com/intel/tpm2-abrmd.git</param>
|
<param name="url">https://github.com/intel/tpm2-abrmd.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="revision">2.1.1</param>
|
<param name="revision">2.3.0</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="changesgenerate">disable</param>
|
<param name="changesgenerate">disable</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
Index: tpm2-abrmd-2.0.0/src/tcti-util.c
|
|
||||||
===================================================================
|
|
||||||
--- tpm2-abrmd-2.0.0.orig/src/tcti-util.c
|
|
||||||
+++ tpm2-abrmd-2.0.0/src/tcti-util.c
|
|
||||||
@@ -53,7 +53,7 @@ tcti_util_discover_info (const char *fil
|
|
||||||
if (*tcti_dl_handle == NULL) {
|
|
||||||
size = snprintf (filename_xfrm,
|
|
||||||
sizeof (filename_xfrm),
|
|
||||||
- "libtss2-tcti-%s.so.0",
|
|
||||||
+ "%s.0",
|
|
||||||
filename);
|
|
||||||
if (size >= sizeof (filename_xfrm)) {
|
|
||||||
g_critical ("TCTI name truncated in transform.");
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:29a55a9e4bc57e4d93acda12cde77bbf332f1dbe99a393ddddd5ede4efc7079a
|
|
||||||
size 561352
|
|
3
tpm2-abrmd-2.3.0.tar.gz
Normal file
3
tpm2-abrmd-2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63cb59be1fd21e6ae233c37a0aa4a59883a4885a7bfd2c7e69979c5048518d50
|
||||||
|
size 567803
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 11 11:55:13 UTC 2019 - matthias.gerstner@suse.com
|
||||||
|
|
||||||
|
- update to version 2.3.0:
|
||||||
|
- changes in version 2.3.0:
|
||||||
|
- Add '--enable-debug' flag to configure script to simplify debug builds.
|
||||||
|
This relies on the AX_CHECK_ENABLE_DEBUG autoconf archive macro.
|
||||||
|
- Replaced custom dynamic TCTI loading code with libtss2-tctildr from
|
||||||
|
upstream tpm2-tss repo. (requires tpm2-0-tss version 2.3.0)
|
||||||
|
- Explicitly set '-O2' optimization when using FORTIFY_SOURCE as required.
|
||||||
|
- changes in version 2.2.0:
|
||||||
|
- New configuration option `--disable-defaultflags/ added. This is
|
||||||
|
for use for packaging for targets that do not support the default
|
||||||
|
compilation / linking flags.
|
||||||
|
- Use private dependencies properly in pkg-config metadata for TCTI.
|
||||||
|
- Refactor daemon main module to enable better handling of error
|
||||||
|
conditions and enable more thorough unit testing.
|
||||||
|
- Updated dependencies to ensure compatibility with pkg-config fixes
|
||||||
|
in tpm2-tss.
|
||||||
|
- Fixed bug causing TCTI to block when used by libtss2-sys built with
|
||||||
|
partial reads enabled.
|
||||||
|
- Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
|
||||||
|
- Output from configure script now accurately describes the state of the
|
||||||
|
flags that govern the integration tests.
|
||||||
|
- drop fix_dlopen.patch: no longer necessary since abrmd not uses the tctildr
|
||||||
|
shared library. This one hopefully now does the right thing.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 26 06:49:37 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
|
Mon Aug 26 06:49:37 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: tpm2.0-abrmd
|
Name: tpm2.0-abrmd
|
||||||
Version: 2.1.1
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Intel's TCG Software Stack Access Broker & Resource Manager for TPM 2.0 chips
|
Summary: Intel's TCG Software Stack Access Broker & Resource Manager for TPM 2.0 chips
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -39,7 +39,6 @@ Recommends: libtss2-tcti-device0
|
|||||||
Recommends: libtss2-tcti-tabrmd0
|
Recommends: libtss2-tcti-tabrmd0
|
||||||
Requires: tpm2-0-tss
|
Requires: tpm2-0-tss
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch0: fix_dlopen.patch
|
|
||||||
# the auto activation is not whitelisted for <= SLE12-SP3
|
# the auto activation is not whitelisted for <= SLE12-SP3
|
||||||
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
|
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
|
||||||
%define install_dbus_files 1
|
%define install_dbus_files 1
|
||||||
@ -74,7 +73,6 @@ use with the SAPI library (libtss2-sys) like any other TCTI.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tpm2-abrmd-%{version}
|
%setup -q -n tpm2-abrmd-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fPIE"
|
export CFLAGS="%optflags -fPIE"
|
||||||
|
Loading…
Reference in New Issue
Block a user