From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 5/6] ptxd_make_get: drop passive FTP options
Date: Mon, 27 May 2024 22:13:46 +0200 [thread overview]
Message-ID: <20240527201347.673604-5-l.stach@pengutronix.de> (raw)
In-Reply-To: <20240527201347.673604-1-l.stach@pengutronix.de>
They are the default in both curl and wget anyway and wget2
doesn't understand the option, failing the download when this
option is specified.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
scripts/lib/ptxd_make_get.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh
index c06257ee6ebb..22fc0d0834fb 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 \
--
2.39.2
next prev parent reply other threads:[~2024-05-27 20:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 20:13 [ptxdist] [PATCH 1/6] grub: replace download URL with HTTPS Lucas Stach
2024-05-27 20:13 ` [ptxdist] [PATCH 2/6] efax: " Lucas Stach
2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-27 20:13 ` [ptxdist] [PATCH 3/6] gdb: " Lucas Stach
2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-27 20:13 ` [ptxdist] [PATCH 4/6] gdbserver: " Lucas Stach
2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-27 20:13 ` Lucas Stach [this message]
2024-06-10 19:41 ` [ptxdist] [APPLIED] ptxd_make_get: drop passive FTP options Michael Olbrich
2024-05-27 20:13 ` [ptxdist] [PATCH 6/6] ptxd_make_world_lint: check for usage of deprecated FTP protocol Lucas Stach
2024-05-28 6:10 ` Michael Olbrich
2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-10 19:41 ` [ptxdist] [APPLIED] grub: replace download URL with HTTPS Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240527201347.673604-5-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox