diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-03-25 19:53:27 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-03-25 19:53:27 +0000 |
commit | c1275d56605e7d69849fdc210ce451586ee3d809 (patch) | |
tree | bd24d41528c8e24c141f76ae4c4722a3082b612f /ftp/curl | |
parent | 38007dab2f56464956b3726fc781e988e11d756c (diff) | |
download | ports-c1275d56605e7d69849fdc210ce451586ee3d809.tar.gz ports-c1275d56605e7d69849fdc210ce451586ee3d809.zip |
Notes
Diffstat (limited to 'ftp/curl')
-rw-r--r-- | ftp/curl/Makefile | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile index 90d4d8d91ebe..218dbefa5b2e 100644 --- a/ftp/curl/Makefile +++ b/ftp/curl/Makefile @@ -12,14 +12,18 @@ COMMENT?= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers LICENSE= MIT -OPTIONS_DEFINE= CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES GSSAPI IDN IPV6 LDAP LDAPS LIBSSH2 PROXY RTMP SPNEGO TLS_SRP -OPTIONS_RADIO= RESOLV SSL +OPTIONS_DEFINE= CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES IDN IPV6 LDAP LDAPS LIBSSH2 PROXY RTMP SPNEGO TLS_SRP +OPTIONS_RADIO= GSSAPI RESOLV SSL +OPTIONS_RADIO_GSSAPI= GSSAPI_BASE HEIMDAL_PORT KRB5_PORT OPTIONS_RADIO_RESOLV= CARES THREADED_RESOLVER OPTIONS_RADIO_SSL= CYASSL GNUTLS NSS OPENSSL POLARSSL -OPTIONS_DEFAULT=CA_BUNDLE COOKIES GSSAPI IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER SSL TLS_SRP +OPTIONS_DEFAULT=CA_BUNDLE COOKIES GSSAPI_BASE IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER SSL TLS_SRP CA_BUNDLE_DESC= Install CA bundle for OpenSSL COOKIES_DESC= Cookies support CURL_DEBUG_DESC=cURL debug memory tracking +GSSAPI_BASE_DESC= GSSAPI support via base system +HEIMDAL_PORT_DESC= GSSAPI support via security/heimdal +KRB5_PORT_DESC= GSSAPI support via security/krb5 LIBSSH2_DESC= SCP/SFTP support via libssh2 RESOLV_DESC= DNS resolving options SPNEGO_DESC= SPNEGO (RFC 4178) support @@ -50,6 +54,9 @@ DOCS= BINDINGS BUGS CONTRIBUTE DISTRO-DILEMMA FAQ FEATURES HISTORY \ SLAVEDIRS= ftp/curl-hiphop +HEIMDAL_HOME?= ${PREFIX} +KRB5_HOME?= ${PREFIX} + CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss @@ -68,15 +75,22 @@ DEBUG_CONFIGURE_ON= --enable-debug GNUTLS_CONFIGURE_OFF= --without-gnutls GNUTLS_CONFIGURE_ON= --with-gnutls=${LOCALBASE} GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls -GSSAPI_CONFIGURE_OFF= --without-gssapi -GSSAPI_CONFIGURE_ON= --with-gssapi=/usr -GSSAPI_CPPFLAGS= -I${INCLUDEDIR}/gssapi +GSSAPI_BASE_CONFIGURE_ON= --with-gssapi=/usr +GSSAPI_BASE_CPPFLAGS= -I${INCLUDEDIR}/gssapi +HEIMDAL_PORT_CONFIGURE_ON= --with-gssapi=${HEIMDAL_HOME} +HEIMDAL_PORT_CPPFLAGS= -I${HEIMDAL_HOME}/include +HEIMDAL_PORT_LDFLAGS= -L${HEIMDAL_HOME}/lib +HEIMDAL_PORT_LIB_DEPENDS= libgssapi.so:${PORTSDIR}/security/heimdal IDN_CONFIGURE_OFF= --without-libidn IDN_CONFIGURE_ON= --with-libidn=${LOCALBASE} IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn IPV6_CATEGORIES= ipv6 IPV6_CONFIGURE_OFF= --disable-ipv6 IPV6_CONFIGURE_ON= --enable-ipv6 +KRB5_PORT_CONFIGURE_ON= --with-gssapi=${KRB5_HOME} +KRB5_PORT_CPPFLAGS= -I${KRB5_HOME}/include +KRB5_PORT_LDFLAGS= -L${KRB5_HOME}/lib +KRB5_PORT_LIB_DEPENDS= libgssapi_krb5.so:${PORTSDIR}/security/krb5 LDAP_CONFIGURE_OFF= --disable-ldap LDAP_CONFIGURE_ON= --enable-ldap LDAP_CPPFLAGS= -I${LOCALBASE}/include @@ -134,6 +148,10 @@ IGNORE= only supports LDAPS with SSL IGNORE= only supports LIBSSH2 with OpenSSL .endif +.if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MHEIMDAL_PORT} && !${PORT_OPTIONS:MKRB5_PORT} +CONFIGURE_ARGS+=--without-gssapi +.endif + post-patch: @${REINPLACE_CMD} -e 's|\(flags_dbg_off=\)".*"|\1""|; s|\(flags_opt_off=\)".*"|\1""|' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^SUBDIRS = / s|$$| docs|; /^DIST_SUBDIRS = / s| docs||; /cd docs &&/d' ${WRKSRC}/Makefile.in |