mbedtls: fixed libdir

This commit is contained in:
Tim Biermann 2022-11-13 13:41:41 +00:00
parent 68b77fee10
commit 8ec1ab18c9
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 18 additions and 17 deletions

View File

@ -144,16 +144,16 @@ drwxr-xr-x root/root usr/include/psa/
-rw-r--r-- root/root usr/include/psa/crypto_struct.h
-rw-r--r-- root/root usr/include/psa/crypto_types.h
-rw-r--r-- root/root usr/include/psa/crypto_values.h
drwxr-xr-x root/root usr/lib64/
-rw-r--r-- root/root usr/lib64/libmbedcrypto.a
lrwxrwxrwx root/root usr/lib64/libmbedcrypto.so -> libmbedcrypto.so.12
lrwxrwxrwx root/root usr/lib64/libmbedcrypto.so.12 -> libmbedcrypto.so.3.2.1
-rwxr-xr-x root/root usr/lib64/libmbedcrypto.so.3.2.1
-rw-r--r-- root/root usr/lib64/libmbedtls.a
lrwxrwxrwx root/root usr/lib64/libmbedtls.so -> libmbedtls.so.18
lrwxrwxrwx root/root usr/lib64/libmbedtls.so.18 -> libmbedtls.so.3.2.1
-rwxr-xr-x root/root usr/lib64/libmbedtls.so.3.2.1
-rw-r--r-- root/root usr/lib64/libmbedx509.a
lrwxrwxrwx root/root usr/lib64/libmbedx509.so -> libmbedx509.so.4
-rwxr-xr-x root/root usr/lib64/libmbedx509.so.3.2.1
lrwxrwxrwx root/root usr/lib64/libmbedx509.so.4 -> libmbedx509.so.3.2.1
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libmbedcrypto.a
lrwxrwxrwx root/root usr/lib/libmbedcrypto.so -> libmbedcrypto.so.12
lrwxrwxrwx root/root usr/lib/libmbedcrypto.so.12 -> libmbedcrypto.so.3.2.1
-rwxr-xr-x root/root usr/lib/libmbedcrypto.so.3.2.1
-rw-r--r-- root/root usr/lib/libmbedtls.a
lrwxrwxrwx root/root usr/lib/libmbedtls.so -> libmbedtls.so.18
lrwxrwxrwx root/root usr/lib/libmbedtls.so.18 -> libmbedtls.so.3.2.1
-rwxr-xr-x root/root usr/lib/libmbedtls.so.3.2.1
-rw-r--r-- root/root usr/lib/libmbedx509.a
lrwxrwxrwx root/root usr/lib/libmbedx509.so -> libmbedx509.so.4
-rwxr-xr-x root/root usr/lib/libmbedx509.so.3.2.1
lrwxrwxrwx root/root usr/lib/libmbedx509.so.4 -> libmbedx509.so.3.2.1

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30YNb8L02k18kVxtXEbkPBH/c5nd6CSrcbmNM0S4dnvz4cXovBkBLTCLURkQpANkS2030VUBtKXDfk5rRFrpzgE=
SHA256 (Pkgfile) = afbb0ac30e22a881c9b339d51397810d47430b6a944b3076e82258cca221c128
SHA256 (.footprint) = 949f4f6cb69cb5a13aed13bec2845c9eb84f75be2347b321b1a3c64f86be68dd
RWSagIOpLGJF3xdJdT+zRTGTBBpc9Nkbg+IDsfvyTPnj1j5p1csTt0lB5LLulO/Ge1OCNSAVF3CqqTTlSM4Oki0085EElbIn8gs=
SHA256 (Pkgfile) = 1ab364cd3242fd53cc01fb4e86f00df3e6a26aee1252e6c3607b494f443fcf63
SHA256 (.footprint) = 2d53cb9670b934f9a3504b17c4e225c9ddb2f31012a41ef17db24221bbdea01b
SHA256 (mbedtls-3.2.1.tar.gz) = 5850089672560eeaca03dc36678ee8573bb48ef6e38c94f5ce349af60c16da33

View File

@ -5,12 +5,13 @@
name=mbedtls
version=3.2.1
release=1
release=2
source=(https://github.com/ARMmbed/mbedtls/archive/$name-$version.tar.gz)
build() {
cmake -S $name-$name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D ENABLE_ZLIB_SUPPORT=ON \