From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/tzdata: bump to version 2019b
Date: Thu, 29 Aug 2019 22:14:48 +0200 [thread overview]
Message-ID: <87ef13loef.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20190828222851.11429-1-chrismcc@gmail.com> (Christopher McCrory's message of "Wed, 28 Aug 2019 15:28:51 -0700")
>>>>> "Christopher" == Christopher McCrory <chrismcc@gmail.com> writes:
> Changed _SITE to https.
> Add hash for license file.
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
> package/tzdata/tzdata.hash | 6 ++++--
> package/tzdata/tzdata.mk | 5 +++--
> 2 files changed, 7 insertions(+), 4 deletions(-)
> diff --git a/package/tzdata/tzdata.hash b/package/tzdata/tzdata.hash
> index 6a0ea17ce9..166d94ada2 100644
> --- a/package/tzdata/tzdata.hash
> +++ b/package/tzdata/tzdata.hash
> @@ -1,2 +1,4 @@
> -# From https://mm.icann.org/pipermail/tz-announce/2018-May/000050.html
> -sha512
> d059fcd381b2f6ecdafcd68fdd2a00451d1bf9b1affeb164ae7cabca2e022d499e77f0706ec3f3091b8e84c2211aa66da6c90937108771f1bf070cfebc105cae
> tzdata2018e.tar.gz
> +# From https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html
> +sha512 c0104078d994e501d80a41bea31364b1390a75c2fbf42968a8343a090e2ac2eddbc58770ca470b192ea19dec89fcc634141a1de703ea2ffa0325176a64afe1fc tzdata2019b.tar.gz
> +# Locally computed:
> +sha512 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE
This looks like a sha256sum rather than 512, and it indeed matches
that.
> diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk
> index e20c946208..f8e6625e32 100644
> --- a/package/tzdata/tzdata.mk
> +++ b/package/tzdata/tzdata.mk
> @@ -4,13 +4,14 @@
> #
> ################################################################################
> -TZDATA_VERSION = 2018e
> +TZDATA_VERSION = 2019b
> TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz
> -TZDATA_SITE = http://www.iana.org/time-zones/repository/releases
> +TZDATA_SITE = https://www.iana.org/time-zones/repository/releases
> TZDATA_STRIP_COMPONENTS = 0
> TZDATA_DEPENDENCIES = host-tzdata
> HOST_TZDATA_DEPENDENCIES = host-zic
> TZDATA_LICENSE = Public domain
> +TZDATA_LICENSE_FILES = LICENSE
tzdata is a bit special as we explicitly do not extract the target
version source code, so LICENSE will not be available:
>>> tzdata 2019b Collecting legal info
sha256sum: /home/peko/source/buildroot/output-test/build/tzdata-2019b/LICENSE: No such file or directory
ERROR: LICENSE has wrong sha256 hash:
ERROR: expected: 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf
ERROR: got :
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
So as a workaround I made it HOST_TZDATA_LICENSE_FILES so it only gets
used for the host package and committed to next.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2019-08-29 20:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 22:28 [Buildroot] [PATCH 1/2] package/tzdata: bump to version 2019b Christopher McCrory
2019-08-29 20:14 ` Peter Korsgaard [this message]
2019-08-30 18:37 ` [Buildroot] checksums was:[PATCH " Christopher McCrory
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=87ef13loef.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--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