mbedtls: bump to 2.12.0. (#2864)

This commit is contained in:
fbrosson
2018-07-27 18:13:36 +00:00
parent 53517e6ee8
commit 31d8fd9568
2 changed files with 1 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2006-2018 ARM Limited"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://github.com/ARMmbed/mbedtls/archive/mbedtls-$portVersion.tar.gz"
CHECKSUM_SHA256="50d715c4bf1c21757b25df192cdff6951a621b32da1c991b513c23b9ddf3333a"
CHECKSUM_SHA256="05b126f25d4438f206d062b48cd2f2db2a1cd11bda58b21afe40b9b7cf6fca48"
SOURCE_DIR="mbedtls-mbedtls-$portVersion"
PATCHES="mbedtls-$portVersion.patchset"
@@ -110,13 +110,6 @@ PATCH()
-e "s|/bin\$|/$relativeBinDir|;" \
-e "s|/lib\$|/$relativeLibDir|;" \
Makefile
# Several perl scripts have a non portable shebang line. Although none of
# them get installed, scripts/config.pl is called at the "post_build" step,
# so let's fix them all.
find "$sourceDir" -type f -name "*.pl" \
-exec grep -q '^#!/usr/bin/perl' {} \; \
-exec sed -i -e '1 s|^#!/usr/bin/perl|#!/usr/bin/env perl|' {} \;
}
BUILD()