mbedtls: add compat to PROVIDES.

This commit is contained in:
Jérôme Duval
2018-11-16 10:11:41 +01:00
committed by GitHub
parent c3543aa2ad
commit 2e09a57a47

View File

@@ -5,7 +5,7 @@ products, facilitating this functionality with a minimal coding footprint."
HOMEPAGE="https://tls.mbed.org/"
COPYRIGHT="2006-2018 ARM Limited"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/ARMmbed/mbedtls/archive/mbedtls-$portVersion.tar.gz"
CHECKSUM_SHA256="e62fdea0110d3aa9082b3e1ccdbbaf520161830b1f3a57ae3124a7d5963c2a37"
SOURCE_DIR="mbedtls-mbedtls-$portVersion"
@@ -20,9 +20,9 @@ libx509Version="0"
PROVIDES="
mbedtls$secondaryArchSuffix = $portVersion
lib:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion
lib:libmbedtls$secondaryArchSuffix = $libtlsVersion
lib:libmbedx509$secondaryArchSuffix = $libx509Version
lib:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion compat >= $libcryptoVersion
lib:libmbedtls$secondaryArchSuffix = $libtlsVersion compat >= $libtlsVersion
lib:libmbedx509$secondaryArchSuffix = $libx509Version compat >= $libx509Version
"
if [ -z "$secondaryArchSuffix" ]; then
PROVIDES="$PROVIDES
@@ -83,9 +83,9 @@ REQUIRES="
PROVIDES_devel="
mbedtls${secondaryArchSuffix}_devel = $portVersion
devel:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion
devel:libmbedtls$secondaryArchSuffix = $libtlsVersion
devel:libmbedx509$secondaryArchSuffix = $libx509Version
devel:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion compat >= $libcryptoVersion
devel:libmbedtls$secondaryArchSuffix = $libtlsVersion compat >= $libtlsVersion
devel:libmbedx509$secondaryArchSuffix = $libx509Version compat >= $libx509Version
"
REQUIRES_devel="
mbedtls$secondaryArchSuffix == $portVersion base