From owner-dev-commits-ports-branches@freebsd.org Fri Aug 20 00:22:07 2021 Return-Path: Delivered-To: dev-commits-ports-branches@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 E8EAB66D432; Fri, 20 Aug 2021 00:22:07 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrMlJ5PqVz4X2H; Fri, 20 Aug 2021 00:22:04 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x1036.google.com with SMTP id hv22-20020a17090ae416b0290178c579e424so6046887pjb.3; Thu, 19 Aug 2021 17:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=gUDiZTz1vaXfvJi1em57D9Lq4dTFkHKIOpYDh0Vm2EY=; b=frole7ruY3C9A77cIflG4B1L+WXxUxWm8MOfLOGzmPwhyeP3Xg9BbtUAlsD4HnODYW UzgaRawsmQRPscNgOSbPNu+k3Gzz0ixHMcr+DzZRiR7rsqlq1G5YC0QH9Tiw6k110oFw bO/PDWv/JVoZSjv0LqtlmpRW5HyFmU2AyoJwSVRU6PvmDeFssnbfBfDr9b/XVifNz0q+ tszdAq90voiSsT8awa4FtvBKCWV4OqMYkqJRlX6RHFG1E9m2ddiKlbVieP7Xuvp0ZE1Q VgR+0XNDLEcIFpt+heclkXrjkWOqNvmlEPl3toaxYdGOaTduk8tXbqUnXJ23hCJr7jdA hGQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=gUDiZTz1vaXfvJi1em57D9Lq4dTFkHKIOpYDh0Vm2EY=; b=VXixyQsdjFTVGbKj0gPiLL36huw0jTyhqa98BFabhQ4xQZyuMTzEQpenWP79UIWJvj xGi9Slg7MA1HY0qjYvU/1Nx4GT6HDqMfT5Pf/4YKf/7CHaT1l75VIQ0Mq4pNXC44YfxK nYYn1eaeQfI6qkhExP6qDzBxwJFsSFCDvWqSOFhwBdQ8rR9h2ogXJIRRCYjFdJcrTJ4u nBWuCQ5z2p6D/+UDuElOk2RiImkWT8GSwAc9+r6+FyiZqyBQOqJ5I7LLK2mw4VfnbHjD HkmqFr5E5IAtpRJnrvMTGKkUJBWvPLvG1GqmO2jTQ5TDVDKQaOn1rhdUskZgloQRMNCR gPRQ== X-Gm-Message-State: AOAM530AbMg0Q0SzE5iwSpep8xTHQGXpR4Q+k6ApBo72l920MkzQjLny VxNaltEMCiFP7dqDlrpNuSBafgjglcbshg== X-Google-Smtp-Source: ABdhPJwUvy4PAD/XBDGbguKxZuF9XQBHBMkE7tehqjOTsVDCYgdokfAtRFTMNz0L35uO4u7I5YRMEw== X-Received: by 2002:a17:90a:4211:: with SMTP id o17mr1598966pjg.176.1629418917642; Thu, 19 Aug 2021 17:21:57 -0700 (PDT) Received: from ?IPV6:2403:5800:7500:3601:f40c:b688:df45:60? (2403-5800-7500-3601-f40c-b688-df45-60.ip6.aussiebb.net. [2403:5800:7500:3601:f40c:b688:df45:60]) by smtp.gmail.com with UTF8SMTPSA id x13sm4421962pjh.30.2021.08.19.17.21.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Aug 2021 17:21:57 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <212a5348-6e27-1a29-824f-930d259ba884@FreeBSD.org> Date: Fri, 20 Aug 2021 10:21:53 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Thunderbird/93.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: git: a4ab211f2456 - 2021Q3 - ftp/curl: Update to 7.78.0 Content-Language: en-US To: Dima Panov , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org References: <202108191915.17JJF2pP065012@gitrepo.freebsd.org> From: Kubilay Kocak In-Reply-To: <202108191915.17JJF2pP065012@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GrMlJ5PqVz4X2H X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-BeenThere: dev-commits-ports-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 00:22:08 -0000 On 20/08/2021 5:15 am, Dima Panov wrote: > The branch 2021Q3 has been updated by fluffy: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=a4ab211f245678b9341a14fdc2ec0a7481078405 > > commit a4ab211f245678b9341a14fdc2ec0a7481078405 > Author: Po-Chuan Hsieh > AuthorDate: 2021-07-21 21:12:52 +0000 > Commit: Dima Panov > CommitDate: 2021-08-19 19:11:01 +0000 > > ftp/curl: Update to 7.78.0 > > - Remove METALINK option: all support removed by upstream > - Update NTLM option: it has own configure option now > > Changes: https://curl.se/changes.html > (cherry picked from commit ee05a0fbe5a5835ca262c01f28de2f050c0d0da1) > > With hat: ports-secteam PR: 257306 > --- > ftp/curl/Makefile | 10 +++----- > ftp/curl/distinfo | 6 ++--- > ftp/curl/files/patch-configure | 43 +++++++------------------------- > ftp/curl/files/patch-lib-url.c | 4 +-- > ftp/curl/files/patch-scripts-Makefile.in | 6 ++--- > ftp/curl/files/patch-src-tool_operate.c | 6 ++--- > ftp/curl/pkg-descr | 1 + > ftp/curl/pkg-plist | 2 +- > 8 files changed, 26 insertions(+), 52 deletions(-) > > diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile > index 0e979ef5a475..fc10abc65903 100644 > --- a/ftp/curl/Makefile > +++ b/ftp/curl/Makefile > @@ -1,7 +1,7 @@ > # Created by: Neil Blakey-Milner > > PORTNAME= curl > -PORTVERSION= 7.77.0 > +PORTVERSION= 7.78.0 > CATEGORIES= ftp net www > MASTER_SITES= https://curl.se/download/ \ > https://github.com/curl/curl/releases/download/curl-${PORTVERSION:S|.|_|g}/ > @@ -29,7 +29,7 @@ CPE_VENDOR= haxx > > SHEBANG_FILES= */*.pl > > -OPTIONS_DEFINE= ALTSVC BROTLI CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES IDN IPV6 METALINK NTLM PROXY PSL TLS_SRP ZSTD > +OPTIONS_DEFINE= ALTSVC BROTLI CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES IDN IPV6 NTLM PROXY PSL STATIC TLS_SRP ZSTD > OPTIONS_GROUP= PROTOCOL > OPTIONS_RADIO= SSL > OPTIONS_SINGLE= GSSAPI RESOLV > @@ -105,14 +105,12 @@ LDAP_USE= OPENLDAP=yes > LDAPS_CONFIGURE_ENABLE= ldaps > LIBSSH2_CONFIGURE_WITH= libssh2 > LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 > -METALINK_CONFIGURE_WITH=libmetalink > -METALINK_LIB_DEPENDS= libmetalink.so:misc/libmetalink > -METALINK_LIBS= -lcrypto > +MQTT_CONFIGURE_ENABLE= mqtt > NSS_CONFIGURE_WITH= nss > NSS_LIB_DEPENDS= libnss3.so:security/nss \ > libnspr4.so:devel/nspr > NSS_USES= pkgconfig > -NTLM_CPPFLAGS_OFF= -DCURL_DISABLE_NTLM > +NTLM_CONFIGURE_ENABLE= ntlm > OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} > OPENSSL_CPPFLAGS= -I${OPENSSLINC} > OPENSSL_LDFLAGS= -L${OPENSSLLIB} > diff --git a/ftp/curl/distinfo b/ftp/curl/distinfo > index b6af43894b3f..d4224ae59c67 100644 > --- a/ftp/curl/distinfo > +++ b/ftp/curl/distinfo > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1622213928 > -SHA256 (curl-7.77.0.tar.xz) = 0f64582c54282f31c0de9f0a1a596b182776bd4df9a4c4a2a41bbeb54f62594b > -SIZE (curl-7.77.0.tar.xz) = 2439336 > +TIMESTAMP = 1626891030 > +SHA256 (curl-7.78.0.tar.xz) = be42766d5664a739c3974ee3dfbbcbe978a4ccb1fe628bb1d9b59ac79e445fb5 > +SIZE (curl-7.78.0.tar.xz) = 2440640 > diff --git a/ftp/curl/files/patch-configure b/ftp/curl/files/patch-configure > index 540198a050c2..13c8672eb654 100644 > --- a/ftp/curl/files/patch-configure > +++ b/ftp/curl/files/patch-configure > @@ -1,14 +1,6 @@ > -Description: Tweak the build for a FreeBSD environment. > - Respect user-supplied CFLAGS > - Use the FreeBSD location of pkg-config's library directory. > - Check for librtmp in sensible locations in all cases. > -Forwarded: not-needed > -Author: Peter Pentchev > -Last-Update: 2010-12-19 > - > ---- configure.orig 2019-02-05 14:11:44 UTC > +--- configure.orig 2021-07-19 12:47:17 UTC > +++ configure > -@@ -3637,9 +3637,10 @@ $as_echo "$as_me: LIBS note: LIBS should > +@@ -3738,9 +3738,10 @@ $as_echo "$as_me: LIBS note: LIBS should only be used > -I*) > xc_bad_var_ldflags=yes > ;; > @@ -22,7 +14,7 @@ Last-Update: 2010-12-19 > esac > done > if test $xc_bad_var_ldflags = yes; then > -@@ -3709,9 +3710,10 @@ $as_echo "$as_me: $xc_bad_var_msg librar > +@@ -3810,9 +3811,10 @@ $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS > xc_bad_var_cflags=no > for xc_word in $CFLAGS; do > case "$xc_word" in > @@ -36,33 +28,16 @@ Last-Update: 2010-12-19 > -U*) > xc_bad_var_cflags=yes > ;; > -@@ -17193,6 +17195,8 @@ $as_echo "$as_me: WARNING: compiler opti > - tmp_CFLAGS="$CFLAGS" > - tmp_CPPFLAGS="$CPPFLAGS" > - > -+# Do not remove the user-supplied debug flags in CFLAGS (PR/150854) > -+if false; then > - ac_var_stripped="" > - for word1 in $tmp_CFLAGS; do > - ac_var_strip_word="no" > -@@ -17223,6 +17227,7 @@ $as_echo "$as_me: WARNING: compiler opti > - done > - tmp_CPPFLAGS="$ac_var_stripped" > - squeeze tmp_CPPFLAGS > -+fi > - > - # > - if test "$want_debug" = "yes"; then > -@@ -17445,6 +17450,8 @@ $as_echo "$honor_optimize_option" >&6; } > +@@ -17213,6 +17215,8 @@ $as_echo "$honor_optimize_option" >&6; } > # > if test "$honor_optimize_option" = "yes"; then > > -+# Do not remove the user-supplied optimization flags in CFLAGS (PR/150854) > ++# Do not remove the user-supplied optimization flags in CFLAGS/CPPFLAGS (PR/150854) > +if false; then > ac_var_stripped="" > for word1 in $tmp_CFLAGS; do > ac_var_strip_word="no" > -@@ -17475,6 +17482,7 @@ $as_echo "$honor_optimize_option" >&6; } > +@@ -17243,6 +17247,7 @@ $as_echo "$honor_optimize_option" >&6; } > done > tmp_CPPFLAGS="$ac_var_stripped" > squeeze tmp_CPPFLAGS > @@ -70,7 +45,7 @@ Last-Update: 2010-12-19 > > if test "$want_optimize" = "yes"; then > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5 > -@@ -26706,30 +26714,30 @@ $as_echo "found" >&6; } > +@@ -28147,30 +28152,30 @@ $as_echo "found" >&6; } > ;; > off) > LIB_RTMP="-lrtmp" > @@ -110,7 +85,7 @@ Last-Update: 2010-12-19 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > > -@@ -41169,9 +41177,10 @@ $as_echo "$as_me: LIBS note: LIBS should > +@@ -43354,9 +43359,10 @@ $as_echo "$as_me: LIBS note: LIBS should only be used > -I*) > xc_bad_var_ldflags=yes > ;; > @@ -124,7 +99,7 @@ Last-Update: 2010-12-19 > esac > done > if test $xc_bad_var_ldflags = yes; then > -@@ -41241,9 +41250,10 @@ $as_echo "$as_me: $xc_bad_var_msg librar > +@@ -43426,9 +43432,10 @@ $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS > xc_bad_var_cflags=no > for xc_word in $CFLAGS; do > case "$xc_word" in > diff --git a/ftp/curl/files/patch-lib-url.c b/ftp/curl/files/patch-lib-url.c > index 6224c72f510a..40e5742e2d8c 100644 > --- a/ftp/curl/files/patch-lib-url.c > +++ b/ftp/curl/files/patch-lib-url.c > @@ -3,9 +3,9 @@ Forwarded: not-needed > Author: Peter Pentchev > Last-Update: 2010-12-18 > > ---- lib/url.c.orig 2020-12-08 07:39:35 UTC > +--- lib/url.c.orig 2021-07-20 21:07:48 UTC > +++ lib/url.c > -@@ -607,6 +607,10 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) > +@@ -630,6 +630,10 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) > CURL_HTTP_VERSION_1_1 > #endif > ; > diff --git a/ftp/curl/files/patch-scripts-Makefile.in b/ftp/curl/files/patch-scripts-Makefile.in > index 0ced59737639..8c785aa1eeb1 100644 > --- a/ftp/curl/files/patch-scripts-Makefile.in > +++ b/ftp/curl/files/patch-scripts-Makefile.in > @@ -1,6 +1,6 @@ > ---- scripts/Makefile.in.orig 2019-03-25 21:03:52 UTC > +--- scripts/Makefile.in.orig 2021-07-19 12:47:18 UTC > +++ scripts/Makefile.in > -@@ -558,7 +558,7 @@ uninstall-am: > +@@ -578,7 +578,7 @@ uninstall-am: > .PRECIOUS: Makefile > > > @@ -9,7 +9,7 @@ > > $(ZSH_COMPLETION_FUNCTION_FILENAME): completion.pl > @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't generate zsh completion when cross-compiling!" > -@@ -573,9 +573,7 @@ $(FISH_COMPLETION_FUNCTION_FILENAME): co > +@@ -593,9 +593,7 @@ $(FISH_COMPLETION_FUNCTION_FILENAME): completion.pl > install-data-local: > @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't install zsh completion when cross-compiling!" > @CROSSCOMPILING_FALSE@ $(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR) > diff --git a/ftp/curl/files/patch-src-tool_operate.c b/ftp/curl/files/patch-src-tool_operate.c > index 57818ceb8161..58fbe73f458f 100644 > --- a/ftp/curl/files/patch-src-tool_operate.c > +++ b/ftp/curl/files/patch-src-tool_operate.c > @@ -1,6 +1,6 @@ > ---- src/tool_operate.c.orig 2019-11-04 08:43:26 UTC > +--- src/tool_operate.c.orig 2021-07-19 07:19:57 UTC > +++ src/tool_operate.c > -@@ -992,20 +992,7 @@ static CURLcode single_transfer(struct G > +@@ -995,20 +995,7 @@ static CURLcode single_transfer(struct GlobalConfig *g > DEBUGASSERT(!outs->filename); > } > > @@ -22,7 +22,7 @@ > #ifdef __VMS > /* open file for output, forcing VMS output format into stream > mode which is needed for stat() call above to always work. */ > -@@ -1022,6 +1009,19 @@ static CURLcode single_transfer(struct G > +@@ -1025,6 +1012,19 @@ static CURLcode single_transfer(struct GlobalConfig *g > } > outs->fopened = TRUE; > outs->stream = file; > diff --git a/ftp/curl/pkg-descr b/ftp/curl/pkg-descr > index df7e49ed9dad..b31b940547b9 100644 > --- a/ftp/curl/pkg-descr > +++ b/ftp/curl/pkg-descr > @@ -11,3 +11,4 @@ form based upload, proxies, HTTP/2, cookies, user+password authentication > resume, proxy tunneling and more. > > WWW: https://curl.se/ > +WWW: https://github.com/curl/curl > diff --git a/ftp/curl/pkg-plist b/ftp/curl/pkg-plist > index f5c190800c75..406390fbc83a 100644 > --- a/ftp/curl/pkg-plist > +++ b/ftp/curl/pkg-plist > @@ -596,7 +596,7 @@ share/aclocal/libcurl.m4 > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-double.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-event.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-formadd.c > -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-poll.c > +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-legacy.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-post.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-single.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multi-uv.c >