Compare commits

1 Commits
main ... 1.1

5 changed files with 19 additions and 47 deletions

BIN
ibmtss-2.4.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,11 +1,10 @@
From 6d5c05a167d847ac21315aa4a1c171715cd816af Mon Sep 17 00:00:00 2001
From 005064b673d937a305427eb9fa4d549f93f6090a Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msuchanek@suse.de>
Date: Mon, 17 Aug 2020 18:21:51 +0200
Subject: [PATCH] configure.ac: Do not override optimization for debug build.
Subject: [PATCH] configure.ac: Do not disable optimization for debug build.
-O0 conflicts with FORTIFY_SOURCE and generates completely different
assembly for debug and production. If user passes in C flags let them
override the suggested -O0.
This conflicts with FORTIFY_SOURCE and generates completely different
assembly for debug and procuction.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
@@ -13,18 +12,17 @@ Signed-off-by: Michal Suchanek <msuchanek@suse.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 30e9254b339a..883c4bb84efa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AC_CHECK_FUNCS([gethostbyname memmove memset socket strerror strtoul])
@@ -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="-O0 -g -ggdb $USER_CFLAGS -Wextra -Werror"])
+ AS_IF([test "$enable_debug" = "yes"], [CFLAGS="$USER_CFLAGS -g -ggdb -Wextra -Werror"])
# Linux requires -DTPM_POSIX
case $host_os in
--
2.46.1
2.26.2

View File

@@ -1,30 +1,3 @@
-------------------------------------------------------------------
Tue Feb 25 10:42:23 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
- Update to 2.4.1:
* Issue new test EK CA root certificates with a longer validity period.
* Remove patches upstream:
- tss-Commit-changelog-and-autotools-version-update.patch
- utils-Update-.so-version-to-2.4.patch
- ibmtss-2.4.0-fix-FTBFS-2026.patch
-------------------------------------------------------------------
Tue Dec 3 07:26:17 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add ibmtss-2.4.0-fix-FTBFS-2026.patch to fix tests after 2026 (boo#1102840)
-------------------------------------------------------------------
Mon Oct 21 09:23:53 UTC 2024 - Michal Suchanek <msuchanek@suse.de>
- Update to 2.4.0:
* Add support for EK intermediate certificates
* Support different IMA log digest algorithms
* add regtest
* html documentation
- Refresh ibmtss-configure.ac-Do-not-disable-optimization-for-debug-b.patch
- tss-Commit-changelog-and-autotools-version-update.patch
- utils-Update-.so-version-to-2.4.patch
-------------------------------------------------------------------
Thu Nov 30 14:36:22 UTC 2023 - Pedro Monreal <pmonreal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ibmtss
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,15 @@
%define libversion 2
%define libname libibmtss
%define libpkgname %{libname}%{libversion}
Name: ibmtss
Version: 2.4.1
Version: 2.1.1
Release: 0
Summary: IBM's TPM 2.0 TSS
License: BSD-3-Clause
Group: Productivity/Security
URL: https://github.com/kgoldman/ibmtss
Source: https://github.com/kgoldman/ibmtss/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
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
BuildRequires: autoconf
@@ -54,8 +55,8 @@ Shared library for IBM's TPM 2.0 TSS tools
%package base
Summary: IBM's TPM 2.0 TSS shared files
Group: Productivity/Security
Requires(post): user(tss)
BuildArch: noarch
Requires(post): user(tss)
%description base
Includes IBM's TPM 2.0 TSS certificates and policy files.
@@ -70,7 +71,8 @@ Requires: %{name} = %{version}
Includes IBM's TPM 2.0 TSS C header files
%prep
%autosetup -p1
%setup -q -c
%autopatch -p1
%build
autoreconf -ifv
@@ -100,13 +102,12 @@ find %{buildroot} -name .cvsignore | xargs rm -v
%post base
%_bindir/udevadm trigger -s tpm -s tpmrm || :
%post -n %{libpkgname} -p /sbin/ldconfig
%postun -n %{libpkgname} -p /sbin/ldconfig
%files
%license LICENSE
%doc ibmtss.html ibmtss.docx README
%doc ibmtss.docx
%{_bindir}/tss*
%{_mandir}/man1/tss*.1%{?ext_man}

BIN
ibmtss2.1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.