From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 27 May 2024 22:14:26 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sBgji-000kzS-0d for lore@lore.pengutronix.de; Mon, 27 May 2024 22:14:26 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sBgjh-0006md-Cr; Mon, 27 May 2024 22:14:25 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sBgj6-0006Gs-Mf for ptxdist@pengutronix.de; Mon, 27 May 2024 22:13:48 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1sBgj6-003EcT-8g for ptxdist@pengutronix.de; Mon, 27 May 2024 22:13:48 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Mon, 27 May 2024 22:13:46 +0200 Message-Id: <20240527201347.673604-5-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240527201347.673604-1-l.stach@pengutronix.de> References: <20240527201347.673604-1-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 5/6] ptxd_make_get: drop passive FTP options X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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