View | Details | Raw Unified | Return to bug 238382 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-12 / +2 lines)
Lines 41-47 Link Here
41
OPTIONS_SINGLE_SSL=	OPENSSL MBEDTLS
41
OPTIONS_SINGLE_SSL=	OPENSSL MBEDTLS
42
PKCS11_DESC=		Use security/pkcs11-helper
42
PKCS11_DESC=		Use security/pkcs11-helper
43
EASYRSA_DESC=		Install security/easy-rsa RSA helper package
43
EASYRSA_DESC=		Install security/easy-rsa RSA helper package
44
MBEDTLS_DESC=		SSL/TLS via mbedTLS
44
MBEDTLS_DESC=		SSL/TLS via mbedTLS (lacks TLS v1.3)
45
TUNNELBLICK_DESC=	Tunnelblick XOR scramble patch (READ HELP!)
45
TUNNELBLICK_DESC=	Tunnelblick XOR scramble patch (READ HELP!)
46
X509ALTUSERNAME_DESC=	Enable --x509-username-field (OpenSSL only)
46
X509ALTUSERNAME_DESC=	Enable --x509-username-field (OpenSSL only)
47
SMALL_DESC=		Build a smaller executable with fewer features
47
SMALL_DESC=		Build a smaller executable with fewer features
Lines 62-67 Link Here
62
62
63
OPENSSL_USES=		ssl
63
OPENSSL_USES=		ssl
64
OPENSSL_CONFIGURE_ON=	--with-crypto-library=openssl
64
OPENSSL_CONFIGURE_ON=	--with-crypto-library=openssl
65
IGNORE_SSL=		libressl libressl-devel
65
66
66
LZ4_CONFIGURE_OFF=	--disable-lz4
67
LZ4_CONFIGURE_OFF=	--disable-lz4
67
68
Lines 115-131 Link Here
115
_tlslibs=libssl libcrypto
116
_tlslibs=libssl libcrypto
116
.endif
117
.endif
117
118
118
.if ${SSL_DEFAULT:Mlibressl*} && empty(PORT_OPTIONS:MMBEDTLS)
119
pre-everything::
120
	@${ECHO_CMD} "WARNING: OpenVPN does not officially support LibreSSL."
121
	@${ECHO_CMD} "If things break, rebuild with OpenSSL or mbedTLS."
122
	@${ECHO_CMD} "You may wish to change your default SSL library"
123
	@${ECHO_CMD} "and press Ctrl+C within the next 10 seconds to abort."
124
.  if !(defined(PACKAGE_BUILDING) || defined(BATCH))
125
	@sleep 10
126
.  endif
127
.endif
128
129
# sanity check that we don't inherit incompatible SSL libs through,
119
# sanity check that we don't inherit incompatible SSL libs through,
130
# for instance, pkcs11-helper:
120
# for instance, pkcs11-helper:
131
post-build:
121
post-build:

Return to bug 238382