Hello community, here is the log from the commit of package tpm2.0-abrmd for openSUSE:Leap:15.2 checked in at 2020-04-02 16:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/tpm2.0-abrmd (Old) and /work/SRC/openSUSE:Leap:15.2/.tpm2.0-abrmd.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2.0-abrmd" Thu Apr 2 16:49:36 2020 rev:21 rq:790783 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/tpm2.0-abrmd/tpm2.0-abrmd.changes 2020-02-13 14:41:03.533663953 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.tpm2.0-abrmd.new.3248/tpm2.0-abrmd.changes 2020-04-02 16:49:36.954046660 +0200 @@ -1,0 +2,8 @@ +Wed Apr 1 13:20:25 UTC 2020 - Matthias Gerstner <[email protected]> + +- 0001-build-disable-unloading-of-libtss2-tcti-tabrmd.so.patch: + fix bsc#1166936 a segmentation fault when the libtcti-tabrmd library is + unloaded and loaded again. This caused a crash in the context of the + tpm2-tss-engine. + +------------------------------------------------------------------- New: ---- 0001-build-disable-unloading-of-libtss2-tcti-tabrmd.so.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpm2.0-abrmd.spec ++++++ --- /var/tmp/diff_new_pack.I6Yedt/_old 2020-04-02 16:49:37.498047306 +0200 +++ /var/tmp/diff_new_pack.I6Yedt/_new 2020-04-02 16:49:37.498047306 +0200 @@ -25,6 +25,7 @@ Url: https://github.com/tpm2-software/tpm2-abrmd Source0: https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/tpm2-abrmd-%{version}.tar.gz Source1: tpm2.0-abrmd.rpmlintrc +Patch0: 0001-build-disable-unloading-of-libtss2-tcti-tabrmd.so.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: gcc-c++ @@ -73,6 +74,7 @@ %prep %setup -q -n tpm2-abrmd-%{version} +%patch0 -p1 %build export CFLAGS="%optflags -fPIE" @@ -80,6 +82,7 @@ # workaround for the bug that upstream commit # b4036908dd067f8eadc9d53b1a2a39032aed109d fixes export GDBUS_CODEGEN="/usr/bin/gdbus-codegen" +autoreconf -fiv %configure --disable-static --with-systemdsystemunitdir=%{_unitdir} make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread ++++++ 0001-build-disable-unloading-of-libtss2-tcti-tabrmd.so.patch ++++++ >From d3f699d828616280c1245ced1ab6a43baca6e63f Mon Sep 17 00:00:00 2001 From: Jonas Witschel <[email protected]> Date: Tue, 1 Jan 2019 01:11:16 +0100 Subject: [PATCH] build: disable unloading of libtss2-tcti-tabrmd.so If the dynamic library is unloaded with dlclose(), it cannot be loaded with dlopen() again, it will segfault with a "cannot register existing type" GLib error. Fixes #545. Signed-off-by: Jonas Witschel <[email protected]> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tpm2-abrmd-2.0.2/Makefile.am =================================================================== --- tpm2-abrmd-2.0.2.orig/Makefile.am +++ tpm2-abrmd-2.0.2/Makefile.am @@ -254,7 +254,7 @@ test_integration_libtest_la_SOURCES = \ src_libtss2_tcti_tabrmd_la_LIBADD = $(DBUS_LIBS) $(GIO_LIBS) $(GLIB_LIBS) \ $(PTHREAD_LIBS) $(noinst_LTLIBRARIES) $(TSS2_SYS_LIBS) -src_libtss2_tcti_tabrmd_la_LDFLAGS = -fPIC -Wl,--no-undefined -Wl,--version-script=$(srcdir)/src/tcti-tabrmd.map +src_libtss2_tcti_tabrmd_la_LDFLAGS = -fPIC -Wl,--no-undefined -Wl,-z,nodelete -Wl,--version-script=$(srcdir)/src/tcti-tabrmd.map src_libtss2_tcti_tabrmd_la_SOURCES = src/tcti-tabrmd.c src/tcti-tabrmd-priv.h $(srcdir)/src/tcti-tabrmd.map src_libtss2_tcti_echo_la_LIBADD = $(DBUS_LIBS) $(GLIB_LIBS)
