Sun Apr 14 16:39:49 2013 UTC ()
Update to 7.30.0:

Fixed in 7.30.0 - April 12 2013
Release contains security-related bug fix

Changes:

    imap: Changed response tag generation to be completely unique
    imap: Added support for SASL-IR extension
    imap: Added support for the list command
    imap: Added support for the append command
    imap: Added custom request parsing
    imap: Added support to the fetch command for UID and SECTION properties
    imap: Added parsing and verification of the UIDVALIDITY mailbox attribute
    darwinssl: Make certificate errors less techy
    imap/pop3/smtp: Added support for the STARTTLS capability
    checksrc: ban use of sprintf, vsprintf, strcat, strncat and gets
    curl_global_init() now accepts the CURL_GLOBAL_ACK_EINTR flag
    Added CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_TOTAL_CONNECTIONS for new multi interface connection handling
    Added CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_PIPELINING_SITE_BL and CURLMOPT_PIPELI NING_SERVER_BL for new pipelining control

Bugfixes:

    SECURITY ADVISORY: cookie tailmatching to avoid cross-domain leakage
    darwinssl: Fix build under Leopard
    DONE: consider callback-aborted transfers premature
    ntlm: Fixed memory leaks
    smtp: Fixed an issue when processing EHLO failure responses
    pop3: Fixed incorrect return value from pop3_endofresp()
    pop3: Fixed SASL authentication capability detection
    pop3: Fixed blocking SSL connect when connecting via POP3S
    imap: Fixed memory leak when performing multiple selects
    nss: fix misplaced code enabling non-blocking socket mode
    AddFormData: prevent only directories from being posted
    darwinssl: fix infinite loop if server disconnected abruptly
    metalink: fix improbable crash parsing metalink filename
    show proper host name on failed resolve
    MacOSX-Framework: Make script work in Xcode 4.0 and later
    strlcat: remove function
    darwinssl: Fix send glitchiness with data > 32 or so KB
    polarssl: better 1.1.x and 1.2.x support
    various documentation improvements
    multi: NULL pointer reference when closing an unused multi handle
    SOCKS: fix socks proxy when noproxy matched
    install-sh: updated to support multiple source files as arguments
    PolarSSL: added human readable error strings
    resolver_error: remove wrong error message output
    docs: updates HTML index and general improvements
    curlbuild.h.dist: enhance non-configure GCC ABI detection logic
    sasl: Fixed null pointer reference when decoding empty digest challenge
    easy: do not ignore poll() failures other than EINTR
    darwinssl: disable ECC ciphers under Mountain Lion by default
    CONNECT: count received headers
    build: fixes for VMS
    CONNECT: clear 'rewindaftersend' on success
    HTTP proxy: insert slash in URL if missing
    hiperfifo: updated to use current libevent API
    getinmemory.c: abort the transfer nicely if not enough memory
    improved win32 memorytracking
    corrected proxy header response headers count
    FTP quote operations on re-used connection
    tcpkeepalive on win32
    tcpkeepalive on Mac OS X
    easy: acknowledge the CURLOPT_MAXCONNECTS option properly
    easy interface: restore default MAXCONNECTS to 5
    win32: don't set SO_SNDBUF for windows vista or later versions
    HTTP: made cookie sort function more deterministic
    winssl: Fixed memory leak if connection was not successful
    FTP: wait on both connections during active STOR state
    connect: treat a failed local bind of an interface as a non-fatal error
    darwinssl: disable insecure ciphers by default
    FTP: handle "rubbish" in front of directory name in 257 responses
    mk-ca-bundle: Fixed lost OpenSSL output with "-t"


(wiz)
diff -r1.126 -r1.127 pkgsrc/www/curl/Makefile
diff -r1.38 -r1.39 pkgsrc/www/curl/PLIST
diff -r1.84 -r1.85 pkgsrc/www/curl/distinfo
diff -r1.1 -r1.2 pkgsrc/www/curl/patches/patch-curl-config.in
diff -r1.1 -r0 pkgsrc/www/curl/patches/patch-lib_multi.c

cvs diff -r1.126 -r1.127 pkgsrc/www/curl/Makefile (expand / switch to unified diff)

--- pkgsrc/www/curl/Makefile 2013/03/17 21:33:33 1.126
+++ pkgsrc/www/curl/Makefile 2013/04/14 16:39:48 1.127
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.126 2013/03/17 21:33:33 tsutsui Exp $ 1# $NetBSD: Makefile,v 1.127 2013/04/14 16:39:48 wiz Exp $
2 2
3DISTNAME= curl-7.29.0 3DISTNAME= curl-7.30.0
4PKGREVISION= 2 
5CATEGORIES= www 4CATEGORIES= www
6MASTER_SITES= http://curl.haxx.se/download/ \ 5MASTER_SITES= http://curl.haxx.se/download/ \
7 ftp://ftp.sunet.se/pub/www/utilities/curl/ 6 ftp://ftp.sunet.se/pub/www/utilities/curl/
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://curl.haxx.se/ 10HOMEPAGE= http://curl.haxx.se/
12COMMENT= Client that groks URLs 11COMMENT= Client that groks URLs
13# not completely, but near enough 12# not completely, but near enough
14LICENSE= mit 13LICENSE= mit
15 14
16PKG_INSTALLATION_TYPES= overwrite pkgviews 15PKG_INSTALLATION_TYPES= overwrite pkgviews
17 16

cvs diff -r1.38 -r1.39 pkgsrc/www/curl/PLIST (expand / switch to unified diff)

--- pkgsrc/www/curl/PLIST 2012/12/06 16:24:29 1.38
+++ pkgsrc/www/curl/PLIST 2013/04/14 16:39:48 1.39
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.38 2012/12/06 16:24:29 adam Exp $ 1@comment $NetBSD: PLIST,v 1.39 2013/04/14 16:39:48 wiz Exp $
2bin/curl 2bin/curl
3bin/curl-config 3bin/curl-config
4include/curl/curl.h 4include/curl/curl.h
5include/curl/curlbuild.h 5include/curl/curlbuild.h
6include/curl/curlrules.h 6include/curl/curlrules.h
7include/curl/curlver.h 7include/curl/curlver.h
8include/curl/easy.h 8include/curl/easy.h
9include/curl/mprintf.h 9include/curl/mprintf.h
10include/curl/multi.h 10include/curl/multi.h
11include/curl/stdcheaders.h 11include/curl/stdcheaders.h
12include/curl/typecheck-gcc.h 12include/curl/typecheck-gcc.h
13lib/libcurl.la 13lib/libcurl.la
14lib/pkgconfig/libcurl.pc 14lib/pkgconfig/libcurl.pc
@@ -101,26 +101,27 @@ share/examples/curl/ghiper.c @@ -101,26 +101,27 @@ share/examples/curl/ghiper.c
101share/examples/curl/hiperfifo.c 101share/examples/curl/hiperfifo.c
102share/examples/curl/href_extractor.c 102share/examples/curl/href_extractor.c
103share/examples/curl/htmltidy.c 103share/examples/curl/htmltidy.c
104share/examples/curl/http-post.c 104share/examples/curl/http-post.c
105share/examples/curl/httpcustomheader.c 105share/examples/curl/httpcustomheader.c
106share/examples/curl/httpput.c 106share/examples/curl/httpput.c
107share/examples/curl/https.c 107share/examples/curl/https.c
108share/examples/curl/imap.c 108share/examples/curl/imap.c
109share/examples/curl/multi-app.c 109share/examples/curl/multi-app.c
110share/examples/curl/multi-debugcallback.c 110share/examples/curl/multi-debugcallback.c
111share/examples/curl/multi-double.c 111share/examples/curl/multi-double.c
112share/examples/curl/multi-post.c 112share/examples/curl/multi-post.c
113share/examples/curl/multi-single.c 113share/examples/curl/multi-single.c
 114share/examples/curl/multi-uv.c
114share/examples/curl/multithread.c 115share/examples/curl/multithread.c
115share/examples/curl/opensslthreadlock.c 116share/examples/curl/opensslthreadlock.c
116share/examples/curl/persistant.c 117share/examples/curl/persistant.c
117share/examples/curl/pop3s.c 118share/examples/curl/pop3s.c
118share/examples/curl/pop3slist.c 119share/examples/curl/pop3slist.c
119share/examples/curl/post-callback.c 120share/examples/curl/post-callback.c
120share/examples/curl/postit2.c 121share/examples/curl/postit2.c
121share/examples/curl/progressfunc.c 122share/examples/curl/progressfunc.c
122share/examples/curl/resolve.c 123share/examples/curl/resolve.c
123share/examples/curl/rtsp.c 124share/examples/curl/rtsp.c
124share/examples/curl/sampleconv.c 125share/examples/curl/sampleconv.c
125share/examples/curl/sendrecv.c 126share/examples/curl/sendrecv.c
126share/examples/curl/sepheaders.c 127share/examples/curl/sepheaders.c

cvs diff -r1.84 -r1.85 pkgsrc/www/curl/distinfo (expand / switch to unified diff)

--- pkgsrc/www/curl/distinfo 2013/03/17 21:33:33 1.84
+++ pkgsrc/www/curl/distinfo 2013/04/14 16:39:48 1.85
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1$NetBSD: distinfo,v 1.84 2013/03/17 21:33:33 tsutsui Exp $ 1$NetBSD: distinfo,v 1.85 2013/04/14 16:39:48 wiz Exp $
2 2
3SHA1 (curl-7.29.0.tar.bz2) = 03eddd295d3d50d60a9dd1c130c8e110ff1aa95a 3SHA1 (curl-7.30.0.tar.bz2) = 23fdc215558023b943cea9dfab04b86020037b0d
4RMD160 (curl-7.29.0.tar.bz2) = 50c2ee716736dc0f1de26e032f525e7511912b95 4RMD160 (curl-7.30.0.tar.bz2) = 858e772c17fc05d7114856f09fc34e696f1ef595
5Size (curl-7.29.0.tar.bz2) = 2556495 bytes 5Size (curl-7.30.0.tar.bz2) = 2625976 bytes
6SHA1 (patch-aa) = 07e12cd0576b87cfed74a6a2bf8dd42cb2f5a570 6SHA1 (patch-aa) = 07e12cd0576b87cfed74a6a2bf8dd42cb2f5a570
7SHA1 (patch-curl-config.in) = 406fdc1ea210e81a674b7edae9842ec9083bf45e 7SHA1 (patch-curl-config.in) = c685dd4fd85fc9d97c6e6ff8dbf871c35dd57046
8SHA1 (patch-lib_multi.c) = ead077ecdb819081e7a271feb6e249a20e025f75 

cvs diff -r1.1 -r1.2 pkgsrc/www/curl/patches/patch-curl-config.in (expand / switch to unified diff)

--- pkgsrc/www/curl/patches/patch-curl-config.in 2013/03/17 21:33:34 1.1
+++ pkgsrc/www/curl/patches/patch-curl-config.in 2013/04/14 16:39:49 1.2
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: patch-curl-config.in,v 1.1 2013/03/17 21:33:34 tsutsui Exp $ 1$NetBSD: patch-curl-config.in,v 1.2 2013/04/14 16:39:49 wiz Exp $
2 2
3- make "curl-config --libs" return proper ldflags for shared libraries 3- make "curl-config --libs" return proper ldflags for shared libraries
4 4
5--- curl-config.in.orig 2012-08-08 21:38:25.000000000 +0000 5--- curl-config.in.orig 2013-02-06 14:44:37.000000000 +0000
6+++ curl-config.in 6+++ curl-config.in
7@@ -148,9 +148,9 @@ 7@@ -148,9 +148,9 @@ while test $# -gt 0; do
8 CURLLIBDIR="" 8 CURLLIBDIR=""
9 fi 9 fi
10 if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then 10 if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
11- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ 11- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
12+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ 12+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
13 else 13 else
14- echo ${CURLLIBDIR}-lcurl 14- echo ${CURLLIBDIR}-lcurl
15+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl 15+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl
16 fi 16 fi
17 ;; 17 ;;
18  18

File Deleted: pkgsrc/www/curl/patches/Attic/patch-lib_multi.c