public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Hlavinka <mhlavink@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ecryptfs-utils] rawhide: fix FTBFS due to openssl 4.0 changes
Date: Thu, 06 Aug 2026 18:04:36 GMT	[thread overview]
Message-ID: <178603947615.1.7207122087658893100.rpms-ecryptfs-utils-6b1fe71c0f4f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ecryptfs-utils
Branch : rawhide
Commit : 6b1fe71c0f4f82914cbbab1e389cc44301ef5d62
Author : Michal Hlavinka <mhlavink@redhat.com>
Date   : 2026-08-06T20:04:08+02:00
Stats  : +21/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ecryptfs-utils/c/6b1fe71c0f4f82914cbbab1e389cc44301ef5d62?branch=rawhide

Log:
fix FTBFS due to openssl 4.0 changes

---
diff --git a/ecryptfs-utils-111-openssl40.patch b/ecryptfs-utils-111-openssl40.patch
new file mode 100644
index 0000000..2359495
--- /dev/null
+++ b/ecryptfs-utils-111-openssl40.patch
@@ -0,0 +1,13 @@
+diff -up ecryptfs-utils-111/src/key_mod/ecryptfs_key_mod_openssl.c.openssl40 ecryptfs-utils-111/src/key_mod/ecryptfs_key_mod_openssl.c
+--- ecryptfs-utils-111/src/key_mod/ecryptfs_key_mod_openssl.c.openssl40	2026-08-06 19:36:53.314524493 +0200
++++ ecryptfs-utils-111/src/key_mod/ecryptfs_key_mod_openssl.c	2026-08-06 19:38:15.898673808 +0200
+@@ -334,7 +334,9 @@ out:
+ 	BIO_free_all(in);
+ 	EVP_cleanup();
+ 	CRYPTO_cleanup_all_ex_data();
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ 	ERR_remove_state(0);
++#endif
+ 	ERR_free_strings();
+ 	return rc;
+ }

diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec
index 6a4c8ce..91529db 100644
--- a/ecryptfs-utils.spec
+++ b/ecryptfs-utils.spec
@@ -16,7 +16,7 @@ the interface supplied by the %{name} library.
 
 Name: ecryptfs-utils
 Version: 111
-Release: 44%{?dist}
+Release: 45%{?dist}
 Summary: The eCryptfs mount helper and support libraries
 License: GPL-2.0-or-later
 URL: https://launchpad.net/ecryptfs
@@ -87,6 +87,9 @@ Patch926: %{name}-111-authselect.patch
 # do not use ENGINE api, openssl 3 deprecated it
 Patch927: ecryptfs-utils-111-noengine.patch
 
+# openssl 4.0 compatibility
+Patch928:ecryptfs-utils-111-openssl40.patch
+
 ### patches for general cleanup, should be kept and executed after all others
 # allow building with -Werror
 Patch999: %{name}-75-werror.patch
@@ -172,6 +175,7 @@ Obsoletes:  %{name}-python < %{version}-%{release}
 %patch -P925 -p1 -b .nopasswd
 %patch -P926 -p1 -b .authselect
 %patch -P 927 -p1 -b .noengine
+%patch -P 928 -p1 -b .openssl40
 
 %patch -P999 -p1 -b .werror
 
@@ -343,6 +347,9 @@ fi
 
 
 %changelog
+* Thu Aug 06 2026 Michal Hlavinka <mhlavink@redhat.com> - 111-45
+- fix FTBFS due to openssl 4.0 changes
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 111-44
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-08-06 18:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178603947615.1.7207122087658893100.rpms-ecryptfs-utils-6b1fe71c0f4f@fedoraproject.org \
    --to=mhlavink@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox