mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Make run dependency on security/ca_root_nss optional
PR: ports/149368 Submitted by: pgj Approved by: roam (maintainer timeout)
This commit is contained in:
parent
3d6dc8923a
commit
989719bbe3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259940
@ -17,8 +17,6 @@ MASTER_SITE_SUBDIR= curl
|
||||
MAINTAINER= roam@FreeBSD.org
|
||||
COMMENT= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
PATCH_STRIP= -p1
|
||||
@ -69,6 +67,7 @@ OPTIONS= CARES "Asynchronous DNS resolution via c-ares" off \
|
||||
LIBSSH2 "SCP/SFTP support via libssh2" off \
|
||||
NTLM "NTLM authentication" off \
|
||||
OPENSSL "OpenSSL support" on \
|
||||
CA_BUNDLE "Install CA bundle for OpenSSL" on \
|
||||
PROXY "Proxy support" on \
|
||||
TRACKMEMORY "Enable curl memory diagnostic output" off
|
||||
|
||||
@ -98,10 +97,18 @@ IGNORE= only supports LDAPS with SSL (OpenSSL or GNUTLS)
|
||||
|
||||
.if !defined(WITHOUT_OPENSSL)
|
||||
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
|
||||
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} \
|
||||
--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
|
||||
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
||||
.if !defined(WITHOUT_CA_BUNDLE)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
||||
CONFIGURE_ARGS+= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ca-bundle
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ssl
|
||||
.if defined(WITH_CA_BUNDLE)
|
||||
IGNORE= only supports CA bundle with OpenSSL
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_CARES)
|
||||
|
Loading…
Reference in New Issue
Block a user