Skip to content

support/download: fix running on hosts with wget2 (branch yem/dl-curl)

Yann E. MORIN buildroot 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- drop --passive-ftp from BR2_WGET

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2support/download: introduce curl backend for FTP transfersConfig.in docs/manual/prerequisite.adoc package/pkg-download.mk +4 more+56 -21 reply
2/2utils/genrandconfig: do not check certificates with curlutils/genrandconfig+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH 0/2 v2] support/download: fix running on hosts with wget2 (branch yem/dl-curl)

Hello All!

Recently, Fedora 40 was released, which uses wget2 instead of the "original" wget (aka wget1). wget2 is almost a drop-in replacement for wget1, except it no longer supports FTP and WARC. While WARC was unused in Buildroot, FTP is still used by a few packges, some of which only available via FTP.

Switch to using curl for FTP downloads.

We could have switched to curl for http/s downlads too, but it is possible that existing packages (esp. in br2-external trees) use wget1 options, like we used to in the now-dropped amd-catalyst package for example. So we decided to only convert FTP downloads over to curl, and keep the rest unchanged, to minise the impact.

Changes v1 -> v2:
- drop --passive-ftp from BR2_WGET

Regards,
Yann E. MORIN.

----------------------------------------------------------------
Yann E. MORIN (2):
support/download: introduce curl backend for FTP transfers utils/genrandconfig: do not check certificates with curl

 Config.in                     |  6 +++++-
 docs/manual/prerequisite.adoc |  1 +
 package/pkg-download.mk       |  1 +
 package/pkg-generic.mk        |  2 ++
 support/download/curl         | 45 +++++++++++++++++++++++++++++++++++++++++++
 support/download/dl-wrapper   |  1 +
 utils/genrandconfig           |  3 ++-
 7 files changed, 57 insertions(+), 2 deletions(-)
 create mode 100755 support/download/curl

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot