pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl Update to 7.13.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93604f134838
branches:  trunk
changeset: 490202:93604f134838
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Mar 05 14:23:00 2005 +0000

description:
Update to 7.13.1:

Version 7.13.1 (4 March 2005)

Daniel (4 March 2005)
- Dave Dribin made it possible to set CURLOPT_COOKIEFILE to "" to activate
  the cookie "engine" without having to provide an empty or non-existing file.

- Rene Rebe fixed a -# crash when more data than expected was retrieved.

Daniel (22 February 2005)
- NTLM and ftp-krb4 buffer overflow fixed, as reported here:
  http://www.securityfocus.com/archive/1/391042 and the CAN report here:
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0490

  If these security guys were serious, we'd been notified in advance and we
  could've saved a few of you a little surprise, but now we weren't.

Daniel (19 February 2005)
- Ralph Mitchell reported a flaw when you used a proxy with auth, and you
  requested data from a host and then followed a redirect to another
  host. libcurl then didn't use the proxy-auth properly in the second request,
  due to the host-only check for original host name wrongly being extended to
  the proxy auth as well. Added test case 233 to verify the flaw and that the
  fix removed the problem.

Daniel (18 February 2005)
- Mike Dobbs reported a mingw build failure due to the lack of
  BUILDING_LIBCURL being defined when libcurl is built. Now this is defined by
  configure when mingw is used.

Daniel (17 February 2005)
- David in bug report #1124588 found and fixed a socket leak when libcurl
  didn't close the socket properly when returning error due to failing
  localbind

Daniel (16 February 2005)
- Christopher R. Palmer reported a problem with HTTP-POSTing using "anyauth"
  that picks NTLM. Thanks to David Byron letting me test NTLM against his
  servers, I could quickly repeat and fix the problem. It turned out to be:

  When libcurl POSTs without knowing/using an authentication and it gets back
  a list of types from which it picks NTLM, it needs to either continue
  sending its data if it keeps the connection alive, or not send the data but
  close the connection. Then do the first step in the NTLM auth. libcurl
  didn't send the data nor close the connection but simply read the
  response-body and then sent the first negotiation step. Which then failed
  miserably of course. The fixed version forces a connection if there is more
  than 2000 bytes left to send.

Daniel (14 February 2005)
- The configure script didn't check for ENGINE_load_builtin_engines() so it
  was never used.

Daniel (11 February 2005)
- Removed all uses of strftime() since it uses the localised version of the
  week day names and month names and servers don't like that.

Daniel (10 February 2005)
- Now the test script disables valgrind-testing when the test suite runs if
  libcurl is built shared. Otherwise valgrind only tests the shell that runs
  the wrapper-script named 'curl' that is a front-end to curl in this case.
  This should also fix the huge amount of reports of false positives when
  valgrind has identified leaks in (ba)sh and not in curl and people report
  that as curl bugs. Bug report #1116672 is one example.

  Also, the valgrind report parser has been adapted to check that at least one
  of the sources in a stack strace is one of (lib)curl's source files or
  otherwise it will not consider the problem to concern (lib)curl.

- Marty Kuhrt streamlined the VMS build.

Daniel (9 February 2005)
- David Byron fixed his SSL problems, initially mentioned here:
  http://curl.haxx.se/mail/lib-2005-01/0240.html. It turned out we didn't use
  SSL_pending() as we should.

- Converted lots of FTP code to a statemachine, so that the multi interface
  doesn't block while communicating commands-responses with an FTP server.

  I've added a comment like BLOCKING in the code on all spots I could find
  where we still have blocking operations. When we change curl_easy_perform()
  to use the multi interface, we'll also be able to simplify the code since
  there will only be one "internal interface".

  While doing this, I've now made CURLE_FTP_ACCESS_DENIED separate from the
  new CURLE_LOGIN_DENIED. The first one is now access denied to a function,
  like changing directory or retrieving a file, while the second means that we
  were denied login.

  The CVS tag 'before_ftp_statemachine' was set just before this went in, in
  case of future need.

- Gisle made the DICT code send CRLF and not just LF as the spec says so.

Daniel (8 February 2005)
- Gisle fixed problems when libcurl runs out of memory, and worked on making
  sure the proper error code is returned for those occations.

Daniel (7 February 2005)
- Maruko pointed out a problem with inflate decompressing exactly 64K
  contents.

Daniel (5 February 2005)
- Eric Vergnaud found a use of an uninitialised variable in the ftp when doing
  PORT on ipv6-enabled hosts.

- David Byron pointed out we could use BUFSIZE to read data (in
  lib/transfer.c) instead of using BUFSIZE -1.

diffstat:

 www/curl/Makefile         |   5 ++---
 www/curl/PLIST            |   3 ++-
 www/curl/distinfo         |   9 ++++-----
 www/curl/patches/patch-aa |  34 ----------------------------------
 4 files changed, 8 insertions(+), 43 deletions(-)

diffs (82 lines):

diff -r 6579b27cbd16 -r 93604f134838 www/curl/Makefile
--- a/www/curl/Makefile Sat Mar 05 14:22:22 2005 +0000
+++ b/www/curl/Makefile Sat Mar 05 14:23:00 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2005/02/25 00:47:30 salo Exp $
+# $NetBSD: Makefile,v 1.50 2005/03/05 14:23:00 wiz Exp $
 
-DISTNAME=      curl-7.13.0
-PKGREVISION=   1
+DISTNAME=      curl-7.13.1
 CATEGORIES=    www
 MASTER_SITES=  http://curl.haxx.se/download/ \
                ftp://ftp.sunet.se/pub/www/utilities/curl/ \
diff -r 6579b27cbd16 -r 93604f134838 www/curl/PLIST
--- a/www/curl/PLIST    Sat Mar 05 14:22:22 2005 +0000
+++ b/www/curl/PLIST    Sat Mar 05 14:23:00 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2005/01/03 11:00:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.15 2005/03/05 14:23:00 wiz Exp $
 bin/curl
 bin/curl-config
 include/curl/curl.h
@@ -72,6 +72,7 @@
 share/examples/curl/ftpupload.c
 share/examples/curl/getinfo.c
 share/examples/curl/getinmemory.c
+share/examples/curl/htmltidy.c
 share/examples/curl/http-post.c
 share/examples/curl/httpput.c
 share/examples/curl/https.c
diff -r 6579b27cbd16 -r 93604f134838 www/curl/distinfo
--- a/www/curl/distinfo Sat Mar 05 14:22:22 2005 +0000
+++ b/www/curl/distinfo Sat Mar 05 14:23:00 2005 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.33 2005/02/25 00:47:30 salo Exp $
+$NetBSD: distinfo,v 1.34 2005/03/05 14:23:00 wiz Exp $
 
-SHA1 (curl-7.13.0.tar.bz2) = 63530e49c7c55b0cb47372d87b4d2eff40d28e43
-RMD160 (curl-7.13.0.tar.bz2) = e543ebdae0f703d34f287ff7e9a8ee62ddf40d7b
-Size (curl-7.13.0.tar.bz2) = 1853790 bytes
-SHA1 (patch-aa) = 77f05820c243eb58c4091f89e6aaf44886d6d497
+SHA1 (curl-7.13.1.tar.bz2) = 0e87860d83377df0fb38c7b034adff5e0ae9e3f7
+RMD160 (curl-7.13.1.tar.bz2) = 280f267bfce4876bf5c54db67e8826113271d573
+Size (curl-7.13.1.tar.bz2) = 1860688 bytes
diff -r 6579b27cbd16 -r 93604f134838 www/curl/patches/patch-aa
--- a/www/curl/patches/patch-aa Sat Mar 05 14:22:22 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-aa,v 1.8 2005/02/25 00:47:30 salo Exp $
-
---- lib/http_ntlm.c.orig       2004-12-08 00:09:41.000000000 +0100
-+++ lib/http_ntlm.c    2005-02-25 01:09:30.000000000 +0100
-@@ -103,7 +103,6 @@
-     header++;
- 
-   if(checkprefix("NTLM", header)) {
--    unsigned char buffer[256];
-     header += strlen("NTLM");
- 
-     while(*header && isspace((int)*header))
-@@ -123,8 +122,12 @@
-          (40)    Target Information  (optional) security buffer(*)
-          32 (48) start of data block
-       */
-+      size_t size;
-+      unsigned char *buffer = (unsigned char *)malloc(strlen(header));
-+      if (buffer == NULL)
-+        return CURLNTLM_BAD;
- 
--      size_t size = Curl_base64_decode(header, (char *)buffer);
-+      size = Curl_base64_decode(header, (char *)buffer);
- 
-       ntlm->state = NTLMSTATE_TYPE2; /* we got a type-2 */
- 
-@@ -134,6 +137,7 @@
- 
-       /* at index decimal 20, there's a 32bit NTLM flag field */
- 
-+      free(buffer);
-     }
-     else {
-       if(ntlm->state >= NTLMSTATE_TYPE1)



Home | Main Index | Thread Index | Old Index