pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/curl



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Jul 21 09:32:04 UTC 2021

Modified Files:
        pkgsrc/www/curl: Makefile distinfo
        pkgsrc/www/curl/patches: patch-configure

Log Message:
curl: Update to 7.78.0

Changes:
7.78.0
------
This release includes the following changes:

 o curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE
 o CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax
 o hostip: make 'localhost' return fixed values
 o mbedtls: add support for cert and key blob options
 o metalink: remove all support for it
 o mqtt: add support for username and password

This release includes the following bugfixes:

 o --socks4[a]: clarify where the host name is resolved
 o ares: always store IPv6 addresses first
 o asyn-ares: remove check for 'data' in Curl_resolver_cancel
 o bearssl: explicitly initialize all fields of Curl_ssl
 o bearssl: remove incorrect const on variable that is modified
 o build: fix compiler warnings when CURL_DISABLE_VERBOSE_STRINGS
 o c-hyper: abort CONNECT response reading early on non 2xx responses
 o c-hyper: add support for transfer-encoding in the request
 o c-hyper: bail on too long response headers
 o c-hyper: clear NTLM auth buffer when request is issued
 o c-hyper: convert HYPERE_INVALID_PEER_MESSAGE to CURLE_UNSUPPORTED_PROTOCOL
 o c-hyper: fix NTLM on closed connection tested with test159
 o c-hyper: fix the uploaded field in progress callbacks
 o c-hyper: handle NULL from hyper_buf_copy()
 o c-hyper: support CURLINFO_STARTTRANSFER_TIME
 o c-hyper: support CURLOPT_HEADER
 o ccsidcurl: fix the compile errors
 o CI/cirrus: install impacket from PyPI instead of FreeBSD packages
 o CI: add bearssl build
 o CI: add Circle CI
 o CI: add jobs using Zuul
 o CI: delete --enable-hsts option (it is the default now)
 o CI: remove travis details
 o cleanup: spell DoH with a lowercase o
 o cmake: add CURL_DISABLE_NTLM option
 o cmake: avoid leaking absolute paths into exported config
 o cmake: fix IoctlSocket FIONBIO check
 o cmake: fix support for UnixSockets feature on Win32
 o cmake: remove libssh2 feature checks
 o cmake: try well-known send/recv signature for Apple
 o configure.ac: make non-executable
 o configure/cmake: remove checks for many unused functions
 o configure: add --disable-ntlm option
 o configure: disable RTSP when hyper is selected
 o configure: do not strip out debug flags
 o configure: fix nghttp2 library name for static builds
 o configure: inhibit the implicit-fallthrough warning on gcc-12
 o configure: rename get-easy-option configure option to get-easy-options
 o conn_shutdown: if closed during CONNECT cleanup properly
 o conncache: lowercase the hash key for better match
 o cookies: track expiration in jar to optimize removals
 o copyright: add boiler-plate headers to CI config files
 o crustls: bump crustls version and use new URL
 o curl.h: <sys/select.h> is supported by VxWorks7
 o curl.h: include sys/select.h for NuttX RTOS
 o curl: ignore blank --output-dir
 o curl_endian: remove the unused Curl_write64_le function
 o curl_multibyte: Remove local encoding fallbacks
 o Curl_ntlm_core_mk_nt_hash: fix OOM in error path
 o Curl_ssl_getsessionid: fail if no session cache exists
 o CURLOPT_WRITEFUNCTION.3: minor update of the example
 o docs/BINDINGS: fix outdated links
 o docs/examples: use curl_multi_poll() in multi examples
 o docs/INSTALL: remove mentions of configure --with-darwin-ssl
 o docs: document missing arguments to commands
 o docs: fix inconsistencies in EGDSOCKET documentation
 o docs: fix incorrect argument name reference
 o docs: Fix typos
 o docs: make docs for --etag-save match the program behaviour
 o docs: use --max-redirs instead of --max-redir
 o doh: (void)-prefix call to curl_easy_setopt
 o doh: fix wrong DEBUGASSERT for doh private_data
 o easy: during upkeep, attach Curl_easy to connections in the cache
 o examples/multi-single: fix scan-build warning
 o examples: length-limit two sscanf() uses of %s
 o examples: safer and more proper read callback logic
 o filecheck: quietly remove test-place/*~
 o formdata: avoid "Argument cannot be negative" warning
 o formdata: correct typecast in curl_mime_data call
 o GHA: add a linux-hyper job
 o GHA: add several libcurl tests to the hyper job
 o GHA: run the newly fixed tests with hyper
 o github: timeout jobs on macOS after 90 minutes
 o glob: pass an 'int' as len when using printf's %*s
 o gnutls: set the preferred TLS versions in correct order
 o GOVERNANCE: add 'user', 'committer' and 'contributor'
 o hostip: (macOS) free returned memory of SCDynamicStoreCopyProxies
 o hostip: bad CURLOPT_RESOLVE syntax now returns error
 o hsts: ignore numberical IP address hosts
 o HSTS: not experimental anymore
 o http2: clarify 'Using HTTP2' verbose message
 o http2: init recvbuf struct for pushed streams
 o http2_connisdead: handle trailing GOAWAY better
 o http: fix crash in rate-limited upload
 o http: make the haproxy support work with unix domain sockets
 o http_proxy: deal with non-200 CONNECT response with Hyper
 o hyper: propagate errors back up from read callbacks
 o HYPER: remove mentions of deprecated development branch
 o idn: fix libidn2 with windows unicode builds
 o infof: remove newline from format strings, always append it
 o lib: don't compare fd to FD_SETSIZE when using poll
 o lib: fix compiler warnings with CURL_DISABLE_NETRC
 o lib: fix type of len passed to *printf's %*s
 o lib: more %u for port and int for %*s fixes
 o lib: use %u instead of %ld for port number printf
 o libcurl-security.3: mention file descriptors and forks
 o libssh2: limit time a disconnect can take to 1 second
 o mbedtls: make mbedtls_strerror always work
 o mbedtls: Remove unnecessary include
 o mqtt: detect illegal and too large file size
 o mqtt: extend the error message for no topic
 o msnprintf: return number of printed characters excluding null byte
 o multi: add scan-build-6 work-around in curl_multi_fdset
 o multi: alter transfer timeout ordering
 o multi: do not switch off connect_only flag when closing
 o multi: fix crash in curl_multi_wait / curl_multi_poll
 o netrc: skip 'macdef' definitions
 o ngtcp2: disable TLSv1.3 compatible mode when using GnuTLS
 o openssl: avoid static variable for seed flag
 o openssl: don't remove session id entry in disassociate
 o pinnedpubkey.d: fix formatting for version support lists
 o proto.d: fix formatting for paragraphs after margin changes
 o quiche: use send() instead of sendto() to avoid macOS issue
 o Revert "c-hyper: handle body on HYPER_TASK_EMPTY"
 o Revert "ftp: Expression 'ftpc->wait_data_conn' is always false"
 o runtests: also find the last test in Makefile.inc
 o runtests: enable 'hyper mode' only for HTTP tests
 o runtests: init $VERSION to avoid warnings when using -l
 o runtests: parse data/Makefile.inc instead of using make
 o runtests: skip disabled tests unless -f is used
 o rustls: remove native_roots fallback
 o schannel: set ALPN length correctly for HTTP/2
 o SChannel: Use '_tcsncmp()' instead
 o sectransp: check for client certs by name first, then file
 o setopt: fix incorrect comments
 o socketpair: fix potential hangs
 o socks4: scan for the IPv4 address in resolve results
 o ssl: read pending close notify alert before closing the connection
 o sws: malloc request struct instead of using stack
 o telnet: fix option parser to not send uninitialized contents
 o test1116: hyper doesn't pass through "surprise-trailers"
 o test1147: hyper doesn't allow "crazy" request headers like built-in
 o test1151: added missing CRLF to work with hyper
 o test1216: adjusted for hyper mode
 o test1218: adjusted for hyper mode
 o test1230: adjust to work in hyper mode
 o test1340/1341: adjusted for hyper mode
 o test1438/1457: add HTTP keyword to make hyper mode work
 o test1514: add a CRLF to the response to make it correct
 o test1518: adjusted to work with hyper
 o test1519: adjusted to work with hyper
 o test1594/1595/1596: fix to work in hyper mode
 o test269: disable for hyper
 o test3010: work with hyper mode
 o test328: avoid a header-looking body to make hyper mode work
 o test339: CRLFify better to work in hyper mode
 o test347: CRLFify to work in hyper mode
 o test393: make Content-Length fit within 64 bit for hyper
 o test394: hyper returns a different error
 o test395: hyper cannot work around > 64 bit content-lengths like built-in
 o test433: adjust for hyper mode
 o test434: add HTTP keyword
 o test500: adjust to work with hyper mode
 o test566: adjust to work with hyper mode
 o test599: adjusted to work in hyper mode
 o test644: remove as duplicate of test 587
 o tests: fix Accept-Encoding strips to work with Hyper builds
 o TLS: prevent shutdown loops to get stuck
 o tool: make _lseeki64() macro work with the PellesC compiler
 o tool_help: document that --tlspassword takes a password
 o tool_help: remove unused define
 o url.c: remove two variable assigns that are never read
 o url: (void)-prefix a curl_url_get() call
 o url: bad CURLOPT_CONNECT_TO syntax now returns error
 o version: turn version number functions into returning void
 o vtls: exit addsessionid if no cache is inited
 o vtls: fix connection reuse checks for issuer cert and case sensitivity
 o vtls: only store TIMER_APPCONNECT for non-proxy connect
 o vtls: use free() not curl_free()
 o warnless: simplify type size handling
 o Win32: fix build with Watt-32
 o winbuild/README: VC should be set to 6 'or larger'
 o winbuild: support alternate nghttp2 static lib name
 o wolfssl: failing to set a session id is not reason to error out
 o write-out.d: clarify urlnum is not unique for de-globbed URLs
 o zuul: use the new rustls directory name


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 pkgsrc/www/curl/Makefile
cvs rdiff -u -r1.171 -r1.172 pkgsrc/www/curl/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/curl/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/curl/Makefile
diff -u pkgsrc/www/curl/Makefile:1.244 pkgsrc/www/curl/Makefile:1.245
--- pkgsrc/www/curl/Makefile:1.244      Wed May 26 07:54:16 2021
+++ pkgsrc/www/curl/Makefile    Wed Jul 21 09:32:04 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.244 2021/05/26 07:54:16 wiz Exp $
+# $NetBSD: Makefile,v 1.245 2021/07/21 09:32:04 leot Exp $
 
-DISTNAME=      curl-7.77.0
+DISTNAME=      curl-7.78.0
 CATEGORIES=    www
 MASTER_SITES=  https://curl.haxx.se/download/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/www/curl/distinfo
diff -u pkgsrc/www/curl/distinfo:1.171 pkgsrc/www/curl/distinfo:1.172
--- pkgsrc/www/curl/distinfo:1.171      Wed May 26 07:54:16 2021
+++ pkgsrc/www/curl/distinfo    Wed Jul 21 09:32:04 2021
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.171 2021/05/26 07:54:16 wiz Exp $
+$NetBSD: distinfo,v 1.172 2021/07/21 09:32:04 leot Exp $
 
-SHA1 (curl-7.77.0.tar.xz) = 0fc212cfe9544866f98571898ceb6d70b91ed9f0
-RMD160 (curl-7.77.0.tar.xz) = 8a122b2decf610fb2b3a9262039610246dd9b0b4
-SHA512 (curl-7.77.0.tar.xz) = aef92a0e3f8ce8491b258a9a1c4dcea3c07c29b139a1f68f08619caa0295cfde76335d2dfb9cdf434525daea7dd05d8acd22f203f5ccc7735bd317964ec1da76
-Size (curl-7.77.0.tar.xz) = 2439336 bytes
-SHA1 (patch-configure) = 8dcc112bd2950e146a77bed7638e490e24a5aa71
+SHA1 (curl-7.78.0.tar.xz) = 52600f84018002cf9d0f58d65b65573ca08e1308
+RMD160 (curl-7.78.0.tar.xz) = a3c6639da7482c5ed9aac36a16d1daa253e4a9d1
+SHA512 (curl-7.78.0.tar.xz) = f72e822a0b5e28320ef547c7a441c07f3b4870579a70ab4c428751baba435a1385cb89a22b9ed4b84a7fafecf620f155911e4131e3463ec1bdad80ecde47bb7a
+Size (curl-7.78.0.tar.xz) = 2440640 bytes
+SHA1 (patch-configure) = ffea96ece54567c9339753628bfae9c7a60bce61
 SHA1 (patch-curl-config.in) = a58c777fc1a0a087776e62ed2e2a1e0a339716df

Index: pkgsrc/www/curl/patches/patch-configure
diff -u pkgsrc/www/curl/patches/patch-configure:1.10 pkgsrc/www/curl/patches/patch-configure:1.11
--- pkgsrc/www/curl/patches/patch-configure:1.10        Wed Apr 29 11:24:19 2020
+++ pkgsrc/www/curl/patches/patch-configure     Wed Jul 21 09:32:04 2021
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.10 2020/04/29 11:24:19 leot Exp $
+$NetBSD: patch-configure,v 1.11 2021/07/21 09:32:04 leot Exp $
 
 - Builtin krb5-config in platforms such as solaris do not support
   the gssapi option, and need an explicit -lgss
@@ -6,9 +6,9 @@ $NetBSD: patch-configure,v 1.10 2020/04/
 - Do not strip debug flags.
 - Support Minix.
 
---- configure.orig     2020-04-27 16:15:09.000000000 +0000
+--- configure.orig     2021-07-19 12:47:17.000000000 +0000
 +++ configure
-@@ -3812,6 +3812,7 @@ $as_echo "$as_me: $xc_bad_var_msg librar
+@@ -3830,6 +3830,7 @@ $as_echo "$as_me: $xc_bad_var_msg librar
          ;;
      esac
    done
@@ -16,7 +16,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
    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;}
-@@ -7945,7 +7946,7 @@ else
+@@ -7885,7 +7886,7 @@ else
      lt_cv_sys_max_cmd_len=8192;
      ;;
  
@@ -25,7 +25,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
      # This has been around since 386BSD, at least.  Likely further.
      if test -x /sbin/sysctl; then
        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-@@ -8411,12 +8412,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
+@@ -8351,12 +8352,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
    lt_cv_deplibs_check_method=pass_all
    ;;
  
@@ -40,7 +40,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
    ;;
  
  newos6*)
-@@ -12623,14 +12620,13 @@ _LT_EOF
+@@ -12563,14 +12560,13 @@ _LT_EOF
        fi
        ;;
  
@@ -62,7 +62,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
        ;;
  
      solaris*)
-@@ -13313,15 +13309,13 @@ $as_echo "$lt_cv_irix_exported_symbol" >
+@@ -13253,15 +13249,13 @@ $as_echo "$lt_cv_irix_exported_symbol" >
        esac
        ;;
  
@@ -83,7 +83,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
        ;;
  
      newsos6)
-@@ -14427,6 +14421,18 @@ fi
+@@ -14367,6 +14361,18 @@ fi
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
@@ -102,7 +102,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
  netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
-@@ -16995,7 +17001,7 @@ squeeze() {
+@@ -16884,7 +16890,7 @@ squeeze() {
  
  
        #
@@ -111,8 +111,8 @@ $NetBSD: patch-configure,v 1.10 2020/04/
      #
      tmp_save_CPPFLAGS="$CPPFLAGS"
      tmp_save_CFLAGS="$CFLAGS"
-@@ -17283,13 +17289,6 @@ $as_echo_n "checking if compiler accepts
-       tmp_options="$flags_dbg_off"
+@@ -17135,13 +17141,6 @@ $as_echo_n "checking if compiler accepts
+       tmp_options="$flags_dbg_yes"
      fi
      #
 -    if test "$flags_prefer_cppflags" = "yes"; then
@@ -124,8 +124,8 @@ $NetBSD: patch-configure,v 1.10 2020/04/
 -    fi
      squeeze CPPFLAGS
      squeeze CFLAGS
- 
-@@ -18962,7 +18961,7 @@ $as_echo "no" >&6; }
+   fi
+@@ -19798,7 +19797,7 @@ $as_echo "no" >&6; }
    tst_cflags="no"
    case $host_os in
      darwin*)
@@ -134,7 +134,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
        ;;
    esac
  
-@@ -21995,7 +21994,11 @@ $as_echo "yes" >&6; }
+@@ -23385,7 +23384,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 "$KRB5CONFIG"; then
@@ -147,7 +147,7 @@ $NetBSD: patch-configure,v 1.10 2020/04/
       elif test "$GSSAPI_ROOT" != "yes"; then
          GSSAPI_INCS="-I$GSSAPI_ROOT/include"
       fi
-@@ -22168,7 +22171,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
+@@ -23558,7 +23561,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
          LIBS="-lgss $LIBS"
          ;;
       *)



Home | Main Index | Thread Index | Old Index