summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2015-06-30 05:46:56 +0000
committerspz <spz@pkgsrc.org>2015-06-30 05:46:56 +0000
commite74496c18262616401b59b734b7a7b7aebd28479 (patch)
tree8a1ef8484f185e97cb41a9e373a79dd9b2bd4750 /www/curl
parent08de5d2891ca0f5b007f35ab1785fa4b81a42d92 (diff)
downloadpkgsrc-e74496c18262616401b59b734b7a7b7aebd28479.tar.gz
update of curl to version 7.43.0. Upstream RELEASE_NOTES:
Curl and libcurl 7.43.0 Public curl releases: 147 Command line options: 176 curl_easy_setopt() options: 219 Public functions in libcurl: 58 Contributors: 1291 This release includes the following changes: o Added CURLOPT_PROXY_SERVICE_NAME[11] o Added CURLOPT_SERVICE_NAME[12] o New curl option: --proxy-service-name[13] o Mew curl option: --service-name [14] o New curl option: --data-raw [5] o Added CURLOPT_PIPEWAIT [15] o Added support for multiplexing transfers using HTTP/2, enable this with the new CURLPIPE_MULTIPLEX bit for CURLMOPT_PIPELINING [16] o HTTP/2: requires nghttp2 1.0.0 or later o scripts: add zsh.pl for generating zsh completion o curl.h: add CURL_HTTP_VERSION_2 This release includes the following bugfixes: o CVE-2015-3236: lingering HTTP credentials in connection re-use [30] o CVE-2015-3237: SMB send off unrelated memory contents [31] o nss: fix compilation failure with old versions of NSS [1] o curl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION o schannel.c: Fix possible SEC_E_BUFFER_TOO_SMALL error o Curl_ossl_init: load builtin modules [2] o configure: follow-up fix for krb5-config [3] o sasl_sspi: Populate domain from the realm in the challenge [4] o netrc: support 'default' token o README: convert to UTF-8 o cyassl: Implement public key pinning o nss: implement public key pinning for NSS backend o mingw build: add arch -m32/-m64 to LDFLAGS o schannel: Fix out of bounds array [6] o configure: remove autogenerated files by autoconf o configure: remove --automake from libtoolize call o acinclude.m4: fix shell test for default CA cert bundle/path o schannel: fix regression in schannel_recv [7] o openssl: skip trace outputs for ssl_ver == 0 [8] o gnutls: properly retrieve certificate status o netrc: Read in text mode when cygwin [9] o winbuild: Document the option used to statically link the CRT [10] o FTP: Make EPSV use the control IP address rather than the original host o FTP: fix dangling conn->ip_addr dereference on verbose EPSV o conncache: keep bundles on host+port bases, not only host names o runtests.pl: use 'h2c' now, no -14 anymore o curlver: introducing new version number (checking) macros o openssl: boringssl build brekage, use SSL_CTX_set_msg_callback [17] o CURLOPT_POSTFIELDS.3: correct variable names [18] o curl_easy_unescape.3: update RFC reference [19] o gnutls: don't fail on non-fatal alerts during handshake o testcurl.pl: allow source to be in an arbitrary directory o CURLOPT_HTTPPROXYTUNNEL.3: only works with a HTTP proxy o SSPI-error: Change SEC_E_ILLEGAL_MESSAGE description [20] o parse_proxy: switch off tunneling if non-HTTP proxy [21] o share_init: fix OOM crash o perl: remove subdir, not touched in 9 years o CURLOPT_COOKIELIST.3: Add example o CURLOPT_COOKIE.3: Explain that the cookies won't be modified [22] o CURLOPT_COOKIELIST.3: Explain Set-Cookie without a domain [23] o FAQ: How do I port libcurl to my OS? o openssl: Use TLS_client_method for OpenSSL 1.1.0+ o HTTP-NTLM: fail auth on connection close instead of looping [24] o curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT [25] o curl_getdate.3: update RFC reference o curl_multi_info_read.3: added example o curl_multi_perform.3: added example o curl_multi_timeout.3: added example o cookie: Stop exporting any-domain cookies [26] o openssl: remove dummy callback use from SSL_CTX_set_verify() o openssl: remove SSL_get_session()-using code o openssl: removed USERDATA_IN_PWD_CALLBACK kludge o openssl: removed error string #ifdef o openssl: Fix verification of server-sent legacy intermediates [27] o docs: man page indentation and syntax fixes o docs: Spelling fixes o fopen.c: fix a few compiler warnings o CURLOPT_OPENSOCKETFUNCTION: return error at once [28] o schannel: Add support for optional client certificates o build: Properly detect OpenSSL 1.0.2 when using configure o urldata: store POST size in state.infilesize too [29] o security:choose_mech remove dead code o rtsp_do: remove dead code o docs: many HTTP URIs changed to HTTPS o schannel: schannel_recv overhaul [32] This release includes the following known bugs: o see docs/KNOWN_BUGS (http://curl.haxx.se/docs/knownbugs.html) This release would not have looked like this without help, code, reports and advice from friends like these: Alessandro Ghedini, Alexander Dyagilev, Anders Bakken, Anthony Avina, Ashish Shukla, Bert Huijben, Brian Chrisman, Brian Prodoehl, Chris Araman, Dagobert Michelsen, Dan Fandrich, Daniel Melani, Daniel Stenberg, Dmitry Eremin-Solenikov, Drake Arconis, Egon Eckert, Frank Meier, Fred Stluka, Gisle Vanem, Grant Pannell, Isaac Boukris, Jens Rantil, Joel Depooter, Kamil Dudka, Linus Nielsen Feltzing, Linus Nielsen Feltzing Feltzing, Liviu Chircu, Marc Hoersken, Michael Osipov, Oren Souroujon, Orgad Shaneh, Patrick Monnerat, Patrick Rapin, Paul Howarth, Paul Oliver, Rafayel Mkrtchyan, Ray Satiro, Sean Boudreau, Tatsuhiro Tsujikawa, Tomas Tomecek, Viktor Szakáts, Ville Skyttä, Yehezkel Horowitz, (43 contributors) Thanks! (and sorry if I forgot to mention someone) References to bug reports and discussions on issues: [1] = http://curl.haxx.se/mail/lib-2015-04/0095.html [2] = https://github.com/bagder/curl/pull/206 [3] = https://github.com/bagder/curl/commit/5b668606527613179d0349f21b4ab0df2971e3d2#commitcomment-10473445 [4] = https://github.com/bagder/curl/pull/141 [5] = https://github.com/bagder/curl/issues/198 [6] = http://curl.haxx.se/mail/lib-2015-04/0199.html [7] = https://github.com/bagder/curl/issues/244 [8] = https://github.com/bagder/curl/issues/219 [9] = https://github.com/bagder/curl/pull/258 [10] = https://github.com/bagder/curl/issues/254 [11] = http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html [12] = http://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html [13] = http://curl.haxx.se/docs/manpage.html#--proxy-service-name [14] = http://curl.haxx.se/docs/manpage.html#--service-name [15] = http://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html [16] = http://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html [17] = https://github.com/bagder/curl/issues/275 [18] = https://github.com/bagder/curl/issues/281 [19] = https://github.com/bagder/curl/issues/282 [20] = https://github.com/bagder/curl/issues/267 [21] = http://curl.haxx.se/mail/lib-2015-05/0056.html [22] = http://curl.haxx.se/mail/lib-2015-05/0115.html [23] = http://curl.haxx.se/mail/lib-2015-05/0137.html [24] = https://github.com/bagder/curl/issues/256 [25] = https://github.com/bagder/curl/pull/258#issuecomment-107093055 [26] = https://github.com/bagder/curl/issues/292 [27] = https://rt.openssl.org/Ticket/Display.html?id=3621&user=guest&pass=guest [28] = http://curl.haxx.se/mail/lib-2015-06/0047.html [29] = http://curl.haxx.se/mail/lib-2015-06/0019.html [30] = http://curl.haxx.se/docs/adv_20150617A.html [31] = http://curl.haxx.se/docs/adv_20150617B.html [32] = https://github.com/bagder/curl/issues/244
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile6
-rw-r--r--www/curl/PLIST5
-rw-r--r--www/curl/distinfo15
-rw-r--r--www/curl/patches/patch-aa34
-rw-r--r--www/curl/patches/patch-curl-config.in4
-rw-r--r--www/curl/patches/patch-lib_hostcheck.c6
-rw-r--r--www/curl/patches/patch-lib_http2.c18
7 files changed, 32 insertions, 56 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index 08c2dd1567e..bf558c42d8f 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.150 2015/06/12 10:51:49 wiz Exp $
+# $NetBSD: Makefile,v 1.151 2015/06/30 05:46:56 spz Exp $
-DISTNAME= curl-7.42.1
-PKGREVISION= 2
+DISTNAME= curl-7.43.0
+#PKGREVISION= 0
CATEGORIES= www
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/
diff --git a/www/curl/PLIST b/www/curl/PLIST
index f4b389604b1..54c2fd94ee7 100644
--- a/www/curl/PLIST
+++ b/www/curl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2015/05/03 10:11:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.50 2015/06/30 05:46:56 spz Exp $
bin/curl
bin/curl-config
include/curl/curl.h
@@ -140,6 +140,7 @@ man/man3/CURLOPT_OPENSOCKETFUNCTION.3
man/man3/CURLOPT_PASSWORD.3
man/man3/CURLOPT_PATH_AS_IS.3
man/man3/CURLOPT_PINNEDPUBLICKEY.3
+man/man3/CURLOPT_PIPEWAIT.3
man/man3/CURLOPT_PORT.3
man/man3/CURLOPT_POST.3
man/man3/CURLOPT_POSTFIELDS.3
@@ -160,6 +161,7 @@ man/man3/CURLOPT_PROXYPORT.3
man/man3/CURLOPT_PROXYTYPE.3
man/man3/CURLOPT_PROXYUSERNAME.3
man/man3/CURLOPT_PROXYUSERPWD.3
+man/man3/CURLOPT_PROXY_SERVICE_NAME.3
man/man3/CURLOPT_PROXY_TRANSFER_MODE.3
man/man3/CURLOPT_PUT.3
man/man3/CURLOPT_QUOTE.3
@@ -181,6 +183,7 @@ man/man3/CURLOPT_RTSP_TRANSPORT.3
man/man3/CURLOPT_SASL_IR.3
man/man3/CURLOPT_SEEKDATA.3
man/man3/CURLOPT_SEEKFUNCTION.3
+man/man3/CURLOPT_SERVICE_NAME.3
man/man3/CURLOPT_SHARE.3
man/man3/CURLOPT_SOCKOPTDATA.3
man/man3/CURLOPT_SOCKOPTFUNCTION.3
diff --git a/www/curl/distinfo b/www/curl/distinfo
index acfb500f51e..04b8ffbf92f 100644
--- a/www/curl/distinfo
+++ b/www/curl/distinfo
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.105 2015/06/03 12:00:06 fhajny Exp $
+$NetBSD: distinfo,v 1.106 2015/06/30 05:46:56 spz Exp $
-SHA1 (curl-7.42.1.tar.bz2) = f65708915875b8cb35edb51d8dd31440dc02fbd3
-RMD160 (curl-7.42.1.tar.bz2) = 76d5b23fae60356342e2bac2e4c706ed544d4adf
-Size (curl-7.42.1.tar.bz2) = 3327304 bytes
-SHA1 (patch-aa) = 59ec0be3ac90470fdc5935881da6a14dbab9d378
-SHA1 (patch-curl-config.in) = fd87c97b601a6b9269f67fbc066604ee7e22570e
-SHA1 (patch-lib_hostcheck.c) = 9faf94f44703c7d37377fd3af319ca5c27df34c2
-SHA1 (patch-lib_http2.c) = 4ba0164ffdba714c620daccbf80eedd51562acf4
+SHA1 (curl-7.43.0.tar.bz2) = d821ea39610b7f1122f1f574a4d8e20e81b3c561
+RMD160 (curl-7.43.0.tar.bz2) = 404481695a8f79cbf9a245bfa9c06140d1cdbf11
+Size (curl-7.43.0.tar.bz2) = 3363770 bytes
+SHA1 (patch-aa) = 89e33ed9492522af7bee22cdfaf6c4b0731f1510
+SHA1 (patch-curl-config.in) = d0cc7bb6a5bf0b9257f40dcffce7093cc0098eb7
+SHA1 (patch-lib_hostcheck.c) = 8e772d3f91cdafae17281cc19004269ece0cf308
diff --git a/www/curl/patches/patch-aa b/www/curl/patches/patch-aa
index 01621daa59b..e6058f71cbc 100644
--- a/www/curl/patches/patch-aa
+++ b/www/curl/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.30 2015/04/22 14:35:21 jperkin Exp $
+$NetBSD: patch-aa,v 1.31 2015/06/30 05:46:56 spz Exp $
builtin krb5-config in platforms such as solaris do not support
the gssapi option, and need an explicit -lgss
---- configure.orig 2015-04-21 07:21:35.000000000 +0000
+--- configure.orig 2015-06-15 21:31:47.000000000 +0000
+++ configure
@@ -3703,6 +3703,7 @@ $as_echo "$as_me: $xc_bad_var_msg librar
;;
@@ -13,7 +13,7 @@ the gssapi option, and need an explicit -lgss
if test $xc_bad_var_cflags = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
$as_echo "$as_me: using CFLAGS: $CFLAGS" >&6;}
-@@ -16682,7 +16683,7 @@ squeeze() {
+@@ -16689,7 +16690,7 @@ squeeze() {
#
@@ -22,19 +22,20 @@ the gssapi option, and need an explicit -lgss
#
if test "$compiler_id" = "GNU_C" ||
test "$compiler_id" = "CLANG"; then
-@@ -21131,6 +21132,11 @@ $as_echo "yes" >&6; }
+@@ -21137,7 +21138,11 @@ $as_echo "yes" >&6; }
+ if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
- elif test -f "$GSSAPI_ROOT/bin/krb5-config"; then
- GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
-+ if $GSSAPI_ROOT/bin/krb5-config --cflags gssapi 2>&1 | grep "Unknown option" >/dev/null; then
-+ GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags`
+ elif test -f "$KRB5CONFIG"; then
+- GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
++ if `$KRB5CONFIG --cflags gssapi` 2>&1 | grep "Unknown option" >/dev/null; then
++ GSSAPI_INCS=`$KRB5CONFIG --cflags`
+ else
-+ GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
++ GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
+ fi
- elif test -f "$KRB5CONFIG"; then
- GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
elif test "$GSSAPI_ROOT" != "yes"; then
-@@ -21305,7 +21311,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
+ GSSAPI_INCS="-I$GSSAPI_ROOT/include"
+ fi
+@@ -21310,7 +21315,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
LIBS="-lgss $LIBS"
;;
*)
@@ -43,12 +44,3 @@ the gssapi option, and need an explicit -lgss
;;
esac
fi
-@@ -24264,7 +24270,7 @@ _ACEOF
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
- $as_echo "$capath (capath)" >&6; }
- fi
-- if test "x$ca" == "xno" && test "x$capath" == "xno"; then
-+ if test "x$ca" = "xno" && test "x$capath" = "xno"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- fi
diff --git a/www/curl/patches/patch-curl-config.in b/www/curl/patches/patch-curl-config.in
index ccf58619a08..b8f2b47c70e 100644
--- a/www/curl/patches/patch-curl-config.in
+++ b/www/curl/patches/patch-curl-config.in
@@ -1,8 +1,8 @@
-$NetBSD: patch-curl-config.in,v 1.4 2014/03/30 12:57:54 spz Exp $
+$NetBSD: patch-curl-config.in,v 1.5 2015/06/30 05:46:56 spz Exp $
- make "curl-config --libs" return proper ldflags for shared libraries
---- curl-config.in.orig 2014-01-05 22:07:54.000000000 +0000
+--- curl-config.in.orig 2015-06-03 07:38:20.000000000 +0000
+++ curl-config.in
@@ -148,9 +148,9 @@ while test $# -gt 0; do
CURLLIBDIR=""
diff --git a/www/curl/patches/patch-lib_hostcheck.c b/www/curl/patches/patch-lib_hostcheck.c
index 8a773dbd8ba..5b2f1fdf8d7 100644
--- a/www/curl/patches/patch-lib_hostcheck.c
+++ b/www/curl/patches/patch-lib_hostcheck.c
@@ -1,11 +1,11 @@
-$NetBSD: patch-lib_hostcheck.c,v 1.1 2014/03/31 08:45:21 wiz Exp $
+$NetBSD: patch-lib_hostcheck.c,v 1.2 2015/06/30 05:46:56 spz Exp $
Add missing header for DragonflyBSD.
PR 48691 by David Shao.
---- lib/hostcheck.c.orig 2014-03-25 22:01:37.000000000 +0000
+--- lib/hostcheck.c.orig 2015-06-03 07:38:20.000000000 +0000
+++ lib/hostcheck.c
-@@ -31,6 +31,13 @@
+@@ -34,6 +34,13 @@
#include "inet_pton.h"
#include "curl_memory.h"
diff --git a/www/curl/patches/patch-lib_http2.c b/www/curl/patches/patch-lib_http2.c
deleted file mode 100644
index 0f114326002..00000000000
--- a/www/curl/patches/patch-lib_http2.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-lib_http2.c,v 1.1 2015/06/03 12:00:06 fhajny Exp $
-
-Update compatibility for nghttp2 1.0. This patch should become obsolete
-with curl-7.43.
-
---- lib/http2.c.orig 2015-04-29 06:06:52.000000000 +0000
-+++ lib/http2.c
-@@ -1019,8 +1019,8 @@ CURLcode Curl_http2_switched(struct conn
-
- rv = (int) ((Curl_send*)httpc->send_underlying)
- (conn, FIRSTSOCKET,
-- NGHTTP2_CLIENT_CONNECTION_PREFACE,
-- NGHTTP2_CLIENT_CONNECTION_PREFACE_LEN,
-+ NGHTTP2_CLIENT_MAGIC,
-+ NGHTTP2_CLIENT_MAGIC_LEN,
- &result);
- if(result)
- /* TODO: This may get CURLE_AGAIN */