diff options
author | bjs <bjs@pkgsrc.org> | 2008-03-02 14:40:26 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2008-03-02 14:40:26 +0000 |
commit | ec8b6e8590e10fdb3c7329bad1a6ebc2829fe555 (patch) | |
tree | b25e89ed1f3ca54604c0258bb83cf809a8a75d67 /www/curl/options.mk | |
parent | 8dca1a0b7450f5c6bb0879ff115eaab162d96630 (diff) | |
download | pkgsrc-ec8b6e8590e10fdb3c7329bad1a6ebc2829fe555.tar.gz |
Update to version 7.18.0 and add SSHv2 support via the newly imported
security/libssh2 package.
Changes:
o --data-urlencode
o CURLOPT_PROXY_TRANSFER_MODE
o --no-keepalive - now curl does connections with keep-alive enabled by
default
o --socks4a added (proxy type CURLPROXY_SOCKS4A for libcurl)
o --socks5-hostname added (CURLPROXY_SOCKS5_HOSTNAME for libcurl)
o curl_easy_pause()
o CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA
o --keepalive-time
o curl --help output was re-ordered
This release includes the following bugfixes:
o curl-config --features and --protocols show the correct output when built
with NSS, and also when SCP, SFTP and libz are not available
o free problem in the curl tool for users with empty home dir
o curl.h version 7.17.1 problem when building C++ apps with MSVC
o SFTP and SCP use persistent connections
o segfault on bad URL
o variable wrapping when using absolutely huge send buffer sizes
o variable wrapping when using debug callback and the HTTP request wasn't sent
in one go
o SSL connections with NSS done with the multi-interface
o setting a share no longer activates cookies
o Negotiate now works on auth and proxy simultanouesly
o support HTTP Digest nonces up to 1023 letters
o resumed ftp upload no longer requires the read callback to return full
buffers
o no longer default-appends ;type= on FTP URLs thru proxies
o SSL session id caching
o POST with callback over proxy requiring NTLM or Digest
o Expect: 100-continue flaw on re-used connection with POSTs
o build fix for MSVC 9.0 (VS2008)
o Windows curl builds failed file truncation when retry downloading
o SSL session ID cache memory leak
o bad connection re-use check with environment variable-activated proxy use
o --libcurl now generates a return statement as well
o socklen_t is no longer used in the public includes
o time zone offsets from -1400 to +1400 are now accepted by the date parser
o allows more spaces in WWW/Proxy-Authenticate: headers
o curl-config --libs skips /usr/lib64
o range support for file:// transfers
o libcurl hang with huge POST request and request-body read from callback
o removed extra newlines from many error messages
o improved pipelining
o improved OOM handling for data url encoded HTTP POSTs when read from a file
o test suite could pick wrong tool(s) if more than one existed in the PATH
o curl_multi_fdset() failed to return socket while doing CONNECT over proxy
o curl_multi_remove_handle() on a handle that is in used for a pipeline now
break that pipeline
o CURLOPT_COOKIELIST memory leaks
o progress meter/callback during http proxy CONNECT requests
o auth for http proxy when the proxy closes connection after first response
Diffstat (limited to 'www/curl/options.mk')
-rw-r--r-- | www/curl/options.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/www/curl/options.mk b/www/curl/options.mk index 60bee6d8405..7403135232f 100644 --- a/www/curl/options.mk +++ b/www/curl/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1 2006/08/10 14:18:16 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2008/03/02 14:40:26 bjs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.curl -PKG_SUPPORTED_OPTIONS= inet6 +PKG_SUPPORTED_OPTIONS= inet6 libssh2 .include "../../mk/bsd.options.mk" @@ -10,3 +10,10 @@ CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif + +.if !empty(PKG_OPTIONS:Mlibssh2) +CONFIGURE_ARGS+= --with-libssh2=${BUILDLINK_PREFIX.libssh2:Q} +. include "../../security/libssh2/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-libssh2 +.endif |