Remove outdated mbedtls recipe

This recipe was added 8 years ago in the context of supporting awsiotsdk, back
when there were no community recipes for a v2.X.X version. meta-openembedded
now has recipes for both v3.6.2 and v2.28.9, and our recipe has been outdated
for a while now, so remove it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2025-02-03 14:39:10 +01:00
parent 24fec7be70
commit 89d0ea1d42
2 changed files with 0 additions and 91 deletions

View File

@ -1,43 +0,0 @@
From: Tatiana Leon <tatiana.leon@digi.com>
Date: Fri, 28 Apr 2017 14:47:43 +0200
Subject: [PATCH] mbedtls library: add pkg-config file
Upstream-Status: Inappropriate [DEY specific]
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
---
CMakeLists.txt | 4 ++++
mbedtls.pc.in | 12 ++++++++++++
2 files changed, 16 insertions(+)
create mode 100644 mbedtls.pc.in
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 094d906..b662eee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,3 +124,7 @@ if(ENABLE_TESTING)
)
endif(UNIX)
endif()
+
+SET(prefix ${CMAKE_INSTALL_PREFIX})
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/mbedtls.pc.in ${CMAKE_BINARY_DIR}/mbedtls.pc @ONLY)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/mbedtls.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
diff --git a/mbedtls.pc.in b/mbedtls.pc.in
new file mode 100644
index 0000000..9eff4ac
--- /dev/null
+++ b/mbedtls.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: mbedtls
+Description: Light-weight open source cryptographic and SSL/TLS library
+Version: 2.1.1
+
+Libs: -L${libdir} -lmbedtls -lmbedcrypto -lmbedx509
+Cflags: -I${includedir}/mbedtls
+

View File

@ -1,48 +0,0 @@
# Copyright (C) 2017, Digi International Inc.
SUMMARY = "An open source, portable, easy to use, readable and flexible SSL \
library"
DESCRIPTION = "mbedtls is a lean open source crypto library \
for providing SSL and TLS support in your programs. It offers \
an intuitive API and documented header files, so you can actually \
understand what the code does. It features: \
\
- Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \
Camellia and XTEA \
- Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \
- Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \
- Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \
ECDSA and ECDH \
- SSL v3 and TLS 1.0, 1.1 and 1.2 \
- Abstraction layers for ciphers, hashes, public key operations, \
platform abstraction and threading \
"
HOMEPAGE = "https://tls.mbed.org/"
SECTION = "libdevel"
BUGTRACKER = "https://github.com/ARMmbed/mbedtls/issues"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
SRC_URI = " \
git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=master \
file://0001-mbedtls-library-add-pkg-config-file.patch \
"
# Tag 'mbedtls-2.1.1'
SRCREV = "8cea8ad8b825b0bf5884054af7499f1d5c3ebeb4"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = " \
-DENABLE_PROGRAMS:BOOL=OFF \
-DENABLE_TESTING:BOOL=OFF \
-DUSE_STATIC_MBEDTLS_LIBRARY:BOOL=ON \
-DUSE_SHARED_MBEDTLS_LIBRARY:BOOL=ON \
-DLIB_INSTALL_DIR:STRING=${libdir} \
-DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
"
ALLOW_EMPTY:${PN} = "1"