[Bug 269432] ports: FETCH_ARGS / FETCH_CMD can't accept a string with spaces
Date: Thu, 09 Feb 2023 22:08:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269432 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+= ${LOCALBASE}/bin/curl:ftp/curl DISABLE_SIZE= yes FETCH_CMD= ${CURL_BINARY} ${CURL_ARGS} FETCH_ENV= CURL_BINARY?= ${LOCALBASE}/bin/curl CURL_ARGS?=\ --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 :) -- You are receiving this mail because: You are on the CC list for the bug.