From nobody Thu Feb  9 22:08:25 2023
X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PCWGL32j9z3nrhf
	for <ports-bugs@mlmmj.nyi.freebsd.org>; Thu,  9 Feb 2023 22:08:26 +0000 (UTC)
	(envelope-from bugzilla-noreply@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)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4PCWGL1x34z4M2c
	for <ports-bugs@FreeBSD.org>; Thu,  9 Feb 2023 22:08:26 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1675980506;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=jWUGefhOqj0BCiUTPcN3Rx5a+nydg9tcO7uEDphQnLU=;
	b=Lvy50Xc3wBDjgotjEMqGMKadyGkawM4rrfi25SHxkZ7m7wiLY9FoRWAV1xWPmBhBZ/1HYc
	AS3B+C1CjObeBU7Lr92q8ZLk2HHEQRVvCWccK5gl5PHuEFAP37wS0uCv0oSVw5md1Hmv1y
	xothj+T7LKyWzuztxhAHbvaCfqLh1sw2XALd9sOfpHe0QMMt/PqTBBDTkmkrtFSTzj+ghx
	a3e8cEvnR4SuPx3oUkuHBpXeGHXLfJsfssUg/EQQN1QSddxQpDBGIoyzqOespLSTSp1Bzi
	xMxkfSjDyni5NpYQbrjHLGQdRtirnVj5RVRk/Q1tS2ho/2robYuSU+5m9QlvGQ==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675980506; a=rsa-sha256; cv=none;
	b=rQV8DOuzuLWtEgusdfreGD8TSlv2u3A3A/A9q9ZltFEbvE6j3VzD8fV+RgYIqM1vupVZU/
	OHkaORBdeLtXLdQkQzdaGPJied2uAZ700PZrCHmzMcnor748PF2UC9C6836b124l1fMN78
	+Hf/9jbVarkC4Q49mjAGlOlwYCd3wWFd92D4bscS3tzc/GAxbLnbtxI16rwFfvm4m5i9BZ
	c2hhK/CLce9P7OZ76pcTMWhbz0HIsESKjAXaQvX0yie+M1xp2ZWCqbxVy2RTvLBuY5YfU8
	gKSsPOkIlpLSM81H6pNkhQIZm9x9qnXRmwHODOgb3Ynh5JR/1LofeqniigwB5Q==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PCWGL0zChztn7
	for <ports-bugs@FreeBSD.org>; Thu,  9 Feb 2023 22:08:26 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 319M8QkD050782
	for <ports-bugs@FreeBSD.org>; Thu, 9 Feb 2023 22:08:26 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 319M8QPI050781
	for ports-bugs@FreeBSD.org; Thu, 9 Feb 2023 22:08:26 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: ports-bugs@FreeBSD.org
Subject: [Bug 269432] ports: FETCH_ARGS / FETCH_CMD can't accept a string
 with spaces
Date: Thu, 09 Feb 2023 22:08:25 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Ports Framework
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: tatsuki_makino@hotmail.com
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: portmgr@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-269432-7788-sqcj1KuPl4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269432-7788@https.bugs.freebsd.org/bugzilla/>
References: <bug-269432-7788@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs
List-Help: <mailto:ports-bugs+help@freebsd.org>
List-Post: <mailto:ports-bugs@freebsd.org>
List-Subscribe: <mailto:ports-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:ports-bugs+unsubscribe@freebsd.org>
Sender: owner-freebsd-ports-bugs@freebsd.org
X-BeenThere: freebsd-ports-bugs@freebsd.org
MIME-Version: 1.0
X-ThisMailContainsUnwantedMimeParts: N

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269432

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #5 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
I too thought it would be better to use curl for Bug 260699 issue.
As a result, the following variable definitions are considered necessary.

FETCH_DEPENDS+=3D ${LOCALBASE}/bin/curl:ftp/curl
DISABLE_SIZE=3D   yes
FETCH_CMD=3D      ${CURL_BINARY} ${CURL_ARGS}
FETCH_ENV=3D
CURL_BINARY?=3D   ${LOCALBASE}/bin/curl
CURL_ARGS?=3D\
        --continue-at - \
        --ftp-pasv \
        --location \
        --no-clobber \
        --remote-name \
        --remote-time

These should make the behavior equivalent to fetch.

Since the do-fetch target command has been changed to run
Mk/Scripts/do-fetch.sh, some command arguments can no longer be passed.
One of these is the -o option, but it may not be possible to replace it with
curl as is because fetch and curl behave slightly differently.

This was a bit of a derailment, but I wrote it because I thought we were all
going to the same destination of purpose :)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=