From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/12 v10] Some download-related changes (branch yem/check-downloads)
Date: Wed, 2 Jul 2014 23:11:26 +0200 [thread overview]
Message-ID: <cover.1404335385.git.yann.morin.1998@free.fr> (raw)
Hello All!
This series contains those download-related changes:
- Patches 1..8 : move download helpers to shell scripts, one
such script for each download helper
- Patch 9 : don't use DL_DIR as scratchpad for temporary VCS
checkouts, since DL_DIR is a precious location
- Patches 10..11: check hashes of downloaded files, to ensure the
files are genuine (with doc)
- Patch 12 : add hashes for ca-certificates
Hashes for more packages (eg. openssh, openssh, dropbear...) can be
added at a later step.
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 2d4fd5d358966b9959a0ea9f93daa3a08c6068e7:
pkg-infra: also set PKGDIR for the download step (2014-07-02 17:16:14 +0200)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem/check-downloads
for you to fetch changes up to 6c119c59e1be7918d55ec414cec18f32ed7844b6:
package/ca-certificates: add tarball's hashes (2014-07-02 23:04:19 +0200)
----------------------------------------------------------------
Yann E. MORIN (12):
pkg-infra: move the git download helper to a script
pkg-infra: move the svn download helper to a script
pkg-infra: move the cvs download helper to a script
pkg-infra: move the hg download helper to a script
pkg-infra: move the wget download helper to a script
pkg-infra: move the bzr download helper to a script
pkg-infra: move the scp download helper to a script
pkg-infra: move the cp (aka localfiles) download helper to a script
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 | 89 ++++++++++++----------------
support/download/bzr | 38 ++++++++++++
support/download/check-hash | 77 ++++++++++++++++++++++++
support/download/cp | 26 ++++++++
support/download/cvs | 47 +++++++++++++++
support/download/git | 56 +++++++++++++++++
support/download/hg | 46 ++++++++++++++
support/download/scp | 28 +++++++++
support/download/svn | 44 ++++++++++++++
support/download/wget | 35 +++++++++++
12 files changed, 504 insertions(+), 51 deletions(-)
create mode 100644 package/ca-certificates/ca-certificates.hash
create mode 100755 support/download/bzr
create mode 100755 support/download/check-hash
create mode 100755 support/download/cp
create mode 100755 support/download/cvs
create mode 100755 support/download/git
create mode 100755 support/download/hg
create mode 100755 support/download/scp
create mode 100755 support/download/svn
create mode 100755 support/download/wget
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next reply other threads:[~2014-07-02 21:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-02 21:11 Yann E. MORIN [this message]
2014-07-02 21:11 ` [Buildroot] [PATCH 01/12] pkg-infra: move the git download helper to a script Yann E. MORIN
2014-07-02 21:46 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 02/12] pkg-infra: move the svn " Yann E. MORIN
2014-07-02 21:53 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 03/12] pkg-infra: move the cvs " Yann E. MORIN
2014-07-02 21:58 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 04/12] pkg-infra: move the hg " Yann E. MORIN
2014-07-02 22:00 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 05/12] pkg-infra: move the wget " Yann E. MORIN
2014-07-02 22:03 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 06/12] pkg-infra: move the bzr " Yann E. MORIN
2014-07-02 22:06 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 07/12] pkg-infra: move the scp " Yann E. MORIN
2014-07-02 22:07 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 08/12] pkg-infra: move the cp (aka localfiles) " Yann E. MORIN
2014-07-02 22:08 ` Peter Korsgaard
2014-07-02 21:11 ` [Buildroot] [PATCH 09/12] pkg-infra: don't use DL_DIR as scratchpad for temporary downloads Yann E. MORIN
2014-07-02 21:11 ` [Buildroot] [PATCH 10/12] pkg-infra: add possiblity to check downloaded files against known hashes Yann E. MORIN
2014-07-02 21:11 ` [Buildroot] [PATCH 11/12] manual: add documentation about packages' hashes Yann E. MORIN
2014-07-02 21:11 ` [Buildroot] [PATCH 12/12] package/ca-certificates: add tarball's hashes Yann E. MORIN
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=cover.1404335385.git.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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