git: 2f34af1f62bb - main - devel/py-awscrt: Update to 0.21.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jul 2024 17:23:43 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f34af1f62bba6a1c32bfcf39414d783be1e1fb5 commit 2f34af1f62bba6a1c32bfcf39414d783be1e1fb5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-07 17:20:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-07 17:20:51 +0000 devel/py-awscrt: Update to 0.21.0 Changes: https://github.com/awslabs/aws-crt-python/releases --- devel/py-awscrt/Makefile | 2 +- devel/py-awscrt/distinfo | 6 +++--- devel/py-awscrt/files/patch-powerpc64le | 12 ++++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile index 89d55e27dbed..25c5a2496a99 100644 --- a/devel/py-awscrt/Makefile +++ b/devel/py-awscrt/Makefile @@ -1,5 +1,5 @@ PORTNAME= awscrt -PORTVERSION= 0.20.12 +PORTVERSION= 0.21.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo index 24c8c8899904..023db2261da8 100644 --- a/devel/py-awscrt/distinfo +++ b/devel/py-awscrt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718580070 -SHA256 (awscrt-0.20.12.tar.gz) = 676ef5add1ec061f3ffa722b326df01a1c44249348976858b8141d9074a54689 -SIZE (awscrt-0.20.12.tar.gz) = 33315955 +TIMESTAMP = 1720364799 +SHA256 (awscrt-0.21.0.tar.gz) = ee3fa125a60a546cc9623d58489c4a8f01572fe4495a2fc741ff65045af12e8e +SIZE (awscrt-0.21.0.tar.gz) = 33574542 diff --git a/devel/py-awscrt/files/patch-powerpc64le b/devel/py-awscrt/files/patch-powerpc64le index 91d08db0fe50..ebd7f1993820 100644 --- a/devel/py-awscrt/files/patch-powerpc64le +++ b/devel/py-awscrt/files/patch-powerpc64le @@ -1,14 +1,18 @@ ---- crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2023-03-15 23:47:51 UTC +--- crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2024-07-03 21:50:24 UTC +++ crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c -@@ -27,7 +27,11 @@ - extern uint8_t OPENSSL_cpucap_initialized; +@@ -69,10 +69,15 @@ void OPENSSL_cpuid_setup(void) { void OPENSSL_cpuid_setup(void) { + #if defined(AT_HWCAP2) +#if defined(__linux__) OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2); +#elif defined(__FreeBSD__) + elf_aux_info(AT_HWCAP2, &OPENSSL_ppc64le_hwcap2, sizeof(OPENSSL_ppc64le_hwcap2)); +#endif + #else + OPENSSL_ppc64le_hwcap2 = 0; + #endif ++ OPENSSL_cpucap_initialized = 1; - } + // OPENSSL_ppccap is a 64-bit hex string which may start with "0x".