- 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/package/show/security/tpm2.0-abrmd?expand=0&rev=51
This commit is contained in:
parent
73b5f87efa
commit
d451320a04
@ -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.");
|
|
@ -22,6 +22,8 @@ Wed Dec 11 11:55:13 UTC 2019 - matthias.gerstner@suse.com
|
|||||||
- Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
|
- Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
|
||||||
- Output from configure script now accurately describes the state of the
|
- Output from configure script now accurately describes the state of the
|
||||||
flags that govern the integration tests.
|
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>
|
||||||
|
@ -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