git: 5b80fa1003ee - main - security/mbedtls: Update to 2.28.8

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 09:52:34 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b80fa1003eec824635f16cb8c55b89762a17ce2

commit 5b80fa1003eec824635f16cb8c55b89762a17ce2
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-03-29 09:40:51 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-03-29 09:50:45 +0000

    security/mbedtls: Update to 2.28.8
---
 security/mbedtls/Makefile  | 10 ++++------
 security/mbedtls/distinfo  |  6 +++---
 security/mbedtls/pkg-plist |  6 +++++-
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/security/mbedtls/Makefile b/security/mbedtls/Makefile
index 925bfa3da98d..e93b4258101b 100644
--- a/security/mbedtls/Makefile
+++ b/security/mbedtls/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	mbedtls
-DISTVERSIONPREFIX=${PORTNAME}-
-DISTVERSION=	2.28.7
+DISTVERSION=	2.28.8
 CATEGORIES=	security devel
+MASTER_SITES=	https://github.com/Mbed-TLS/mbedtls/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	tijl@FreeBSD.org
 COMMENT=	SSL/TLS and cryptography library
@@ -11,13 +11,10 @@ LICENSE=	APACHE20 GPLv2+
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:testing python:build,test shebangfix
+USES=		cmake:testing python:build,test shebangfix tar:bz2
 SHEBANG_FILES=	scripts/*.py tests/scripts/*.py
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Mbed-TLS
-
 PORTSCOUT=	limit:^${DISTVERSION:R:S/./\./g}\.
 PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
@@ -36,6 +33,7 @@ pre-configure:
 	@${WRKSRC}/scripts/config.py -f ${WRKSRC}/include/mbedtls/config.h set MBEDTLS_THREADING_PTHREAD
 
 post-install:
+	${RM} -r ${STAGEDIR}${PREFIX}/include/everest
 	@cd ${STAGEDIR}${PREFIX}/bin && for f in *; do \
 		${MV} "$$f" "mbedtls_$$f"; \
 	done
diff --git a/security/mbedtls/distinfo b/security/mbedtls/distinfo
index b52fa7e7ad9b..ff2654fa4742 100644
--- a/security/mbedtls/distinfo
+++ b/security/mbedtls/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706348469
-SHA256 (Mbed-TLS-mbedtls-mbedtls-2.28.7_GH0.tar.gz) = 4390bc4ab1ea9a1ddf3725f540d0f80838c656d1d7987a1cee8b4da43e4571de
-SIZE (Mbed-TLS-mbedtls-mbedtls-2.28.7_GH0.tar.gz) = 3990571
+TIMESTAMP = 1711702878
+SHA256 (mbedtls-2.28.8.tar.bz2) = 241c68402cef653e586be3ce28d57da24598eb0df13fcdea9d99bfce58717132
+SIZE (mbedtls-2.28.8.tar.bz2) = 3343796
diff --git a/security/mbedtls/pkg-plist b/security/mbedtls/pkg-plist
index 2a3e902aae56..c6f5d15fd541 100644
--- a/security/mbedtls/pkg-plist
+++ b/security/mbedtls/pkg-plist
@@ -23,6 +23,7 @@ bin/mbedtls_key_app_writer
 bin/mbedtls_key_ladder_demo
 bin/mbedtls_key_ladder_demo.sh
 bin/mbedtls_load_roots
+bin/mbedtls_metatest
 bin/mbedtls_mini_client
 bin/mbedtls_mpi_demo
 bin/mbedtls_pem2der
@@ -31,7 +32,6 @@ bin/mbedtls_pk_encrypt
 bin/mbedtls_pk_sign
 bin/mbedtls_pk_verify
 bin/mbedtls_psa_constant_names
-bin/mbedtls_ssl_pthread_server
 bin/mbedtls_query_compile_time_config
 bin/mbedtls_req_app
 bin/mbedtls_rsa_decrypt
@@ -47,6 +47,7 @@ bin/mbedtls_ssl_client2
 bin/mbedtls_ssl_context_info
 bin/mbedtls_ssl_fork_server
 bin/mbedtls_ssl_mail_client
+bin/mbedtls_ssl_pthread_server
 bin/mbedtls_ssl_server
 bin/mbedtls_ssl_server2
 bin/mbedtls_strerror
@@ -160,3 +161,6 @@ lib/libmbedx509.a
 lib/libmbedx509.so
 lib/libmbedx509.so.1
 lib/libmbedx509.so.%%DISTVERSION%%
+libdata/pkgconfig/mbedcrypto.pc
+libdata/pkgconfig/mbedtls.pc
+libdata/pkgconfig/mbedx509.pc