From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/tzdata and package/zic: bump to version 2019a
Date: Sat, 18 May 2019 21:13:20 +0200 [thread overview]
Message-ID: <20190518211320.3c2b6bf3@windsurf> (raw)
In-Reply-To: <20190517174019.65050-1-aduskett@gmail.com>
Hello Adam,
On Fri, 17 May 2019 13:40:19 -0400
aduskett at gmail.com wrote:
> From: Adam Duskett <Aduskett@gmail.com>
>
> Also add TZDATA_LICENSE_FILES and ZIC_LICENSE_FILES, and hashes for those
> files.
>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
Nit: the commit title would be better formatted as:
package/{tzdata,zic}: bump to version 2019a
> -TZDATA_VERSION = 2018e
> +TZDATA_VERSION = 2019a
> TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz
> TZDATA_SITE = http://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
Unfortunately, this breaks "make legal-info":
>>> tzdata 2019a Collecting legal info
sha512sum: /home/thomas/projets/buildroot/output/build/tzdata-2019a/LICENSE: No such file or directory
ERROR: LICENSE has wrong sha512 hash:
ERROR: expected: 9fe102f8894714cd0bd7d72a92e5ca29e4f75ff3f802d6fc363d5349b83345251b1d572a35321bd487cc70485da337b90df0cd37f896b6343f6f4c29cba7a295
ERROR: got :
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
make[1]: *** [package/tzdata/tzdata.mk:65: tzdata-legal-info] Error 1
This is due to the fact that tzdata for the target is not extracted
(TZDATA_EXTRACT_CMDS is empty).
So either we need to extract at least the LICENSE file, or perhaps we
could extract it normally, it's just 4.5 MB of data anyway.
In any case, when you add license information to a package, it would be
good to test with "make legal-info" before submitting the patch :/
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-05-18 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-17 17:40 [Buildroot] [PATCH 1/1] package/tzdata and package/zic: bump to version 2019a aduskett at gmail.com
2019-05-18 19:13 ` Thomas Petazzoni [this message]
2019-05-25 17:06 ` Arnout Vandecappelle
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=20190518211320.3c2b6bf3@windsurf \
--to=thomas.petazzoni@bootlin.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