diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2021-12-30 17:29:42 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2022-01-28 12:14:09 +0000 |
commit | b93e64d3c3240d1e4a8fc510b14aa2175e5be012 (patch) | |
tree | 831fe4fc9e13069878f77e60d42555a4f93f2ef6 /security/mbedtls/Makefile | |
parent | 09707eb57fd1ea915d00fc7de1a79f3cc3957dda (diff) | |
download | ports-b93e64d3c3240d1e4a8fc510b14aa2175e5be012.tar.gz ports-b93e64d3c3240d1e4a8fc510b14aa2175e5be012.zip |
Diffstat (limited to 'security/mbedtls/Makefile')
-rw-r--r-- | security/mbedtls/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/security/mbedtls/Makefile b/security/mbedtls/Makefile index 0b0710bfd1e7..706fc9d672c3 100644 --- a/security/mbedtls/Makefile +++ b/security/mbedtls/Makefile @@ -1,27 +1,25 @@ PORTNAME= mbedtls -PORTVERSION= 2.16.12 +PORTVERSION= 2.28.0 DISTVERSIONPREFIX=${PORTNAME}- CATEGORIES= security devel MAINTAINER= tijl@FreeBSD.org COMMENT= SSL/TLS and cryptography library -LICENSE= APACHE20 GPLv2+ -LICENSE_COMB= dual -LICENSE_FILE_APACHE20= ${WRKSRC}/apache-2.0.txt -LICENSE_FILE_GPLv2+ = ${WRKSRC}/gpl-2.0.txt +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake python:test shebangfix +SHEBANG_FILES= scripts/*.py tests/scripts/*.py USE_GITHUB= yes GH_ACCOUNT= ARMmbed ALL_TARGET= no_test TEST_TARGET= test -MAKE_ENV= SHARED=1 -USES= gmake tar:tgz +MAKE_ENV= PYTHON=${PYTHON_CMD} SHARED=1 USE_LDCONFIG= yes -CONFLICTS_INSTALL= polarssl13 - post-patch: @${RM} ${WRKSRC}/include/mbedtls/*.orig @${REINPLACE_CMD} \ @@ -31,8 +29,8 @@ post-patch: @${REINPLACE_CMD} 's/-fpic//' ${WRKSRC}/library/Makefile post-install: - ${FIND} ${STAGEDIR}${PREFIX}/bin -type f -not -name \ - mbedtls_udp_proxy_wrapper.sh -exec ${STRIP_CMD} {} + + ${FIND} ${STAGEDIR}${PREFIX}/bin -type f -not -name \*.sh \ + -exec ${STRIP_CMD} {} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include <bsd.port.mk> |