diff --git a/srcpkgs/mbedtls/template b/srcpkgs/mbedtls/template index 4793fa29f24..2850d070094 100644 --- a/srcpkgs/mbedtls/template +++ b/srcpkgs/mbedtls/template @@ -1,7 +1,7 @@ # Template file for 'mbedtls' pkgname=mbedtls reverts="2.17.0_1" -version=2.16.9 +version=2.16.10 revision=1 wrksrc="mbedtls-mbedtls-${version}" build_style=cmake @@ -11,15 +11,13 @@ short_desc="Portable cryptographic TLS library" maintainer="Orphaned " license="Apache-2.0" homepage="https://tls.mbed.org/" -changelog="https://raw.githubusercontent.com/ARMmbed/mbedtls/development/ChangeLog" +changelog="https://raw.githubusercontent.com/ARMmbed/mbedtls/mbedtls-${version%.*}/ChangeLog" distfiles="https://github.com/ARMmbed/mbedtls/archive/mbedtls-${version}.tar.gz" -checksum=b7ca99ee10551b5b13242b7effebefd2a5cc38c287e5f5be1267d51ee45effe3 - +checksum=78c02e2d277a302454ada90274d16d80f88d761bdd4243528e4206cf7920be78 pre_configure() { - sed -i include/mbedtls/config.h \ - -e 's/.*\(#define MBEDTLS_THREADING_C\)/\1/' \ - -e 's/.*\(#define MBEDTLS_THREADING_PTHREAD\)/\1/' + ./scripts/config.pl set MBEDTLS_THREADING_C + ./scripts/config.pl set MBEDTLS_THREADING_PTHREAD } mbedtls-utils_package() {