From: Adrian Bunk <bunk@stusta.de>
To: Khem Raj <raj.khem@gmail.com>
Cc: Christophe PRIOUZEAU <christophe.priouzeau@st.com>,
"openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH] python-script: update license md5sum
Date: Thu, 29 Aug 2019 22:30:18 +0300 [thread overview]
Message-ID: <20190829193018.GB24691@localhost> (raw)
In-Reply-To: <CAMKF1so-8_SBFQHtwx_8DVaDsGgMSBTF35muc-adweze8hOr7g@mail.gmail.com>
On Thu, Aug 29, 2019 at 11:44:16AM -0700, Khem Raj wrote:
> On Thu, Aug 29, 2019 at 8:51 AM Adrian Bunk <bunk@stusta.de> wrote:
> >
> > On Thu, Aug 29, 2019 at 02:35:07PM +0000, Christophe PRIOUZEAU wrote:
> > > Update md5sum of license file.
> > >...
> > > --- a/meta-python/recipes-devtools/python/python-scrypt.inc
> > > +++ b/meta-python/recipes-devtools/python/python-scrypt.inc
> > > @@ -1,6 +1,6 @@
> > > DESCRIPTION = "Bindings for the scrypt key derivation function library"
> > > LICENSE = "BSD-2-Clause"
> > > -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=8bef8e6712b1be5aa76af1ebde9d6378"
> > > +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f"
> > >...
> >
> > The actual problem is that this does not do what LIC_FILES_CHKSUM is
> > supposed to do.
> >
> > LIC_FILES_CHKSUM should verify that the license information in the
> > software hasn't changed when upgrading it.
> >
>
> thats right and in most cases thats what it does too.
>
> > These recipes check the copy of the license text in OE instead,
> > which wouldn't change if the license of python-scrypt would change.
> >
>
> some packages just use license and do not include a license file
> in which case the recipe stubs it in.
> Not ideal but it is a band aid for such recipes.
You need some license information somewhere, legal default is that it is
illegal to use or to distribute.
In reality this is just bad practice copied from one recipe to another.
For scrypt, see scrypt-0.8.6/LICENSE
python-intervals is even more funny:
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
$ grep ^License: python-intervals-1.5.4/PKG-INFO
License: LGPL3
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2019-08-29 19:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-29 14:35 [PATCH] python-script: update license md5sum Christophe PRIOUZEAU
2019-08-29 15:51 ` Adrian Bunk
2019-08-29 18:44 ` Khem Raj
2019-08-29 19:30 ` Adrian Bunk [this message]
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=20190829193018.GB24691@localhost \
--to=bunk@stusta.de \
--cc=christophe.priouzeau@st.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.