package/libolm: remove package

Upstream has explicitely stated that libolm is now deprecated.
Since no other package depend on libolm, we can easily remove it from
Buildroot. If any user is interested in this feature, we can add its
successor: vodozemac.

More information here:
https://gitlab.matrix.org/matrix-org/olm#important-libolm-is-now-deprecated

Also, there is CVE reported on this latest 3.2.16 version declared
as no longer maintained. See:
https://www.cve.org/CVERecord?id=CVE-2024-45191
https://www.cve.org/CVERecord?id=CVE-2024-45192
https://www.cve.org/CVERecord?id=CVE-2024-45193

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
[Julien: add a note about CVE reported on this package]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit edf08553dd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Titouan Christophe
2025-07-03 12:33:16 +02:00
committed by Thomas Perale
parent 220bfdd747
commit 10a2f91394
6 changed files with 7 additions and 35 deletions

View File

@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2025.02.5"
config BR2_PACKAGE_LIBOLM
bool "libolm has been removed"
select BR2_LEGACY
help
libolm is deprecated and has been removed from Buildroot.
https://gitlab.matrix.org/matrix-org/olm#important-libolm-is-now-deprecated
config BR2_PACKAGE_MBEDTLS_COMPRESSION
bool "mbedtls compression support removed"
select BR2_LEGACY

View File

@@ -1248,7 +1248,6 @@ F: package/httping/
F: package/iozone/
F: package/leptonica/
F: package/libeXosip2/
F: package/libolm/
F: package/libosip2/
F: package/ocrad/
F: package/opencl-clhpp/

View File

@@ -1608,7 +1608,6 @@ menu "Crypto"
source "package/libmd/Config.in"
source "package/libmhash/Config.in"
source "package/libnss/Config.in"
source "package/libolm/Config.in"
source "package/libp11/Config.in"
source "package/libscrypt/Config.in"
source "package/libsecret/Config.in"

View File

@@ -1,12 +0,0 @@
config BR2_PACKAGE_LIBOLM
bool "libolm"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
help
libolm is an implementation of the Double Ratchet
cryptographic ratchet in C++
https://gitlab.matrix.org/matrix-org/olm
comment "libolm needs a toolchain w/ C++, gcc >= 4.8"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

View File

@@ -1,3 +0,0 @@
# locally computed
sha256 1e90f9891009965fd064be747616da46b232086fe270b77605ec9bda34272a68 olm-3.2.16.tar.gz
sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE

View File

@@ -1,18 +0,0 @@
################################################################################
#
# libolm
#
################################################################################
LIBOLM_VERSION = 3.2.16
LIBOLM_SOURCE = olm-$(LIBOLM_VERSION).tar.gz
LIBOLM_SITE = https://gitlab.matrix.org/matrix-org/olm/-/archive/$(LIBOLM_VERSION)
LIBOLM_LICENSE = Apache-2.0
LIBOLM_LICENSE_FILES = LICENSE
LIBOLM_CPE_ID_VENDOR = matrix
LIBOLM_CPE_ID_PRODUCT = olm
LIBOLM_INSTALL_STAGING = YES
LIBOLM_CONF_OPTS = -DOLM_TESTS=OFF
$(eval $(cmake-package))