]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
meson: bump minimal openssl/libcrypto to 3.0.0
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 6 Feb 2026 20:38:18 +0000 (20:38 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Thu, 7 May 2026 05:57:56 +0000 (00:57 -0500)
OpenSSL 3.0 introduces semantic versioning, thus one can reason about
the supported (and/or broken) API/ABI by glancing at the number.

Version 3.0 was released in late 2021 and is adopted by, at least:
 - CentOS Stream 9
 - Debian 11 aka oldoldstable
 - Fedora 38
 - openSUSE Leap 15.5
 - Ubuntu 22.04

This means that some older, yet maintained, enterprise-y linuxes will be
left in the dark. Namely:
 - RHEL 6,7
 - SLES 11,12,15?
 - Ubuntu {14,16,18,20}.04

To the best of my knowledge, all of them are in deep maintenance mode
and do not target latest kmod releases.

Bumping the requirement, allows us to focus on a single DSO and its API,
as we move to dlopen(libcrypto.so) with the next commit(s).

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/420
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
meson.build

index 5b914b74a114036a5847e145bbf82520ee39ff9f..becd3c35b2f13ed2a834eb21c82655ab276b27bf 100644 (file)
@@ -307,7 +307,7 @@ endforeach
 #-------------------------------------------------------------------------------
 
 opt = 'openssl'
-dep = dependency('libcrypto', version : '>= 1.1.0', required : get_option(opt))
+dep = dependency('libcrypto', version : '>= 3.0.0', required : get_option(opt))
 have = dep.found()
 
 if have