[Buildroot] [PATCH 1/8] package/mender: update legal info
Arnout Vandecappelle
arnout at mind.be
Tue Aug 14 23:32:25 UTC 2018
Hi Mirza,
On 15-08-18 01:13, Mirza Krak wrote:
> And also added license checksums in mender.hash
>
> Signed-off-by: Mirza Krak <mirza.krak at northern.tech>
> ---
> package/mender/mender.hash | 4 ++++
> package/mender/mender.mk | 2 ++
> 2 files changed, 6 insertions(+)
>
> diff --git a/package/mender/mender.hash b/package/mender/mender.hash
> index 30a04fad7a..6a8bb5795b 100644
> --- a/package/mender/mender.hash
> +++ b/package/mender/mender.hash
> @@ -1,2 +1,6 @@
> # Locally computed:
> sha256 267fa73ad472b034248ee298593b5c52ea0b105fd73c91febb3587280c61bee2 mender-1.4.0.tar.gz
> +
> +# License, locally computed
> +sha256 ceb1b36ff073bd13d9806d4615b931707768ca9023805620acc32dd1cfc2f680 LICENSE
> +sha256 54d6f54a2815cc2e3cef4f7dde5a3aae20f09b2cde394d8d3f1dce5d8a79d738 LIC_FILES_CHKSUM.sha256> diff --git a/package/mender/mender.mk b/package/mender/mender.mk
> index 695b5e7a91..0dad93be28 100644
> --- a/package/mender/mender.mk
> +++ b/package/mender/mender.mk
> @@ -6,6 +6,8 @@
>
> MENDER_VERSION = 1.4.0
> MENDER_SITE = $(call github,mendersoftware,mender,$(MENDER_VERSION))
> +MENDER_LICENSE = Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT & OLDAP-2.8
Although & is probably the proper delimiter to use for AND in SPDX format, we
currently use ", " everywhere, so please stick to that.
> +MENDER_LICENSE_FILES = LICENSE LIC_FILES_CHKSUM.sha256
Instead of LIC_FILES_CHKSUM.sha256, we should actually include all the files
mentioned in there in our license list. Well, actually, we can optimize it a
little bit because there are some identical files.
Alternatively, you could include all of them, and for the .hash file you can
just prepend 'sha256 ' to every line of LIC_FILES_CHKSUM.sha256 and append it
to the .hash file, with the comment
# From LIC_FILES_CHKSUM.sha256
On second thought, actually it is a good idea to include
LIC_FILES_CHKSUM.sha256 as well, to detect when a new subpackage with a new
license is added.
Regards,
Arnout
>
> define MENDER_INSTALL_CONFIG_FILES
> $(INSTALL) -D -m 0644 package/mender/mender.conf \
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
More information about the buildroot
mailing list