From 48e89b87918e8f13078625b65e22298e911f0859 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Sat, 13 Mar 2021 17:26:59 +1100 Subject: [PATCH] mbedtls: update to 2.16.10 Also: - Fix changelog location. - Use scripts/config.pl instead of sed. Closes: #29430 [via git-merge-pr] --- srcpkgs/mbedtls/template | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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() {