summaryrefslogtreecommitdiff
path: root/package/libs
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-06-02 12:07:35 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-05 18:48:26 +0200
commit88ba88e5adc43c1c971abf1cbee1137ed9ad9de8 (patch)
treeeac4b13fb6fbe9d27efa31ce6df7ef979627c676 /package/libs
parent2328977fed81cf2fc367d8eea2f9bf04e51a761f (diff)
downloadmtk-20170518-88ba88e5adc43c1c971abf1cbee1137ed9ad9de8.zip
mtk-20170518-88ba88e5adc43c1c971abf1cbee1137ed9ad9de8.tar.gz
mtk-20170518-88ba88e5adc43c1c971abf1cbee1137ed9ad9de8.tar.bz2
mbedtls: update mbedtls to version 2.7.3
This fixes some minor security problems and other bugs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/mbedtls/Makefile6
-rw-r--r--package/libs/mbedtls/patches/300-soversion-compatibility.patch8
2 files changed, 7 insertions, 7 deletions
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index caa2405..80ec17b 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.7.2
-PKG_RELEASE:=2
+PKG_VERSION:=2.7.3
+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:=638a21d6a148bdb55d86e6de313d3e6aef1326a0f9d541aa6ac31617f2f96d91
+PKG_HASH:=f1cd52824d1d5b4205c4255501764c5a02a77f029193683b3063bef584e97947
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 4d33be2..320482c 100644
--- a/package/libs/mbedtls/patches/300-soversion-compatibility.patch
+++ b/package/libs/mbedtls/patches/300-soversion-compatibility.patch
@@ -8,8 +8,8 @@ the new library with binaries compiled against the old library.
if(USE_SHARED_MBEDTLS_LIBRARY)
add_library(mbedcrypto SHARED ${src_crypto})
-- set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 2)
-+ set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 0)
+- set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 2)
++ set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 0)
target_link_libraries(mbedcrypto ${libs})
add_library(mbedx509 SHARED ${src_x509})
@@ -22,5 +22,5 @@ the new library with binaries compiled against the old library.
-SOEXT_CRYPTO=so.2
+SOEXT_CRYPTO=so.0
- DLEXT=so
- # OSX shared library extension:
+ # Set DLEXT=dylib to compile as a shared library for Mac OS X
+ DLEXT ?= so