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:           Sun Mar 31 20:41:29 UTC 2019

Modified Files:
        pkgsrc/www/curl: Makefile PLIST distinfo
        pkgsrc/www/curl/patches: patch-configure
Removed Files:
        pkgsrc/www/curl/patches: patch-lib_hostcheck.c

Log Message:
curl: Update to 7.64.1

pkgsrc changes:
 - No longer install MANUAL, it is no longer available
 - Remove patch-lib_hostcheck.c, <netinet/in.h> is already included few
   lines before
 - Take MAINTAINERSHIP

Changes:
7.64.1
======
This release includes the following changes:

 o alt-svc: experiemental support added [74]
 o configure: add --with-amissl [84]

This release includes the following bugfixes:

 o AppVeyor: add MinGW-w64 and classic Mingw builds [55]
 o AppVeyor: switch VS 2015 builds to VS 2017 image [49]
 o CURLU: fix NULL dereference when used over proxy [73]
 o Curl_easy: remove req.maxfd - never used! [58]
 o Curl_now: figure out windows version in win32_init: [11]
 o Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning [20]
 o DoH: inherit some SSL options from user's easy handle [80]
 o Secure Transport: no more "darwinssl" [56]
 o Secure Transport: tvOS 11 is required for ALPN support [94]
 o cirrus: Added FreeBSD builds using Cirrus CI
 o cleanup: make local functions static [5]
 o cli tool: do not use mime.h private structures [27]
 o cmdline-opts/proxytunnel.d: the option tunnnels all protocols [83]
 o configure: add additional libraries to check for LDAP support [45]
 o configure: remove the unused fdopen macro [40]
 o configure: show features as well in the final summary [15]
 o conncache: use conn->data to know if a transfer owns it [95]
 o connection: never reuse CONNECT_ONLY connections [35]
 o connection_check: restore original conn->data after the check [14]
 o connection_check: set ->data to the transfer doing the check [3]
 o cookie: Add support for cookie prefixes [29]
 o cookies: dotless names can set cookies again [81]
 o cookies: fix NULL dereference if flushing cookies with no CookieInfo set [47]
 o curl.1: --user and --proxy-user are hidden from ps output [86]
 o curl.1: mark the argument to --cookie as <data|filename> [87]
 o curl.h: use __has_declspec_attribute for shared builds [52]
 o curl: display --version features sorted alphabetically [51]
 o curl: fix FreeBSD compiler warning in the --xattr code [2]
 o curl: remove MANUAL from -M output [38]
 o curl_easy_duphandle.3: clarify that a duped handle has no shares [64]
 o curl_multi_remove_handle.3: use at any time, just not from within callbacks
 o curl_url.3: this API is not experimental anymore
 o dns: release sharelock as soon as possible [1]
 o docs: update max-redirs.d phrasing [59]
 o easy: fix win32 init to work without CURL_GLOBAL_WIN32 [30]
 o examples/10-at-a-time.c: improve readability and simplify
 o examples/cacertinmem.c: use multiple certificates for loading CA-chain [54]
 o examples/crawler: Fix the Accept-Encoding setting
 o examples/ephiperfifo.c: various fixes [63]
 o examples/externalsocket: add missing close socket calls [78]
 o examples/http2-download: cleaned up
 o examples/http2-serverpush: add some sensible error checks [31]
 o examples/http2-upload: cleaned up
 o examples/httpcustomheader: Value stored to 'res' is never read
 o examples/postinmemory: Potential leak of memory pointed to by 'chunk.memory'
 o examples/sftpuploadresume: Value stored to 'result' is never read
 o examples: only include <curl/curl.h> [70]
 o examples: remove recursive calls to curl_multi_socket_action [42]
 o examples: remove superfluous null-pointer checks
 o file: fix "Checking if unsigned variable 'readcount' is less than zero." [90]
 o fnmatch: disable if FTP is disabled [25]
 o gnutls: remove call to deprecated gnutls_compression_get_name [66]
 o gopher: remove check for path == NULL [69]
 o gssapi: fix deprecated header warnings [16]
 o hostip: make create_hostcache_id avoid alloc + free [4]
 o http2: multi_connchanged() moved from multi.c, only used for h2 [21]
 o http2: verify :athority in push promise requests [37]
 o http: make adding a blank header thread-safe [33]
 o http: send payload when (proxy) authentication is done [89]
 o http: set state.infilesize when sending multipart formposts [57]
 o makefile: make checksrc and hugefile commands "silent" [85]
 o mbedtls: make it build even if MBEDTLS_VERSION_C isn't set [24]
 o mbedtls: release sessionid resources on error [28]
 o memdebug: log pointer before freeing its data [91]
 o memdebug: make debug-specific functions use curl_dbg_ prefix [82]
 o mime: put the boundary buffer into the curl_mime struct [18]
 o multi: call multi_done on connect timeouts, fixes CURLINFO_TOTAL_TIME [43]
 o multi: remove verbose "Expire in" ... messages [23]
 o multi: removed unused code for request retries [79]
 o multi: support verbose conncache closure handle [72]
 o negotiate: fix for HTTP POST with Negotiate [88]
 o openssl: add support for TLS ASYNC state [46]
 o openssl: if cert type is ENG and no key specified, key is ENG too [93]
 o pretransfer: don't strlen() POSTFIELDS set for GET requests [22]
 o rand: Fix a mismatch between comments in source and header [32]
 o runtests: detect "schannel" as an alias for "winssl" [50]
 o schannel: be quiet - remove verbose output [19]
 o schannel: close TLS before removing conn from cache [10]
 o schannel: support CALG_ECDH_EPHEM algorithm [44]
 o scripts/completion.pl: also generate fish completion file [67]
 o singlesocket: fix the 'sincebefore' placement [36]
 o source: fix two 'nread' may be used uninitialized warnings [68]
 o ssh: fix Condition '!status' is always true [60]
 o ssh: loop the state machine if not done and not blocking [71]
 o strerror: make the strerror function use local buffers [48]
 o system_win32: move win32_init here from easy.c [65]
 o test578: make it read data from the correct test
 o tests: Fixed XML validation errors in some test files
 o tests: add stderr comparison to the test suite [26]
 o tests: fix multiple may be used uninitialized warnings
 o threaded-resolver: shutdown the resolver thread without error message [61]
 o tool_cb_wrt: fix writing to Windows null device NUL [96]
 o tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr [84]
 o tool_operate: build on AmigaOS [84]
 o tool_operate: fix typecheck warning [9]
 o transfer.c: do not compute length of undefined hex buffer
 o travis: add build using gnutls [75]
 o travis: add scan-build [13]
 o travis: bump the used wolfSSL version to 4.0.0 [92]
 o travis: enable valgrind for the iconv tests [12]
 o travis: use updated compiler versions: clang 7 and gcc 8 [77]
 o unit1307: require FTP support [17]
 o unit1651: survive curl_easy_init() fails
 o url/idnconvert: remove scan for <= 32 ascii values [6]
 o url: change conn shutdown order to ensure SOCKETFUNCTION callbacks [39]
 o urlapi: reduce variable scope, remove unreachable 'break' [7]
 o urldata: convert bools to bitfields and move to end [53]
 o urldata: simplify bytecounters [62]
 o urlglob: Argument with 'nonnull' attribute passed null
 o version.c: silent scan-build even when librtmp is not enabled
 o vtls: rename some of the SSL functions [84]
 o wolfssl: stop custom-adding curves [41]
 o x509asn1: "Dereference of null pointer"
 o x509asn1: cleanup and unify code layout [34]
 o zsh.pl: escape ':' character [8]
 o zsh.pl: update regex to better match curl -h output [8]


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 pkgsrc/www/curl/Makefile
cvs rdiff -u -r1.73 -r1.74 pkgsrc/www/curl/PLIST
cvs rdiff -u -r1.150 -r1.151 pkgsrc/www/curl/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/curl/patches/patch-configure
cvs rdiff -u -r1.4 -r0 pkgsrc/www/curl/patches/patch-lib_hostcheck.c

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.207 pkgsrc/www/curl/Makefile:1.208
--- pkgsrc/www/curl/Makefile:1.207      Wed Feb  6 08:02:48 2019
+++ pkgsrc/www/curl/Makefile    Sun Mar 31 20:41:29 2019
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.207 2019/02/06 08:02:48 adam Exp $
+# $NetBSD: Makefile,v 1.208 2019/03/31 20:41:29 leot Exp $
 
-DISTNAME=      curl-7.64.0
+DISTNAME=      curl-7.64.1
 CATEGORIES=    www
 MASTER_SITES=  https://curl.haxx.se/download/
 EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    leot%NetBSD.org@localhost
 HOMEPAGE=      https://curl.haxx.se/
 COMMENT=       Client that groks URLs
 # not completely, but near enough
@@ -27,7 +27,7 @@ INSTALLATION_DIRS=    share/doc/curl
 .include "options.mk"
 
 post-install:
-.for f in MANUAL TheArtOfHttpScripting FAQ
+.for f in TheArtOfHttpScripting FAQ
        ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/curl/
 .endfor
 

Index: pkgsrc/www/curl/PLIST
diff -u pkgsrc/www/curl/PLIST:1.73 pkgsrc/www/curl/PLIST:1.74
--- pkgsrc/www/curl/PLIST:1.73  Wed Feb  6 08:02:48 2019
+++ pkgsrc/www/curl/PLIST       Sun Mar 31 20:41:29 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.73 2019/02/06 08:02:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.74 2019/03/31 20:41:29 leot Exp $
 bin/curl
 bin/curl-config
 include/curl/curl.h
@@ -96,6 +96,8 @@ man/man3/CURLOPT_ABSTRACT_UNIX_SOCKET.3
 man/man3/CURLOPT_ACCEPTTIMEOUT_MS.3
 man/man3/CURLOPT_ACCEPT_ENCODING.3
 man/man3/CURLOPT_ADDRESS_SCOPE.3
+man/man3/CURLOPT_ALTSVC.3
+man/man3/CURLOPT_ALTSVC_CTRL.3
 man/man3/CURLOPT_APPEND.3
 man/man3/CURLOPT_AUTOREFERER.3
 man/man3/CURLOPT_BUFFERSIZE.3
@@ -440,5 +442,4 @@ man/man3/libcurl-url.3
 man/man3/libcurl.3
 share/aclocal/libcurl.m4
 share/doc/curl/FAQ
-share/doc/curl/MANUAL
 share/doc/curl/TheArtOfHttpScripting

Index: pkgsrc/www/curl/distinfo
diff -u pkgsrc/www/curl/distinfo:1.150 pkgsrc/www/curl/distinfo:1.151
--- pkgsrc/www/curl/distinfo:1.150      Wed Feb  6 08:02:48 2019
+++ pkgsrc/www/curl/distinfo    Sun Mar 31 20:41:29 2019
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.150 2019/02/06 08:02:48 adam Exp $
+$NetBSD: distinfo,v 1.151 2019/03/31 20:41:29 leot Exp $
 
-SHA1 (curl-7.64.0.tar.xz) = 7539acc0742c2fb1472bc2904f0bd58eeebc011a
-RMD160 (curl-7.64.0.tar.xz) = 40806b3ea50ddab9d2f063dad37e81fdf6b04a17
-SHA512 (curl-7.64.0.tar.xz) = 953f1f5336ce5dfd1b9f933624432d401552d91ee02d39ecde6f023c956f99ec6aae8d7746d7c34b6eb2d6452f114e67da4e64d9c8dd90b7644b7844e7b9b423
-Size (curl-7.64.0.tar.xz) = 2398904 bytes
-SHA1 (patch-configure) = 9b65a0b9564b7226942d1d1efef576b381a9755e
+SHA1 (curl-7.64.1.tar.xz) = a7242098aebf31107bd4765f3d54456953dba141
+RMD160 (curl-7.64.1.tar.xz) = e53f8e3279d351de1fba7de1fea3126cdd59bf50
+SHA512 (curl-7.64.1.tar.xz) = 1629ba154691bf9d936e0bce69ec8fb54991a40d34bc16ffdfb117f91e3faa93164154fc9ae9043e963955862e69515018673b7239f2fd625684a59cdd1db81c
+Size (curl-7.64.1.tar.xz) = 2385360 bytes
+SHA1 (patch-configure) = a1674c54b3a8803f84c6b5a7ddd5e79df2b20896
 SHA1 (patch-curl-config.in) = 363359665985cc14f36ddf47fc3480f1200e3533
-SHA1 (patch-lib_hostcheck.c) = 8e772d3f91cdafae17281cc19004269ece0cf308

Index: pkgsrc/www/curl/patches/patch-configure
diff -u pkgsrc/www/curl/patches/patch-configure:1.4 pkgsrc/www/curl/patches/patch-configure:1.5
--- pkgsrc/www/curl/patches/patch-configure:1.4 Wed Nov 28 01:31:45 2018
+++ pkgsrc/www/curl/patches/patch-configure     Sun Mar 31 20:41:29 2019
@@ -1,17 +1,16 @@
-$NetBSD: patch-configure,v 1.4 2018/11/28 01:31:45 sevan Exp $
+$NetBSD: patch-configure,v 1.5 2019/03/31 20:41:29 leot Exp $
 
-builtin krb5-config in platforms such as solaris do not support
-the gssapi option, and need an explicit -lgss
+- Builtin krb5-config in platforms such as solaris do not support
+  the gssapi option, and need an explicit -lgss
+- On Darwin, do not append custom CFLAGS.
+- Do not strip debug flags.
+- Support Minix.
+- Avoid unportable `==' test(1) operator, applied upstream via:
+   <https://github.com/curl/curl/pull/3709>
 
-On Darwin, do not append custom CFLAGS.
-
-Do not strip debug flags.
-
-Support Minix.
-
---- configure.orig     Wed Nov 28 00:16:07 2018
+--- configure.orig     2019-03-25 21:03:50.000000000 +0000
 +++ configure
-@@ -3744,6 +3744,7 @@ $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS 
+@@ -3746,6 +3746,7 @@ $as_echo "$as_me: $xc_bad_var_msg librar
          ;;
      esac
    done
@@ -19,7 +18,7 @@ Support Minix.
    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;}
-@@ -8089,7 +8090,7 @@ else
+@@ -7881,7 +7882,7 @@ else
      lt_cv_sys_max_cmd_len=8192;
      ;;
  
@@ -28,7 +27,7 @@ Support Minix.
      # 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`
-@@ -8555,12 +8556,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+@@ -8347,12 +8348,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
    lt_cv_deplibs_check_method=pass_all
    ;;
  
@@ -43,7 +42,7 @@ Support Minix.
    ;;
  
  newos6*)
-@@ -12761,14 +12758,13 @@ _LT_EOF
+@@ -12559,14 +12556,13 @@ _LT_EOF
        fi
        ;;
  
@@ -65,7 +64,7 @@ Support Minix.
        ;;
  
      solaris*)
-@@ -13451,15 +13447,13 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
+@@ -13249,15 +13245,13 @@ $as_echo "$lt_cv_irix_exported_symbol" >
        esac
        ;;
  
@@ -86,7 +85,7 @@ Support Minix.
        ;;
  
      newsos6)
-@@ -14565,6 +14559,18 @@ fi
+@@ -14363,6 +14357,18 @@ fi
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
@@ -105,7 +104,7 @@ Support Minix.
  netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
-@@ -17079,7 +17085,7 @@ squeeze() {
+@@ -16931,7 +16937,7 @@ squeeze() {
  
  
        #
@@ -114,7 +113,7 @@ Support Minix.
      #
      if test "$compiler_id" = "GNU_C" ||
        test "$compiler_id" = "CLANG"; then
-@@ -17407,13 +17413,6 @@ $as_echo_n "checking if compiler accepts debug disabli
+@@ -17259,13 +17265,6 @@ $as_echo_n "checking if compiler accepts
        tmp_options="$flags_dbg_off"
      fi
      #
@@ -128,7 +127,7 @@ Support Minix.
      squeeze CPPFLAGS
      squeeze CFLAGS
  
-@@ -19081,7 +19080,7 @@ $as_echo "no" >&6; }
+@@ -18933,7 +18932,7 @@ $as_echo "no" >&6; }
    tst_cflags="no"
    case $host_os in
      darwin*)
@@ -137,7 +136,7 @@ Support Minix.
        ;;
    esac
  
-@@ -22013,7 +22012,11 @@ $as_echo "yes" >&6; }
+@@ -21934,7 +21933,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
@@ -150,7 +149,7 @@ Support Minix.
       elif test "$GSSAPI_ROOT" != "yes"; then
          GSSAPI_INCS="-I$GSSAPI_ROOT/include"
       fi
-@@ -22186,7 +22189,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confdefs.h
+@@ -22107,7 +22110,7 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
          LIBS="-lgss $LIBS"
          ;;
       *)
@@ -159,3 +158,12 @@ Support Minix.
          ;;
       esac
    fi
+@@ -22252,7 +22255,7 @@ fi
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiSSL)" >&5
+ $as_echo_n "checking whether to enable Amiga native SSL/TLS (AmiSSL)... " >&6; }
+-if test "$HAVE_PROTO_BSDSOCKET_H" == "1"; then
++if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then
+   if test -z "$ssl_backends" -o "x$OPT_AMISSL" != xno; then
+     ssl_msg=
+     if test "x$OPT_AMISSL" != "xno"; then



Home | Main Index | Thread Index | Old Index