Skip to content
Snippets Groups Projects
Commit c087d07f authored by Leo's avatar Leo
Browse files

main/mbedtls: security upgrade to 2.16.5

parent dbcc36c6
No related branches found
No related tags found
No related merge requests found
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mbedtls
pkgver=2.16.1
pkgrel=1
pkgver=2.16.5
pkgrel=0
pkgdesc="Light-weight cryptographic and SSL/TLS library"
url="https://tls.mbed.org"
arch="all"
license="Apache-2.0"
makedepends="cmake perl python3"
subpackages="$pkgname-static $pkgname-dev $pkgname-utils"
source="https://tls.mbed.org/download/$pkgname-$pkgver-apache.tgz"
builddir="$srcdir/$pkgname-$pkgver"
source="https://tls.mbed.org/download/mbedtls-$pkgver-apache.tgz"
# Track security issues
# https://tls.mbed.org/security
# secfixes:
# 2.16.4-r0:
# - CVE-2019-18222
# 2.16.3-r0:
# - CVE-2019-16910
# 2.14.1-r0:
# - CVE-2018-19608
# 2.12.0-r0:
......@@ -38,8 +45,6 @@ prepare() {
}
build() {
cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE="MinSizeRel" \
-DCMAKE_INSTALL_PREFIX=/usr \
......@@ -49,12 +54,10 @@ build() {
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......@@ -73,4 +76,4 @@ static() {
chmod -x "$subpkgdir"/usr/lib/*.a
}
sha512sums="9e436ef22f1a43d8e139be4dcba1544291ee2cdb3b05335c4d6127536b122f95c2d894bab965d3242a53509637860aad72715651c5cf7d176103fa762eea6a68 mbedtls-2.16.1-apache.tgz"
sha512sums="89a6a2cc6fe8b568396caed5fe8428ff5debf833c643b0e4c3144fdc474b127d156d8f5e5ea47a8b5d6522a2689e91a57abc533390b3f54aaa2c756ef6d3baf7 mbedtls-2.16.5-apache.tgz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment