Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tpm2-tss-engine for openSUSE:Factory
checked in at 2024-05-07 18:04:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2-tss-engine (Old)
and /work/SRC/openSUSE:Factory/.tpm2-tss-engine.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2-tss-engine"
Tue May 7 18:04:31 2024 rev:11 rq:1172350 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2-tss-engine/tpm2-tss-engine.changes
2023-06-04 00:12:26.797478084 +0200
+++
/work/SRC/openSUSE:Factory/.tpm2-tss-engine.new.1880/tpm2-tss-engine.changes
2024-05-07 18:05:14.198505741 +0200
@@ -1,0 +2,12 @@
+Mon May 6 14:15:17 UTC 2024 - Matthias Gerstner <[email protected]>
+
+- Add gcc14-fixes.patch: Building with gcc14 fails due to a mismatch in
+ OpenSSL function declarations. Provided PR# to upstream here:
+
+ https://github.com/tpm2-software/tpm2-tss-engine/pull/283
+
+- Add tpm2-tss-engine.keyring: needed for validation of the tarball signature.
+ This keyring is taken over from tpm2-0-tss which has the same (or very
+ similar) maintainers.
+
+-------------------------------------------------------------------
New:
----
gcc14-fixes.patch
tpm2-tss-engine.keyring
BETA DEBUG BEGIN:
New:
- Add gcc14-fixes.patch: Building with gcc14 fails due to a mismatch in
OpenSSL function declarations. Provided PR# to upstream here:
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tpm2-tss-engine.spec ++++++
--- /var/tmp/diff_new_pack.dmodms/_old 2024-05-07 18:05:14.994534686 +0200
+++ /var/tmp/diff_new_pack.dmodms/_new 2024-05-07 18:05:14.998534832 +0200
@@ -1,7 +1,7 @@
#
# spec file for package tpm2-tss-engine
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
URL: https://github.com/tpm2-software
Source0:
%{url}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1:
%{url}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
+Source2: tpm2-tss-engine.keyring
+Patch0: gcc14-fixes.patch
BuildRequires: autoconf-archive
BuildRequires: libgcrypt-devel
BuildRequires: libtool
@@ -69,7 +71,7 @@
It supports RSA decryption and signatures as well as ECDSA signatures.
%prep
-%setup -q
+%autosetup -p1
%build
++++++ gcc14-fixes.patch ++++++
Index: tpm2-tss-engine-1.2.0/src/tpm2-tss-engine-ecc.c
===================================================================
--- tpm2-tss-engine-1.2.0.orig/src/tpm2-tss-engine-ecc.c
+++ tpm2-tss-engine-1.2.0/src/tpm2-tss-engine-ecc.c
@@ -52,7 +52,7 @@ EC_KEY_METHOD *ecc_methods = NULL;
#endif /* OPENSSL_VERSION_NUMBER < 0x10100000 */
#ifdef HAVE_OPENSSL_DIGEST_SIGN
-static int (*ecdsa_pkey_orig_copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src);
+static int (*ecdsa_pkey_orig_copy)(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src);
static void (*ecdsa_pkey_orig_cleanup)(EVP_PKEY_CTX *ctx);
#endif /* HAVE_OPENSSL_DIGEST_SIGN */
@@ -405,7 +405,7 @@ ecdsa_ec_key_sign(const unsigned char *d
#ifdef HAVE_OPENSSL_DIGEST_SIGN
static int
-ecdsa_pkey_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
+ecdsa_pkey_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src)
{
if (ecdsa_pkey_orig_copy && !ecdsa_pkey_orig_copy(dst, src))
return 0;
Index: tpm2-tss-engine-1.2.0/src/tpm2-tss-engine-rsa.c
===================================================================
--- tpm2-tss-engine-1.2.0.orig/src/tpm2-tss-engine-rsa.c
+++ tpm2-tss-engine-1.2.0/src/tpm2-tss-engine-rsa.c
@@ -49,7 +49,7 @@ RSA_METHOD *rsa_methods = NULL;
#endif /* OPENSSL_VERSION_NUMBER < 0x10100000 */
#ifdef HAVE_OPENSSL_DIGEST_SIGN
-static int (*rsa_pkey_orig_copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src);
+static int (*rsa_pkey_orig_copy)(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src);
static void (*rsa_pkey_orig_cleanup)(EVP_PKEY_CTX *ctx);
#endif /* HAVE_OPENSSL_DIGEST_SIGN */
@@ -637,7 +637,7 @@ RSA_METHOD rsa_methods = {
#ifdef HAVE_OPENSSL_DIGEST_SIGN
static int
-rsa_pkey_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
+rsa_pkey_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src)
{
if (rsa_pkey_orig_copy && !rsa_pkey_orig_copy(dst, src))
return 0;