mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
security/mbedtls3: Remove more traces of libeverest and libp256m
These 3rdparty libraries aren't used in the default configuration. PR: 283782
This commit is contained in:
parent
8f5997797f
commit
c17097fa3f
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue