wget2 as an (almost) drop-in replacement to wget doesn't support the
FTP(S) protocol. Instead of trying to fix FTP downloads via other
tools simply remove the support, as it's not really needed anymore
due to available alternatives.

Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
---
 scripts/lib/ptxd_make_get.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh
index c06257ee6ebb..615809125932 100644
--- a/scripts/lib/ptxd_make_get.sh
+++ b/scripts/lib/ptxd_make_get.sh
@@ -75,7 +75,6 @@ ptxd_make_get_http() {
        echo "Checking URL '${url}'..."
        temp_header="$(mktemp "${PTXDIST_TEMPDIR}/urlcheck.XXXXXX")" || 
ptxd_bailout "failed to create tempfile"
        curl \
-       --ftp-pasv \
        --connect-timeout 30 \
        --retry 5 \
        --user-agent "PTXdist ${PTXDIST_VERSION_FULL}" \
@@ -101,7 +100,6 @@ ptxd_make_get_http() {
            progress=bar:force
        fi
        wget \
-       --passive-ftp \
        --progress="${progress}" \
        --timeout=30 \
        --tries=5 \
@@ -526,7 +524,7 @@ ptxd_make_get() {
            ptxd_make_get_download_permitted &&
            ptxd_make_get_svn && return
            ;;
-       http://*|https://*|ftp://*)
+       http://*|https://*)
            ptxd_make_get_download_permitted &&
            ptxd_make_get_http && return
            ;;
-- 
2.39.2


Reply via email to