From 279743480a2c8d617db43b54bdc32faadefcfd13 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 30 Jul 2003 10:29:02 +0000 Subject: Update to 7.10.6: Changes: * CURLOPT_SSL_CTX_FUNCTION allows a custom callback for SSL connections * multiple patches lets curl build and run on DOS * libcurl now deals with spaces in Location: redirects and URLifies them * curl --version shows more detailed info * curl_version_info() now returns info on NTLM, GSS-Negotiate and Debug * curl_version() includes "GSS" in the string if built with GSSAPI available * Pick-best-authentication option added (--anyauth, using the CURLOPT_HTTPAUTH set to CURLAUTH_ANY) * NTLM authentication support (--ntlm and CURLAUTH_NTLM) * GSS-Negotiate authentication support (--negotiate and CURLAUTH_GSSNEGOTIATE) * Digest authentication support added (--digest and CURLAUTH_DIGEST) * Allow curl to switch (back to) to Basic authentication (--basic) * libcurl supports name and password in proxy environment variables Bugs: * double slash after the host name on a FTP URL again points out the root dir * obscure and rare DNS cache problem was fixed * multiple FTP connections to the same host with different user names didn't work properly * no more CWD commands without arguments for ftp connections * curl no longer uses setvbuf() due to portability problems * VMS build fixes * the curl tool has the -M manual compressed internally if built with libz * url globbing syntax error could cause segfault * Huge (>40-60KB) GET requests over HTTPS failed. * Content-Length now overrides socket-closed as a means of knowing when the response body is complete. * --progress-bar takes the initial size into account when doing resumed downloads * work around SSL bugs better * libcurl typically issues POST requests with less send() calls * better main makefile * external headers improved portability * Listing FTP directories without contents could leak a socket * Getting HTTP contents in one line without headers failed * bugfixed the socks5-proxy usage (twice) * h_aliases name-lookup rare crash fixed * improved curl -M output * curl_unescape() now only unescapes valid %HH codes --- www/curl/Makefile | 4 ++-- www/curl/distinfo | 8 ++++---- www/curl/patches/patch-ab | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/www/curl/Makefile b/www/curl/Makefile index 7292507e8d5..deff68fc41b 100644 --- a/www/curl/Makefile +++ b/www/curl/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.29 2003/07/22 04:14:22 martti Exp $ +# $NetBSD: Makefile,v 1.30 2003/07/30 10:29:02 wiz Exp $ -DISTNAME= curl-7.10.5 +DISTNAME= curl-7.10.6 CATEGORIES= www MASTER_SITES= http://curl.haxx.se/download/ \ ftp://ftp.sunet.se/pub/www/utilities/curl/ \ diff --git a/www/curl/distinfo b/www/curl/distinfo index 61e646b1c2a..e2698539010 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.20 2003/05/20 11:54:12 wiz Exp $ +$NetBSD: distinfo,v 1.21 2003/07/30 10:29:02 wiz Exp $ -SHA1 (curl-7.10.5.tar.gz) = 91bf5f16460e996be68de68f3c2029a827abafb9 -Size (curl-7.10.5.tar.gz) = 1175053 bytes -SHA1 (patch-ab) = 546ba14671dd577950bc139cae4a5cb86aa417e5 +SHA1 (curl-7.10.6.tar.gz) = e573983c63a589b49ff74c521cceb3db69f47d23 +Size (curl-7.10.6.tar.gz) = 1222927 bytes +SHA1 (patch-ab) = 47a06a4b376cb7417136877a69ecef1300e53a2f diff --git a/www/curl/patches/patch-ab b/www/curl/patches/patch-ab index 8d72b51c951..b11b5825bab 100644 --- a/www/curl/patches/patch-ab +++ b/www/curl/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.5 2003/05/20 11:54:13 wiz Exp $ +$NetBSD: patch-ab,v 1.6 2003/07/30 10:29:03 wiz Exp $ ---- lib/ftp.c.orig Wed May 14 08:31:00 2003 +--- lib/ftp.c.orig Mon Jul 28 10:50:02 2003 +++ lib/ftp.c -@@ -2050,12 +2050,13 @@ CURLcode ftp_perform(struct connectdata +@@ -2056,12 +2056,13 @@ CURLcode ftp_perform(struct connectdata #ifdef HAVE_STRFTIME if(data->set.get_filetime && (data->info.filetime>=0) ) { @@ -13,7 +13,7 @@ $NetBSD: patch-ab,v 1.5 2003/05/20 11:54:13 wiz Exp $ - tm = (struct tm *)localtime_r(&data->info.filetime, &buffer); + tm = (struct tm *)localtime_r(&filetime, &buffer); #else -- tm = localtime((unsigned long *)&data->info.filetime); +- tm = localtime(&data->info.filetime); + tm = localtime(&filetime); #endif /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ -- cgit v1.2.3