aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2026-05-18 09:09:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2026-05-18 09:09:18 +0000
commit9ed2e41e03d2ac240958baee79aa99489174b5da (patch)
tree018f3fe2c806f9b04190965e116dbe3a009cb25a
parent0c85be933ec94972e3fa74d7e19b939ca86fcae6 (diff)
net-p2p/btcheck: reinstate mbedTLS/PolarSSL support
This port is compatible with 3.x series, builds and works just fine. Fixes: b4df55cb5ecb
-rw-r--r--net-p2p/btcheck/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-p2p/btcheck/Makefile b/net-p2p/btcheck/Makefile
index 63bc24df361e..85c531a016a1 100644
--- a/net-p2p/btcheck/Makefile
+++ b/net-p2p/btcheck/Makefile
@@ -20,7 +20,7 @@ PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
OPTIONS_RADIO= SHA1
SHA1_DESC= Optimized SHA-1 calculation
-OPTIONS_RADIO_SHA1= BEECRYPT GCRYPT GNUTLS NETTLE OPENSSL TOMCRYPT
+OPTIONS_RADIO_SHA1= BEECRYPT GCRYPT GNUTLS MBEDTLS NETTLE OPENSSL TOMCRYPT
OPTIONS_DEFAULT= OPENSSL
BEECRYPT_DESC= Use SHA-1 implementation from BeeCrypt
@@ -38,6 +38,11 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_USES= localbase
GNUTLS_CONFIGURE_ON= --with-gnutls
+MBEDTLS_DESC= Use SHA-1 implementation from mbedTLS/PolarSSL
+MBEDTLS_LIB_DEPENDS= libmbedcrypto.so:security/mbedtls3
+MBEDTLS_USES= localbase
+MBEDTLS_CONFIGURE_ON= --with-polarssl
+
NETTLE_DESC= Use SHA-1 implementation from Nettle
NETTLE_LIB_DEPENDS= libnettle.so:security/nettle
NETTLE_USES= localbase