Debian Patches

Status for tpm2-tss/4.1.3-1.3

Patch Description Author Forwarded Bugs Origin Last update
0001_disable_fapi_io_test.patch Temporarily disable fapi-io tests This unit test is not working. And it actually doesn't affect anything.
Disable it until upstream fixes this.
===================================================================
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> not-needed upstream
0002-fix-version.patch Extract the version from the Debian changelog Upstream uses the VCS to get the correct version in the build system, but we're using tarballs.
This patch uses a similar mechanism but extracts the version from the packaging instead.
Simon Chopin <simon.chopin@canonical.com> not-needed 2022-03-01
disable-tests-on-big-endian.patch The test files (binaries) for IMA and system events contain little endian integers which are assigned to the big endian integers with memcpy.
The conversion has to be fixed.
Lukas Märdian <slyon@ubuntu.com> not-needed debian upstream 2023-08-22
0004-ESYS-FAPI-Fix-order-of-calloc-parameters.patch ESYS/FAPI: Fix order of calloc parameters.Origin:upstream,commit:8d19bd17ae5c770653d396dffab9a2cf1984a96d) Juergen Repp <juergen_repp@web.de> no
0005-FAPI-Fix-wrong-format-directive-in-ifap_set_auth.patch FAPI: Fix wrong format directive in ifap_set_auth %u was used for a 16 bit unsigned integer and %lu for sizeof. Juergen Repp <juergen_repp@web.de> no upstream,commit:4e2fe02fca8409f875a8693ece06b8b5e5baf5ce
0006-test-skip-tcti-spidev-on-32bit-architectures-with-64.patch test: skip tcti-spidev on 32bit architectures with 64bit time_t Luca Boccassi <luca.boccassi@gmail.com> yes
0007-incorrect-pointer-casts.patch test: fix incorrect pointer casts
When building with cmocka 2.0.1 the tests fail due to stricter type
checks, this patch fixes that. Tested with both cmocka 1.1.8 and 2.0.1.

```
test/unit/tcti-libtpms.c:148:5: error: initialization of 'const void *' from 'enum TPMLIB_StateType' makes pointer from integer without a cast [-Wint-conversion]
148 | check_expected_ptr(st);
| ^~~~~~~~~~~~~~~~~~
test/unit/tcti-libtpms.c:150:5: error: initialization of 'const void *' from 'uint32_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
150 | check_expected_ptr(buf_len);
| ^~~~~~~~~~~~~~~~~~
```
Marcin Serwin <marcin@serwin.dev> no https://github.com/tpm2-software/tpm2-tss/pull/3041 2026-01-09

All known versions for source package 'tpm2-tss'

Links