summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorJohannes Pointner <johannes.pointner@br-automation.com>2018-04-06 15:31:48 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2018-04-25 15:53:46 -0400
commit663bc6f0160adb570c3a7d0b64d1f7f60cb2269e (patch)
treeda03099974e8cdc614ef4a8538036452e4b41161 /meta-networking
parente71a2522dd8ba679f6f71cad98c1cf9e88c20e31 (diff)
downloadmeta-openembedded-663bc6f0160adb570c3a7d0b64d1f7f60cb2269e.tar.gz
mbedtls: upgrade to 2.8.0
This also includes a switch to Apache license, because it's the primary license for the project according to their homepage. * Detail release note: - https://tls.mbed.org/tech-updates/releases/mbedtls-2.8.0-2.7.2-and-2.1.11-released Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_2.8.0.bb (renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.17.bb)27
1 files changed, 16 insertions, 11 deletions
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.17.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.8.0.bb
index fcfec6907d..736cce1b01 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.17.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.8.0.bb
@@ -15,23 +15,28 @@ understand what the code does. It features: \
15 platform abstraction and threading \ 15 platform abstraction and threading \
16" 16"
17 17
18HOMEPAGE = "https://polarssl.org" 18HOMEPAGE = "https://tls.mbed.org/"
19BUGTRACKER = "https://github.com/polarssl/polarssl/issues"
20 19
21LICENSE = "GPLv2" 20LICENSE = "Apache-2.0"
22LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" 21LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
23 22
24SECTION = "libdevel" 23SECTION = "libdevel"
25 24
26SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-gpl.tgz" 25SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-apache.tgz"
27 26
28SRC_URI[md5sum] = "a6ed92fc377ef60f7c24d42b900e0dad" 27SRC_URI[md5sum] = "2d4b0e2cb844efde1e73d3bcd9731fef"
29SRC_URI[sha256sum] = "f5beb43e850283915e3e0f8d37495eade3bfb5beedfb61e7b8da70d4c68edb82" 28SRC_URI[sha256sum] = "ab8b62b995781bcf22e87a265ed06267f87c3041198e996b44441223d19fa9c3"
29
30inherit cmake
31
32PACKAGECONFIG ??= "shared-libs programs"
33PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-USE_SHARED_MBEDTLS_LIBRARY=OFF"
34PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF"
35
36EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}"
30 37
31DEPENDS = "openssl"
32RDEPENDS_${PN} += "libcrypto"
33PROVIDES += "polarssl" 38PROVIDES += "polarssl"
34RPROVIDES_${PN} = "polarssl" 39RPROVIDES_${PN} = "polarssl"
35EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on -DLIB_INSTALL_DIR=${baselib}"
36 40
37inherit cmake 41PACKAGES =+ "${PN}-programs"
42FILES_${PN}-programs = "${bindir}/"