curl: nss deprecated since 7.82 (#30020)
* curl: nss deprecated since 7.82
This commit is contained in:
parent
433d404a93
commit
ce09b42cdd
1 changed files with 15 additions and 16 deletions
|
@ -58,21 +58,21 @@ class Curl(AutotoolsPackage):
|
||||||
default_tls = 'secure_transport'
|
default_tls = 'secure_transport'
|
||||||
|
|
||||||
# TODO: add dependencies for other possible TLS backends
|
# TODO: add dependencies for other possible TLS backends
|
||||||
values_tls = [
|
variant('tls', default=default_tls, description='TLS backend',
|
||||||
|
values=(
|
||||||
# 'amissl',
|
# 'amissl',
|
||||||
# 'bearssl',
|
# 'bearssl',
|
||||||
'gnutls',
|
'gnutls',
|
||||||
'mbedtls',
|
conditional('mbedtls', when='@7.46:'),
|
||||||
# 'mesalink',
|
# 'mesalink',
|
||||||
'nss',
|
conditional('nss', when='@:7.81'),
|
||||||
'openssl',
|
'openssl',
|
||||||
# 'rustls',
|
# 'rustls',
|
||||||
# 'schannel',
|
# 'schannel',
|
||||||
'secure_transport',
|
'secure_transport',
|
||||||
# 'wolfssl',
|
# 'wolfssl',
|
||||||
]
|
),
|
||||||
|
multi=True)
|
||||||
variant('tls', default=default_tls, description='TLS backend', values=values_tls, multi=True)
|
|
||||||
variant('nghttp2', default=False, description='build nghttp2 library (requires C++11)')
|
variant('nghttp2', default=False, description='build nghttp2 library (requires C++11)')
|
||||||
variant('libssh2', default=False, description='enable libssh2 support')
|
variant('libssh2', default=False, description='enable libssh2 support')
|
||||||
variant('libssh', default=False, description='enable libssh support') # , when='7.58:')
|
variant('libssh', default=False, description='enable libssh support') # , when='7.58:')
|
||||||
|
@ -93,7 +93,6 @@ class Curl(AutotoolsPackage):
|
||||||
conflicts('platform=darwin', when='+libssh')
|
conflicts('platform=darwin', when='+libssh')
|
||||||
conflicts('platform=cray', when='tls=secure_transport', msg='Only supported on macOS')
|
conflicts('platform=cray', when='tls=secure_transport', msg='Only supported on macOS')
|
||||||
conflicts('platform=linux', when='tls=secure_transport', msg='Only supported on macOS')
|
conflicts('platform=linux', when='tls=secure_transport', msg='Only supported on macOS')
|
||||||
conflicts('tls=mbedtls', when='@:7.45')
|
|
||||||
|
|
||||||
depends_on('gnutls', when='tls=gnutls')
|
depends_on('gnutls', when='tls=gnutls')
|
||||||
depends_on('mbedtls@3:', when='@7.79: tls=mbedtls')
|
depends_on('mbedtls@3:', when='@7.79: tls=mbedtls')
|
||||||
|
|
Loading…
Reference in a new issue