From: Josef Schlehofer Date: Sat, 22 Feb 2020 22:03:36 +0000 (+0100) Subject: mbedtls: update to version 2.16.5 X-Git-Tag: v18.06.9~60 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d3af501317fdfaebc9e1c2ea8a20efee597737c7;p=openwrt%2Fopenwrt.git mbedtls: update to version 2.16.5 Changelog: https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released Security advisory: https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-02 Signed-off-by: Josef Schlehofer (cherry picked from commit 36af1967f5fcfc889594a8af0f92f873f445d249) --- diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile index a0d3e18572..31afeb82cf 100644 --- a/package/libs/mbedtls/Makefile +++ b/package/libs/mbedtls/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mbedtls -PKG_VERSION:=2.16.4 +PKG_VERSION:=2.16.5 PKG_RELEASE:=1 PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz PKG_SOURCE_URL:=https://tls.mbed.org/download/ -PKG_HASH:=5fdb9c43ab43fd9bcc3631508170b089ede7b86dd655253a93cb0ffeb42309f3 +PKG_HASH:=6ebdea6565c714f1315b9af6a802afb4b4e89976f7d5d2b15aa8028eb52e7d09 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0+ diff --git a/package/libs/mbedtls/patches/300-soversion-compatibility.patch b/package/libs/mbedtls/patches/300-soversion-compatibility.patch index ed30870302..a4411b9b6a 100644 --- a/package/libs/mbedtls/patches/300-soversion-compatibility.patch +++ b/package/libs/mbedtls/patches/300-soversion-compatibility.patch @@ -4,7 +4,7 @@ if(USE_SHARED_MBEDTLS_LIBRARY) add_library(mbedcrypto SHARED ${src_crypto}) -- set_target_properties(mbedcrypto PROPERTIES VERSION 2.16.3 SOVERSION 3) +- set_target_properties(mbedcrypto PROPERTIES VERSION 2.16.5 SOVERSION 3) + set_target_properties(mbedcrypto PROPERTIES VERSION 2.12.0 SOVERSION 1) target_link_libraries(mbedcrypto ${libs}) @@ -13,7 +13,7 @@ target_link_libraries(mbedx509 ${libs} mbedcrypto) add_library(mbedtls SHARED ${src_tls}) -- set_target_properties(mbedtls PROPERTIES VERSION 2.16.3 SOVERSION 12) +- set_target_properties(mbedtls PROPERTIES VERSION 2.16.5 SOVERSION 12) + set_target_properties(mbedtls PROPERTIES VERSION 2.12.0 SOVERSION 10) target_link_libraries(mbedtls ${libs} mbedx509)