mbedtls: Update to 2.12.0 (#4142)

This commit is contained in:
Nazar Mishturak
2018-08-04 08:11:45 +03:00
committed by Алексей
parent d27e4139e7
commit caba4b235a
2 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
_realname=mbedtls
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.9.0
pkgver=2.12.0
pkgrel=1
arch=('any')
url='https://tls.mbed.org/'
@@ -20,8 +20,8 @@ source=(${_realname}-${pkgver}.tar.gz::"https://tls.mbed.org/download/mbedtls-${
'symlink-test.patch'
'dll-location.patch'
'enable-features.patch')
sha256sums=('a06a9b43e583b7e6707becfeeb13d88ed00f25fee31a5386cb3a3014c454bad8'
'5c5382ff266e5cc293f31a46e1f10782c765c5cc1476dfc21d5c4ad405f647a0'
sha256sums=('a2bed048f41a19ec7b4dd2e96649145bbd68a6955c3b51aeb7ccbf8908c3ce97'
'd6aa304dbad652da2b1ee8eaf29422309b72633e1b33fe4bb67fc21b529d3bb5'
'89eb82f9e9fb456d0595035925d2d512aa2ca9b9e283b9c51d5524bfc8dbf996'
'1be88267b045a8728fe4dde663faf328ad788eeefcb43915beeb364b4d2dd2e8')

View File

@@ -1,11 +1,11 @@
--- mbedtls-2.1.0/tests/CMakeLists.txt.orig 2015-09-04 15:38:26.000000000 +0300
+++ mbedtls-2.1.0/tests/CMakeLists.txt 2015-09-13 21:45:47.677244800 +0300
@@ -101,7 +101,7 @@
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/data_files" target)
--- mbedtls-2.12.0/CMakeLists.txt.orig 2018-08-04 02:24:09.274851700 +0300
+++ mbedtls-2.12.0/CMakeLists.txt 2018-08-04 02:24:11.819200100 +0300
@@ -73,7 +73,7 @@
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${base_name}" target)
if (NOT EXISTS ${link})
- if (CMAKE_HOST_UNIX)
+ if (CMAKE_HOST_UNIX OR MSYS)
set(command ln -s ${target} ${link})
else()
set(command cmd.exe /c mklink /d ${link} ${target})
if (IS_DIRECTORY ${target})