From owner-svn-ports-all@freebsd.org Wed Sep 25 20:24:47 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B420131DB8; Wed, 25 Sep 2019 20:24:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dqKp6VSxz4Rjp; Wed, 25 Sep 2019 20:24:46 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C26361D213; Wed, 25 Sep 2019 20:24:46 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8PKOkUf067735; Wed, 25 Sep 2019 20:24:46 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8PKOjZ7067730; Wed, 25 Sep 2019 20:24:45 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201909252024.x8PKOjZ7067730@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 25 Sep 2019 20:24:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r512810 - in branches/2019Q3/ftp/curl: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in branches/2019Q3/ftp/curl: . files X-SVN-Commit-Revision: 512810 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 20:24:47 -0000 Author: sunpoet Date: Wed Sep 25 20:24:45 2019 New Revision: 512810 URL: https://svnweb.freebsd.org/changeset/ports/512810 Log: MFH: r512057 Update to 7.66.0 Changes: https://curl.haxx.se/changes.html Security: 9fb4e57b-d65a-11e9-8a5f-e5c82b486287 Approved by: ports-secteam (delphij) Modified: branches/2019Q3/ftp/curl/Makefile branches/2019Q3/ftp/curl/distinfo branches/2019Q3/ftp/curl/files/patch-src-tool_operate.c branches/2019Q3/ftp/curl/pkg-plist Directory Properties: branches/2019Q3/ (props changed) Modified: branches/2019Q3/ftp/curl/Makefile ============================================================================== --- branches/2019Q3/ftp/curl/Makefile Wed Sep 25 20:22:53 2019 (r512809) +++ branches/2019Q3/ftp/curl/Makefile Wed Sep 25 20:24:45 2019 (r512810) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= curl -PORTVERSION= 7.65.1 +PORTVERSION= 7.66.0 CATEGORIES= ftp net www MASTER_SITES= https://curl.haxx.se/download/ \ LOCAL/sunpoet Modified: branches/2019Q3/ftp/curl/distinfo ============================================================================== --- branches/2019Q3/ftp/curl/distinfo Wed Sep 25 20:22:53 2019 (r512809) +++ branches/2019Q3/ftp/curl/distinfo Wed Sep 25 20:24:45 2019 (r512810) @@ -1,3 +1,3 @@ -TIMESTAMP = 1559751348 -SHA256 (curl-7.65.1.tar.xz) = f6c22074877f235aebc7c53057dbc7ee82358f8ae58bfb767e955c18c859a77a -SIZE (curl-7.65.1.tar.xz) = 2392672 +TIMESTAMP = 1568387123 +SHA256 (curl-7.66.0.tar.xz) = dbb48088193016d079b97c5c3efde8efa56ada2ebf336e8a97d04eb8e2ed98c1 +SIZE (curl-7.66.0.tar.xz) = 2414840 Modified: branches/2019Q3/ftp/curl/files/patch-src-tool_operate.c ============================================================================== --- branches/2019Q3/ftp/curl/files/patch-src-tool_operate.c Wed Sep 25 20:22:53 2019 (r512809) +++ branches/2019Q3/ftp/curl/files/patch-src-tool_operate.c Wed Sep 25 20:24:45 2019 (r512810) @@ -1,7 +1,7 @@ ---- src/tool_operate.c.orig 2018-10-27 10:00:54 UTC +--- src/tool_operate.c.orig 2019-09-10 17:47:19 UTC +++ src/tool_operate.c -@@ -603,20 +603,7 @@ static CURLcode operate_do(struct Global - DEBUGASSERT(!outs.filename); +@@ -960,20 +960,7 @@ static CURLcode create_transfers(struct + DEBUGASSERT(!outs->filename); } - if(config->resume_from_current) { @@ -9,7 +9,7 @@ - of the file as it is now and open it for append instead */ - struct_stat fileinfo; - /* VMS -- Danger, the filesize is only valid for stream files */ -- if(0 == stat(outfile, &fileinfo)) +- if(0 == stat(per->outfile, &fileinfo)) - /* set offset to current file size: */ - config->resume_from = fileinfo.st_size; - else @@ -22,26 +22,26 @@ #ifdef __VMS /* open file for output, forcing VMS output format into stream mode which is needed for stat() call above to always work. */ -@@ -624,7 +611,8 @@ static CURLcode operate_do(struct Global +@@ -981,7 +968,8 @@ static CURLcode create_transfers(struct "ctx=stm", "rfm=stmlf", "rat=cr", "mrs=0"); #else /* open file for output: */ -- FILE *file = fopen(outfile, config->resume_from?"ab":"wb"); +- FILE *file = fopen(per->outfile, config->resume_from?"ab":"wb"); + /* (always open for appending, it has no effect on new files) */ -+ FILE *file = fopen(outfile, "ab"); ++ FILE *file = fopen(per->outfile, "ab"); #endif if(!file) { - helpf(global->errors, "Can't open '%s'!\n", outfile); -@@ -633,6 +621,19 @@ static CURLcode operate_do(struct Global + helpf(global->errors, "Can't open '%s'!\n", per->outfile); +@@ -990,6 +978,19 @@ static CURLcode create_transfers(struct } - outs.fopened = TRUE; - outs.stream = file; + outs->fopened = TRUE; + outs->stream = file; + + if(config->resume_from_current) { + /* We're told to continue from where we are now. Get the size + of the file as it is now */ + struct_stat fileinfo; -+ if(0 == fstat(fileno(outs.stream), &fileinfo)) ++ if(0 == fstat(fileno(outs->stream), &fileinfo)) + /* set offset to current file size: */ + config->resume_from = fileinfo.st_size; + else @@ -49,6 +49,6 @@ + config->resume_from = 0; + } + - outs.init = config->resume_from; + outs->init = config->resume_from; } else { Modified: branches/2019Q3/ftp/curl/pkg-plist ============================================================================== --- branches/2019Q3/ftp/curl/pkg-plist Wed Sep 25 20:22:53 2019 (r512809) +++ branches/2019Q3/ftp/curl/pkg-plist Wed Sep 25 20:24:45 2019 (r512810) @@ -12,7 +12,7 @@ include/curl/urlapi.h lib/libcurl.a lib/libcurl.so lib/libcurl.so.4 -lib/libcurl.so.4.5.0 +lib/libcurl.so.4.6.0 libdata/pkgconfig/libcurl.pc man/man1/curl-config.1.gz man/man1/curl.1.gz @@ -58,6 +58,7 @@ man/man3/CURLINFO_REDIRECT_TIME_T.3.gz man/man3/CURLINFO_REDIRECT_URL.3.gz man/man3/CURLINFO_REQUEST_SIZE.3.gz man/man3/CURLINFO_RESPONSE_CODE.3.gz +man/man3/CURLINFO_RETRY_AFTER.3.gz man/man3/CURLINFO_RTSP_CLIENT_CSEQ.3.gz man/man3/CURLINFO_RTSP_CSEQ_RECV.3.gz man/man3/CURLINFO_RTSP_SERVER_CSEQ.3.gz @@ -284,6 +285,7 @@ man/man3/CURLOPT_RTSP_SERVER_CSEQ.3.gz man/man3/CURLOPT_RTSP_SESSION_ID.3.gz man/man3/CURLOPT_RTSP_STREAM_URI.3.gz man/man3/CURLOPT_RTSP_TRANSPORT.3.gz +man/man3/CURLOPT_SASL_AUTHZID.3.gz man/man3/CURLOPT_SASL_IR.3.gz man/man3/CURLOPT_SEEKDATA.3.gz man/man3/CURLOPT_SEEKFUNCTION.3.gz @@ -408,6 +410,7 @@ man/man3/curl_multi_fdset.3.gz man/man3/curl_multi_info_read.3.gz man/man3/curl_multi_init.3.gz man/man3/curl_multi_perform.3.gz +man/man3/curl_multi_poll.3.gz man/man3/curl_multi_remove_handle.3.gz man/man3/curl_multi_setopt.3.gz man/man3/curl_multi_socket.3.gz