From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 10 Jun 2024 21:42:07 +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 1sGku7-003r7S-32 for lore@lore.pengutronix.de; Mon, 10 Jun 2024 21:42:07 +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 1sGku7-00079Y-7G; Mon, 10 Jun 2024 21:42:07 +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 1sGktZ-0005tw-7x; Mon, 10 Jun 2024 21:41:33 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGktY-001NMt-Qe; Mon, 10 Jun 2024 21:41:32 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sGktY-008ut2-2U; Mon, 10 Jun 2024 21:41:32 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 10 Jun 2024 21:41:32 +0200 Message-Id: <20240610194132.2125270-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240527201347.673604-5-l.stach@pengutronix.de> References: <20240527201347.673604-5-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Cc: Lucas Stach 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 Thanks, applied as 7caf620b4cd50d16b24fb56740d5fa9dcb711b82. Michael [sent from post-receive hook] On Mon, 10 Jun 2024 21:41:32 +0200, Lucas Stach wrote: > 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 > Message-Id: <20240527201347.673604-5-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 \