notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
mbedtls4 Embedded SSL/TLS and cryptography library
4.0.0 securitynew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: pkaipila@gmail.com search for ports maintained by this maintainer
Port Added: 2026-03-01 16:39:08
Last Update: 2026-03-01 16:36:37
Commit Hash: 0f99c33
Also Listed In: devel
License: APACHE20 GPLv2+
WWW:
https://www.trustedfirmware.org/projects/mbed-tls/
Description:
mbed TLS is a lightweight, portable, fully featured and standards compliant SSL/TLS and cryptography library.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (174 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mbedtls4-4.0.0/catalog.mk
  3. /usr/local/share/licenses/mbedtls4-4.0.0/LICENSE
  4. /usr/local/share/licenses/mbedtls4-4.0.0/APACHE20
  5. /usr/local/share/licenses/mbedtls4-4.0.0/GPLv2+
  6. bin/mbedtls_aead_demo
  7. bin/mbedtls_cert_app
  8. bin/mbedtls_cert_req
  9. bin/mbedtls_cert_write
  10. bin/mbedtls_crl_app
  11. bin/mbedtls_crypto_examples
  12. bin/mbedtls_dtls_client
  13. bin/mbedtls_dtls_server
  14. bin/mbedtls_hmac_demo
  15. bin/mbedtls_key_ladder_demo
  16. bin/mbedtls_key_ladder_demo.sh
  17. bin/mbedtls_load_roots
  18. bin/mbedtls_metatest
  19. bin/mbedtls_mini_client
  20. bin/mbedtls_pem2der
  21. bin/mbedtls_psa_constant_names
  22. bin/mbedtls_psa_hash
  23. bin/mbedtls_query_compile_time_config
  24. bin/mbedtls_query_included_headers
  25. bin/mbedtls_req_app
  26. bin/mbedtls_selftest
  27. bin/mbedtls_ssl_client1
  28. bin/mbedtls_ssl_client2
  29. bin/mbedtls_ssl_context_info
  30. bin/mbedtls_ssl_fork_server
  31. bin/mbedtls_ssl_mail_client
  32. bin/mbedtls_ssl_pthread_server
  33. bin/mbedtls_ssl_server
  34. bin/mbedtls_ssl_server2
  35. bin/mbedtls_strerror
  36. bin/mbedtls_udp_proxy
  37. bin/mbedtls_zeroize
  38. include/mbedtls/compat-3-crypto.h
  39. include/mbedtls/private/aes.h
  40. include/mbedtls/private/aria.h
  41. include/mbedtls/private/bignum.h
  42. include/mbedtls/private/block_cipher.h
  43. include/mbedtls/private/camellia.h
  44. include/mbedtls/private/ccm.h
  45. include/mbedtls/private/chacha20.h
  46. include/mbedtls/private/chachapoly.h
  47. include/mbedtls/private/cipher.h
  48. include/mbedtls/private/cmac.h
  49. include/mbedtls/private/config_adjust_legacy_from_psa.h
  50. include/mbedtls/private/config_adjust_ssl.h
  51. include/mbedtls/private/config_adjust_test_accelerators.h
  52. include/mbedtls/private/config_adjust_x509.h
  53. include/mbedtls/private/config_psa.h
  54. include/mbedtls/private/ctr_drbg.h
  55. include/mbedtls/private/ecdh.h
  56. include/mbedtls/private/ecdsa.h
  57. include/mbedtls/private/ecjpake.h
  58. include/mbedtls/private/ecp.h
  59. include/mbedtls/private/entropy.h
  60. include/mbedtls/private/error_common.h
  61. include/mbedtls/private/gcm.h
  62. include/mbedtls/private/hmac_drbg.h
  63. include/mbedtls/private/md5.h
  64. include/mbedtls/private/pkcs5.h
  65. include/mbedtls/private/poly1305.h
  66. include/mbedtls/private/ripemd160.h
  67. include/mbedtls/private/rsa.h
  68. include/mbedtls/private/sha1.h
  69. include/mbedtls/private/sha256.h
  70. include/mbedtls/private/sha3.h
  71. include/mbedtls/private/sha512.h
  72. include/mbedtls/asn1.h
  73. include/mbedtls/asn1write.h
  74. include/mbedtls/base64.h
  75. include/mbedtls/build_info.h
  76. include/mbedtls/config_adjust_legacy_crypto.h
  77. include/mbedtls/constant_time.h
  78. include/mbedtls/debug.h
  79. include/mbedtls/error.h
  80. include/mbedtls/lms.h
  81. include/mbedtls/mbedtls_config.h
  82. include/mbedtls/md.h
  83. include/mbedtls/memory_buffer_alloc.h
  84. include/mbedtls/net_sockets.h
  85. include/mbedtls/nist_kw.h
  86. include/mbedtls/oid.h
  87. include/mbedtls/pem.h
  88. include/mbedtls/pk.h
  89. include/mbedtls/pkcs7.h
  90. include/mbedtls/platform.h
  91. include/mbedtls/platform_time.h
  92. include/mbedtls/platform_util.h
  93. include/mbedtls/private_access.h
  94. include/mbedtls/psa_util.h
  95. include/mbedtls/ssl.h
  96. include/mbedtls/ssl_cache.h
  97. include/mbedtls/ssl_ciphersuites.h
  98. include/mbedtls/ssl_cookie.h
  99. include/mbedtls/ssl_ticket.h
  100. include/mbedtls/threading.h
  101. include/mbedtls/timing.h
  102. include/mbedtls/version.h
  103. include/mbedtls/x509.h
  104. include/mbedtls/x509_crl.h
  105. include/mbedtls/x509_crt.h
  106. include/mbedtls/x509_csr.h
  107. include/psa/crypto.h
  108. include/psa/crypto_adjust_auto_enabled.h
  109. include/psa/crypto_adjust_config_dependencies.h
  110. include/psa/crypto_adjust_config_key_pair_types.h
  111. include/psa/crypto_adjust_config_synonyms.h
  112. include/psa/crypto_builtin_composites.h
  113. include/psa/crypto_builtin_key_derivation.h
  114. include/psa/crypto_builtin_primitives.h
  115. include/psa/crypto_compat.h
  116. include/psa/crypto_config.h
  117. include/psa/crypto_driver_common.h
  118. include/psa/crypto_driver_contexts_composites.h
  119. include/psa/crypto_driver_contexts_key_derivation.h
  120. include/psa/crypto_driver_contexts_primitives.h
  121. include/psa/crypto_extra.h
  122. include/psa/crypto_platform.h
  123. include/psa/crypto_sizes.h
  124. include/psa/crypto_struct.h
  125. include/psa/crypto_types.h
  126. include/psa/crypto_values.h
  127. include/psa/crypto_adjust_config_derived.h
  128. include/psa/crypto_driver_random.h
  129. include/tf-psa-crypto/build_info.h
  130. include/tf-psa-crypto/private/everest/everest/Hacl_Curve25519.h
  131. include/tf-psa-crypto/private/everest/everest/everest.h
  132. include/tf-psa-crypto/private/everest/everest/kremlib.h
  133. include/tf-psa-crypto/private/everest/everest/kremlib/FStar_UInt128.h
  134. include/tf-psa-crypto/private/everest/everest/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.h
  135. include/tf-psa-crypto/private/everest/everest/kremlin/c_endianness.h
  136. include/tf-psa-crypto/private/everest/everest/kremlin/internal/builtin.h
  137. include/tf-psa-crypto/private/everest/everest/kremlin/internal/callconv.h
  138. include/tf-psa-crypto/private/everest/everest/kremlin/internal/compat.h
  139. include/tf-psa-crypto/private/everest/everest/kremlin/internal/debug.h
  140. include/tf-psa-crypto/private/everest/everest/kremlin/internal/target.h
  141. include/tf-psa-crypto/private/everest/everest/kremlin/internal/types.h
  142. include/tf-psa-crypto/private/everest/everest/kremlin/internal/wasmsupport.h
  143. include/tf-psa-crypto/private/everest/everest/vs2013/Hacl_Curve25519.h
  144. include/tf-psa-crypto/private/everest/everest/x25519.h
  145. include/tf-psa-crypto/version.h
  146. lib/cmake/TF-PSA-Crypto/TF-PSA-CryptoConfig.cmake
  147. lib/cmake/TF-PSA-Crypto/TF-PSA-CryptoConfigVersion.cmake
  148. lib/cmake/TF-PSA-Crypto/TF-PSA-CryptoTargets-release.cmake
  149. lib/cmake/TF-PSA-Crypto/TF-PSA-CryptoTargets.cmake
  150. lib/libmbedtls.so.22
  151. lib/libmbedx509.so.8
  152. lib/libtfpsacrypto.a
  153. lib/libtfpsacrypto.so
  154. lib/libtfpsacrypto.so.1
  155. lib/libtfpsacrypto.so.1.0.0
  156. lib/cmake/MbedTLS/MbedTLSConfig.cmake
  157. lib/cmake/MbedTLS/MbedTLSConfigVersion.cmake
  158. lib/cmake/MbedTLS/MbedTLSTargets-release.cmake
  159. lib/cmake/MbedTLS/MbedTLSTargets.cmake
  160. lib/libmbedcrypto.a
  161. lib/libmbedcrypto.so.4.0.0
  162. lib/libmbedtls.a
  163. lib/libmbedtls.so
  164. lib/libmbedtls.so.4.0.0
  165. lib/libmbedx509.a
  166. lib/libmbedx509.so
  167. lib/libmbedx509.so.4.0.0
  168. libdata/pkgconfig/mbedcrypto.pc
  169. libdata/pkgconfig/mbedtls.pc
  170. libdata/pkgconfig/mbedx509.pc
  171. libdata/pkgconfig/tfpsacrypto.pc
  172. @owner
  173. @group
  174. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • mbedtls4>0:security/mbedtls4
Conflicts:
CONFLICTS_INSTALL:
  • mbedtls3
To install the port:
cd /usr/ports/security/mbedtls4/ && make install clean
To add the package, run one of these commands:
  • pkg install security/mbedtls4
  • pkg install mbedtls4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mbedtls4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1772372393 SHA256 (mbedtls-4.0.0.tar.bz2) = 2f3a47f7b3a541ddef450e4867eeecb7ce2ef7776093f3a11d6d43ead6bf2827 SIZE (mbedtls-4.0.0.tar.bz2) = 6342607

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Libraries
  1. www/hiawatha

Configuration Options:
No options to configure
Options name:
security_mbedtls4
USES:
cmake:testing python:build,test shebangfix tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-4.0.0/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.0.0
01 Mar 2026 16:36:37
commit hash: 0f99c33e2fe4e88b7db6064de4f27e7e5912995ccommit hash: 0f99c33e2fe4e88b7db6064de4f27e7e5912995ccommit hash: 0f99c33e2fe4e88b7db6064de4f27e7e5912995ccommit hash: 0f99c33e2fe4e88b7db6064de4f27e7e5912995c files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Paavo-Einari Kaipila
security/mbedtls4: New port 4.0.0

Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.0.0

PR:	293527
3.6.5
01 Mar 2026 16:36:36
commit hash: a28c15d65ec9a9b13ce417ec62b38d27065345bacommit hash: a28c15d65ec9a9b13ce417ec62b38d27065345bacommit hash: a28c15d65ec9a9b13ce417ec62b38d27065345bacommit hash: a28c15d65ec9a9b13ce417ec62b38d27065345ba files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
security/mbedtls4: Repocopy from security/mbedtls3

PR:	293527

Number of commits found: 2