Skip to content

Some download-related changes (branch yem/check-downloads)

Yann E. MORIN buildroot 16 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest4 patches 0 repliesNew
  2. v1012 patches 0 repliesSuperseded
  3. v914 patches 0 repliesSuperseded
Earlier versions · 13
VersionPostedPatchesRepliesStatus
v814 patches0 repliesSuperseded
v7 posting 4/40 of 12 patches0 repliesSuperseded
v7 posting 3/40 of 12 patches0 repliesSuperseded
v7 posting 2/40 of 12 patches0 repliesSuperseded
v7 posting 1/412 patches0 repliesSuperseded
v612 patches0 repliesSuperseded
v5 posting 2/20 of 11 patches0 repliesSuperseded
v5 posting 1/211 patches0 repliesSuperseded
v412 patches0 repliesSuperseded
v312 patches0 repliesSuperseded
v2 posting 2/20 of 13 patches0 repliesSuperseded
v2 posting 1/213 patches0 repliesSuperseded
v1 RFC0 of 6 patches0 repliesSuperseded

Changes in v11 from the cover letter

- rebase after slight changes in master (Peter)

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pkg-infra: don't use DL_DIR as scratchpad for temporary downloadssupport/download/bzr support/download/cp support/download/cvs +5 more+173 -391 reply
1/4pkg-infra: don't use DL_DIR as scratchpad for temporary downloads+0 -00 replies
2/4pkg-infra: add possiblity to check downloaded files against known hashespackage/pkg-download.mk support/download/check-hash+93 -32 replies
2/4pkg-infra: add possiblity to check downloaded files against known hashes+0 -02 replies
2/4pkg-infra: add possiblity to check downloaded files against known hashes+0 -01 reply
3/4manual: add documentation about packages' hashesdocs/manual/adding-packages-directory.txt support/download/check-hash+67 -01 reply
4/4package/ca-certificates: add tarball's hashespackage/ca-certificates/ca-certificates.hash+3 -01 reply

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchThomas De SchampheleireSamuel Martin
1/4T-b
1/4T-b
2/4R-b
2/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v11 thread

Cover letter [Buildroot] [PATCH 0/4 v11] Some download-related changes (branch yem/check-downloads)

Hello All!

This series contains those download-related changes:

- Patch 1 : don't use DL_DIR as scratchpad for temporary VCS
checkouts, since DL_DIR is a precious location

- Patches 2..3: check hashes of downloaded files, to ensure the files are genuine (with doc)

- Patch 4 : add hashes for ca-certificates

Hashes for more packages (eg. openssh, openssh, dropbear...) can be added at a later step.

Changes v10 -> v11:
- rebase after slight changes in master (Peter)

Changes v9 -> v10:
- use /bin/bash instead of /bin/sh, since we use bashisms (Peter)
- drop patches already applied (Peter)

Changes v8 -> v9:
- include change by Ryan about svn peg-revision
- rebase on top of master after the crazy $$ springling ;-)

Changes v7 -> v8:
- convert scp and localfiles (Thomas DS, Peter)
- typoes, expand MITM (Thomas DS)
- use a cleaner and saner code path to detect errors in helpers

Changes v6 -> v7:
- use single-line title in manual (Samuel)
- use leftover cruft in bzr helper (Thomas)

Changes v5 -> v6:
- ensure we can run multiple parallel downloads from different build dirs with the same BR2_DL_DIR (Thomas)
- also convert bzr
- fix for stray failed downloads

Changes v4 -> v5:
- update ca-certificates hashes after version bump
- fix detection of comments and empty lines in .hash file
- rebase on top of master

Changes v3 -> v4:
- enhance the manual, typoes (Gustavo, Samuel, Thomas DS)
- remove spurious test bump on package/fis (Samuel)

Changes v2 -> v3:
- avoid partial downloads (Thomas DS)
- store hash-type in .hash file (Gustavo)
- typoes (Samuel, Gustavo)
- add possibility to treat missing hashes as an error

Changes v1 -> v2:
- don't do any behavioural change when switching to shell scripts, just reproduce exactly what was in the Makefile (Luca, Arnout)
- support more than one hash algorithm (Arnout, Gustavo)
- typoes (Luca, Baruch)

Regards,
Yann E. MORIN.

The following changes since commit f56f4da887971f299ebea4f1e806a9b2eaf3ce38:

zyre: remove spurious dependency on filemq (2014-07-03 16:30:36 +0200)

are available in the git repository at:

git://gitorious.org/buildroot/buildroot.git yem/check-downloads

for you to fetch changes up to 00582a8025a651a3aefbf46849f1dd36fd1cb940:

package/ca-certificates: add tarball's hashes (2014-07-03 19:27:57 +0200)

----------------------------------------------------------------
Yann E. MORIN (4):
pkg-infra: don't use DL_DIR as scratchpad for temporary downloads
pkg-infra: add possiblity to check downloaded files against known hashes
manual: add documentation about packages' hashes package/ca-certificates: add tarball's hashes

 docs/manual/adding-packages-directory.txt    | 66 ++++++++++++++++++++++++
 package/ca-certificates/ca-certificates.hash |  3 ++
 package/pkg-download.mk                      | 20 ++++++--
 support/download/bzr                         | 25 +++++++--
 support/download/check-hash                  | 77 ++++++++++++++++++++++++++++
 support/download/cp                          | 12 ++++-
 support/download/cvs                         | 34 +++++++++---
 support/download/git                         | 33 +++++++++---
 support/download/hg                          | 35 ++++++++++---
 support/download/scp                         | 14 ++++-
 support/download/svn                         | 33 +++++++++---
 support/download/wget                        | 26 +++++++---
 12 files changed, 336 insertions(+), 42 deletions(-)
 create mode 100644 package/ca-certificates/ca-certificates.hash
 create mode 100755 support/download/check-hash
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'