Update to mbedtls-2.14.0.

Bump major number of shared libs, as symbols have been removed.

OK jca@
This commit is contained in:
bket 2018-11-26 15:18:28 +00:00
parent 809ed826ec
commit e1717927a1
4 changed files with 13 additions and 13 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.24 2018/10/08 11:58:07 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.25 2018/11/26 15:18:28 bket Exp $
COMMENT= SSL library with an intuitive API and readable source code
DISTNAME= mbedtls-2.13.0
DISTNAME= mbedtls-2.14.0
EXTRACT_SUFX= -gpl.tgz
# check SOVERSION
SHARED_LIBS += mbedtls 5.0 # 12
SHARED_LIBS += mbedcrypto 3.0 # 3
SHARED_LIBS += mbedx509 2.0 # 0
SHARED_LIBS += mbedtls 6.0 # 12
SHARED_LIBS += mbedcrypto 4.0 # 3
SHARED_LIBS += mbedx509 3.0 # 0
CATEGORIES= security

View File

@ -1,2 +1,2 @@
SHA256 (mbedtls-2.13.0-gpl.tgz) = oI3fCKrlX8T0j7xigfywi8XFPtU//RU1XuDXXsMrU64=
SIZE (mbedtls-2.13.0-gpl.tgz) = 2419726
SHA256 (mbedtls-2.14.0-gpl.tgz) = fGLsAqV348ygHujNFh4eNpU3cUoUjvqv55iHudlVppE=
SIZE (mbedtls-2.14.0-gpl.tgz) = 2471418

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-CMakeLists_txt,v 1.7 2018/10/02 15:13:04 bket Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.8 2018/11/26 15:18:28 bket Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -108,8 +108,6 @@ if(CMAKE_COMPILER_IS_GNU)
@@ -125,8 +125,6 @@ if(CMAKE_COMPILER_IS_GNU)
if (GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
endif()
@ -11,7 +11,7 @@ Index: CMakeLists.txt
set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
set(CMAKE_C_FLAGS_ASAN "-Werror -fsanitize=address -fno-common -O3")
set(CMAKE_C_FLAGS_ASANDBG "-Werror -fsanitize=address -fno-common -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sibling-calls ")
@@ -119,8 +117,6 @@ endif(CMAKE_COMPILER_IS_GNU)
@@ -136,8 +134,6 @@ endif(CMAKE_COMPILER_IS_GNU)
if(CMAKE_COMPILER_IS_CLANG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow")

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-include_mbedtls_config_h,v 1.6 2018/08/08 12:51:09 bket Exp $
$OpenBSD: patch-include_mbedtls_config_h,v 1.7 2018/11/26 15:18:28 bket Exp $
MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C are required by
www/hiawatha.
@ -6,7 +6,7 @@ www/hiawatha.
Index: include/mbedtls/config.h
--- include/mbedtls/config.h.orig
+++ include/mbedtls/config.h
@@ -1549,7 +1549,7 @@
@@ -1582,7 +1582,7 @@
*
* Uncomment this to enable pthread mutexes.
*/
@ -15,7 +15,7 @@ Index: include/mbedtls/config.h
/**
* \def MBEDTLS_VERSION_FEATURES
@@ -2739,7 +2739,7 @@
@@ -2774,7 +2774,7 @@
*
* Enable this layer to allow use of mutexes within mbed TLS
*/