Skip to content

Commit

Permalink
Add openssl-devel-engine build requirement on Fedora 41+
Browse files Browse the repository at this point in the history
The ENGINE API is deprecated in openssl since version 3.0. Fedora is
trying to phase it out, and as a first step they have moved the
associated header files into a separete package. For now the ENGINE
API can still be used if this package is added to the build
requriements for the package, as this commit does. Developers are
encouraged to use the PROVIDER API instead.

https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
  • Loading branch information
ellert authored and fscheiner committed Jul 12, 2024
1 parent 97967b4 commit ed5802d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packaging/fedora/myproxy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Name: myproxy
%global soname 6
Version: 6.2.17
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Manage X.509 Public Key Infrastructure (PKI) security credentials

Group: Applications/Internet
Expand All @@ -28,6 +28,10 @@ BuildRequires: openldap2-devel
%else
BuildRequires: openldap-devel >= 2.3
%endif
BuildRequires: openssl-devel
%if %{?fedora}%{!?fedora:0} >= 41
BuildRequires: openssl-devel-engine
%endif
BuildRequires: pam-devel
%if ! %{?suse_version}%{!?suse_version:0}
BuildRequires: perl-generators
Expand Down Expand Up @@ -387,6 +391,9 @@ fi
%doc %{_pkgdocdir}/LICENSE*

%changelog
* Thu Jul 11 2024 Mattias Ellert <[email protected]> - 6.2.17-2
- Add openssl-devel-engine build requirement on Fedora 41+

* Sun Mar 17 2024 Mattias Ellert <[email protected]> - 6.2.17-1
- Handle 64 bit time_t on 32 bit systems

Expand Down

0 comments on commit ed5802d

Please sign in to comment.