public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ecryptfs-utils] rawhide: fix FTBFS due to openssl 4.0 changes
@ 2026-08-06 18:04 Michal Hlavinka
0 siblings, 0 replies; only message in thread
From: Michal Hlavinka @ 2026-08-06 18:04 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-06 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 18:04 [rpms/ecryptfs-utils] rawhide: fix FTBFS due to openssl 4.0 changes Michal Hlavinka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox