Hello community, here is the log from the commit of package ibmtss for openSUSE:Factory checked in at 2020-08-20 22:33:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibmtss (Old) and /work/SRC/openSUSE:Factory/.ibmtss.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibmtss" Thu Aug 20 22:33:03 2020 rev:15 rq:828133 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ibmtss/ibmtss.changes 2020-03-27 21:57:24.750796769 +0100 +++ /work/SRC/openSUSE:Factory/.ibmtss.new.3399/ibmtss.changes 2020-08-20 22:33:19.392107447 +0200 @@ -1,0 +2,9 @@ +Mon Aug 17 14:38:12 UTC 2020 - Michal Suchanek <msucha...@suse.de> + +- Update to upstream version 1.5.0 (jsc#SLE-13828). +- Fix build warning due to -O0 + + ibmtss-configure.ac-Do-not-disable-optimization-for-debug-b.patch +- Fix uninitialized variable warning + + ibmtss-certifyx509-Fix-uninitialized-variable.patch + +------------------------------------------------------------------- Old: ---- ibmtss1.3.0.tar.gz New: ---- ibmtss-certifyx509-Fix-uninitialized-variable.patch ibmtss-configure.ac-Do-not-disable-optimization-for-debug-b.patch ibmtss1.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmtss.spec ++++++ --- /var/tmp/diff_new_pack.ZuNrrb/_old 2020-08-20 22:33:20.636108029 +0200 +++ /var/tmp/diff_new_pack.ZuNrrb/_new 2020-08-20 22:33:20.640108030 +0200 @@ -18,12 +18,12 @@ # %define libversion 1 -%define libversion_full 1.3.0 +%define libversion_full 1.5.0 %define libname libibmtss %define libpkgname %{libname}%{libversion} Name: ibmtss -Version: 1.3.0 +Version: 1.5.0 Release: 0 Summary: IBM's TPM 2.0 TSS License: BSD-3-Clause @@ -31,6 +31,8 @@ URL: https://sourceforge.net/projects/ibmtpm20tss Source: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz Source1: 90-tpm-ibmtss.rules +Patch1: ibmtss-configure.ac-Do-not-disable-optimization-for-debug-b.patch +Patch2: ibmtss-certifyx509-Fix-uninitialized-variable.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: ibmswtpm2 @@ -73,6 +75,7 @@ %prep %setup -q -c +%autopatch -p1 %build autoreconf -i ++++++ ibmtss-certifyx509-Fix-uninitialized-variable.patch ++++++ --- a/utils/certifyx509.c 2020-05-14 20:44:20.000000000 +0200 +++ b/utils/certifyx509.c 2020-08-17 18:36:52.842956894 +0200 @@ -137,7 +137,7 @@ TPMI_DH_OBJECT objectHandle = 0; TPMI_DH_OBJECT signHandle = 0; unsigned int algCount = 0; - TPMI_ALG_SIG_SCHEME scheme; + TPMI_ALG_SIG_SCHEME scheme = TPM_ALG_ERROR; TPMI_RSA_KEY_BITS keyBits = 0; TPMI_ECC_CURVE curveID = 0; TPMI_ALG_HASH halg = TPM_ALG_SHA256; ++++++ ibmtss-configure.ac-Do-not-disable-optimization-for-debug-b.patch ++++++ >From 005064b673d937a305427eb9fa4d549f93f6090a Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msucha...@suse.de> Date: Mon, 17 Aug 2020 18:21:51 +0200 Subject: [PATCH] configure.ac: Do not disable optimization for debug build. This conflicts with FORTIFY_SOURCE and generates completely different assembly for debug and procuction. Signed-off-by: Michal Suchanek <msucha...@suse.de> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ AC_CHECK_FUNCS([gethostbyname memmove memset socket strerror strtoul]) # Replace autotools default optimization AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [Build a TSS library used for debugging])) - AS_IF([test "$enable_debug" = "yes"], [CFLAGS="$USER_CFLAGS -g -ggdb -O0"]) + AS_IF([test "$enable_debug" = "yes"], [CFLAGS="$USER_CFLAGS -g -ggdb -Wextra -Werror"]) # Linux requires -DTPM_POSIX case $host_os in -- 2.26.2 ++++++ ibmtss1.3.0.tar.gz -> ibmtss1.5.0.tar.gz ++++++ ++++ 17578 lines of diff (skipped)