From 1abbb8e37a90a390b92a80537af9b4f7b7157eff Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 1 Apr 2023 11:06:14 +0200 Subject: [PATCH] - updated to 3.2.2 (fixes CVE-2023-22745) --- tpm2-tss-link.patch | 11 ----------- tpm2-tss-missing.patch | 10 ---------- tpm2-tss.spec | 10 +++------- 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 tpm2-tss-link.patch delete mode 100644 tpm2-tss-missing.patch diff --git a/tpm2-tss-link.patch b/tpm2-tss-link.patch deleted file mode 100644 index 2b33301..0000000 --- a/tpm2-tss-link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- tpm2-tss-3.2.0/Makefile.am.orig 2022-02-21 21:15:40.607601135 +0100 -+++ tpm2-tss-3.2.0/Makefile.am 2022-02-21 21:19:52.206238108 +0100 -@@ -369,7 +369,7 @@ EXTRA_DIST += lib/tss2-tcti-libtpms.map - if HAVE_LD_VERSION_SCRIPT - src_tss2_tcti_libtss2_tcti_libtpms_la_LDFLAGS = -Wl,--version-script=$(srcdir)/lib/tss2-tcti-libtpms.map - endif # HAVE_LD_VERSION_SCRIPT --src_tss2_tcti_libtss2_tcti_libtpms_la_LIBADD = $(libtss2_tctildr) $(libutil) -+src_tss2_tcti_libtss2_tcti_libtpms_la_LIBADD = $(libtss2_mu) $(libutil) - src_tss2_tcti_libtss2_tcti_libtpms_la_SOURCES = \ - src/tss2-tcti/tcti-common.c \ - src/tss2-tcti/tcti-libtpms.c \ diff --git a/tpm2-tss-missing.patch b/tpm2-tss-missing.patch deleted file mode 100644 index ecefd03..0000000 --- a/tpm2-tss-missing.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- tpm2-tss-3.2.0/lib/tss2-tcti-libtpms.map.orig 1970-01-01 01:00:00.000000000 +0100 -+++ tpm2-tss-3.2.0/lib/tss2-tcti-libtpms.map 2022-02-21 21:14:00.504810105 +0100 -@@ -0,0 +1,7 @@ -+{ -+ global: -+ Tss2_Tcti_Info; -+ Tss2_Tcti_Libtpms_Init; -+ local: -+ *; -+}; diff --git a/tpm2-tss.spec b/tpm2-tss.spec index 8cf9bec..09fa27d 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -5,16 +5,14 @@ Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2) Summary(pl.UTF-8): Mająca otwarte źródła implementacja TCG TPM2 Software Stack (TSS2) Name: tpm2-tss -Version: 3.2.0 -Release: 2 +Version: 3.2.2 +Release: 1 License: BSD Group: Libraries #Source0Download: https://github.com/tpm2-software/tpm2-tss/releases Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 0d60d0df3fd0daae66881a3022281323 +# Source0-md5: eb6bab06a816f640f497341e89939343 Patch0: %{name}-install.patch -Patch1: %{name}-missing.patch -Patch2: %{name}-link.patch URL: https://github.com/tpm2-software/tpm2-tss BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -102,8 +100,6 @@ Biblioteka statyczna tpm2-tss. %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 # set VERSION properly when there is no .git directory %{__sed} -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/%{version}/' configure.ac -- 2.44.0