From 53b40d0ae6ec6be9499d44e4e459129d1b28347c Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Mon, 9 Nov 2020 23:35:48 +1100 Subject: [PATCH] mbedtls: clean up syntax --- mbedtls/.signature | 4 ++-- mbedtls/Pkgfile | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mbedtls/.signature b/mbedtls/.signature index 5e975c70b..b63e86dee 100644 --- a/mbedtls/.signature +++ b/mbedtls/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF33bboDWlzWQ0PHIcXajmKw4uQ6k1qljFsxikqduruFmtKbM/Ha2wQTGNC73mzxjYQKdWiTlToYbQyhbQWTeRhQg= -SHA256 (Pkgfile) = 2e06a475a30d523d5ad265fffc37324242735e86da823c59a4611f7dc82e73cc +RWSagIOpLGJF3wWwBZCtD1fPHd0JHW/gvPMoabc83r08Ra8GZnawYHIY0FPfWe+e4wo1vcgbRD8Mec4Pu0R6jyy8R6ksyx1fpwE= +SHA256 (Pkgfile) = 1655f93f3ef14fa7ceddb49631d81f55b1616d105a6e3291ef428dbeb2541c8d SHA256 (.footprint) = f5f005ba6e9154f68bb4f11c57e65fc0bad2e8b45509bddb1555f75543b07534 SHA256 (mbedtls-2.24.0.tar.gz) = b5a779b5f36d5fc4cba55faa410685f89128702423ad07b36c5665441a06a5f3 diff --git a/mbedtls/Pkgfile b/mbedtls/Pkgfile index 06759ce43..23a938392 100644 --- a/mbedtls/Pkgfile +++ b/mbedtls/Pkgfile @@ -1,7 +1,7 @@ # Description: Cryptographic library for embedded systems # URL: https://tls.mbed.org/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: cmake +# Depends on: cmake python3 name=mbedtls version=2.24.0 @@ -15,7 +15,7 @@ build() { sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' $name-$name-$version/include/mbedtls/config.h sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' $name-$name-$version/include/mbedtls/config.h - [[ -e /usr/bin/ninja ]] && PKGMK_MBEDTLS+='-G Ninja' + [[ -e '/usr/bin/ninja' ]] && PKGMK_MBEDTLS+=' -G Ninja' cmake -S $name-$name-$version -B build $PKGMK_MBEDTLS \ -D CMAKE_INSTALL_PREFIX=/usr \ @@ -24,9 +24,9 @@ build() { -D ENABLE_ZLIB_SUPPORT=ON \ -D USE_SHARED_MBEDTLS_LIBRARY=ON \ -D INSTALL_MBEDTLS_HEADERS=ON \ - -D MBEDTLS_FATAL_WARNINGS=OFF \ + -D MBEDTLS_FATAL_WARNINGS=OFF \ -Wno-dev - cmake --build build -v + cmake --build build DESTDIR=$PKG cmake --install build }