Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 14:18:17 GMT
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c17097fa3fad - main - security/mbedtls3: Remove more traces of libeverest and libp256m
Message-ID:  <202501021418.502EIHWI094572@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tijl:

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

commit c17097fa3fad9dd1c59b116640c251f3b194af1b
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2025-01-02 14:10:24 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2025-01-02 14:17:23 +0000

    security/mbedtls3: Remove more traces of libeverest and libp256m
    
    These 3rdparty libraries aren't used in the default configuration.
    
    PR:             283782
---
 security/mbedtls3/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/security/mbedtls3/Makefile b/security/mbedtls3/Makefile
index 84cec01d0833..1fa601e1b99d 100644
--- a/security/mbedtls3/Makefile
+++ b/security/mbedtls3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mbedtls
 DISTVERSION=	3.6.2
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://github.com/Mbed-TLS/${PORTNAME}/releases/download/${DISTNAME}/
 PKGNAMESUFFIX=	3
@@ -29,15 +30,16 @@ PORTSCOUT=	limit:^${DISTVERSION:R:S/./\./g}\.
 
 PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
+post-patch:
+	@${REINPLACE_CMD} '/(everest)/d;/(p256-m)/d' \
+		${WRKSRC}/3rdparty/CMakeLists.txt
+
 pre-configure:
 	@${WRKSRC}/scripts/config.py set MBEDTLS_SSL_DTLS_SRTP
 	@${WRKSRC}/scripts/config.py set MBEDTLS_THREADING_C
 	@${WRKSRC}/scripts/config.py set MBEDTLS_THREADING_PTHREAD
 
 post-install:
-	${RM} -r ${STAGEDIR}${PREFIX}/include/everest
-	${RM} ${STAGEDIR}${PREFIX}/lib/libeverest.a \
-		${STAGEDIR}${PREFIX}/lib/libp256m.a
 	@cd ${STAGEDIR}${PREFIX}/bin && for f in *; do \
 		${MV} "$$f" "mbedtls_$$f"; \
 	done



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501021418.502EIHWI094572>