* update mbedtls to 3.6.0-1

This commit is contained in:
Alexander Baldeck 2024-06-24 16:16:22 +02:00
parent 7b967af5f5
commit b4eeecc07f

View File

@ -5,7 +5,7 @@
# Contributor: carstene1ns <arch carsten-teibes.de>
pkgname=mbedtls
pkgver=3.5.2
pkgver=3.6.0
pkgrel=1
pkgdesc='An open source, portable, easy to use, readable and flexible TLS library'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -31,12 +31,20 @@ provides=(
replaces=(polarssl)
conflicts=(polarssl)
options=(staticlibs)
_tag=2015a11628cf7752ae659dac523e62bcf5c7eb26
source=(git+https://github.com/ARMmbed/mbedtls.git#tag=${_tag})
b2sums=(SKIP)
_tag=67dc8f869a2ef39b1f19f6a6d3a34965bc50097e
source=(
git+https://github.com/Mbed-TLS/mbedtls.git#tag=${_tag}
git+https://github.com/Mbed-TLS/mbedtls-framework.git
)
b2sums=('e1baa97607fff9e83b633f2b7ea346783c61ff380a5a65accdc8100534b6b41c2dc479e465c528252d0b01ebc19c043aa3841264a87a0c8fb87a87d6b545c469'
'SKIP')
prepare() {
cd mbedtls
git submodule init framework
git config submodule.framework.url "${srcdir}"/mbedtls-framework
git -c protocol.file.allow=always submodule update framework
scripts/config.py set MBEDTLS_HAVE_SSE2
scripts/config.py set MBEDTLS_THREADING_C
scripts/config.py set MBEDTLS_THREADING_PTHREAD
}