diff mbox series

libgit2: update license information

Message ID 20230302214744.1041422-1-sudipm.mukherjee@gmail.com
State New
Headers show
Series libgit2: update license information | expand

Commit Message

Sudip Mukherjee March 2, 2023, 9:47 p.m. UTC
The LICENSE did not have complete information.
Some examples of missing license:

Zlib: deps/zlib/
ISC: tests/clar/clar.c
LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c
CC0-1.0: src/util/rand.c

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---
 meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ross Burton March 8, 2023, 1:34 p.m. UTC | #1
On 2 Mar 2023, at 21:47, Sudip Mukherjee via lists.openembedded.org <sudipm.mukherjee=gmail.com@lists.openembedded.org> wrote:
> 
> The LICENSE did not have complete information.
> Some examples of missing license:
> 
> Zlib: deps/zlib/
> ISC: tests/clar/clar.c
> LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c
> CC0-1.0: src/util/rand.c
> 
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
> ---
> meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/libgit2/libgit2_1.5.1.bb b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> index 59866ce385..eb7b538ece 100644
> --- a/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> +++ b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> @@ -1,6 +1,6 @@
> SUMMARY = "the Git linkable library"
> HOMEPAGE = "http://libgit2.github.com/"
> -LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause"
> +LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause & Zlib & ISC & LGPL-2.1-or-later & CC0-1.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=112e6bb421dea73cd41de09e777f2d2c”

Can you also expand LIC_FILES_CHKSUM to cover these?

Ross
Sudip Mukherjee March 11, 2023, 1:03 p.m. UTC | #2
Hi Ross,

On Wed, 8 Mar 2023 at 13:35, Ross Burton <Ross.Burton@arm.com> wrote:
>
> On 2 Mar 2023, at 21:47, Sudip Mukherjee via lists.openembedded.org <sudipm.mukherjee=gmail.com@lists.openembedded.org> wrote:
> >
> > The LICENSE did not have complete information.
> > Some examples of missing license:
> >
> > Zlib: deps/zlib/
> > ISC: tests/clar/clar.c
> > LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c
> > CC0-1.0: src/util/rand.c
> >
> > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
> > ---
> > meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-support/libgit2/libgit2_1.5.1.bb b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> > index 59866ce385..eb7b538ece 100644
> > --- a/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> > +++ b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
> > @@ -1,6 +1,6 @@
> > SUMMARY = "the Git linkable library"
> > HOMEPAGE = "http://libgit2.github.com/"
> > -LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause"
> > +LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause & Zlib & ISC & LGPL-2.1-or-later & CC0-1.0"
> > LIC_FILES_CHKSUM = "file://COPYING;md5=112e6bb421dea73cd41de09e777f2d2c”
>
> Can you also expand LIC_FILES_CHKSUM to cover these?

They are already mentioned in the COPYING file which is in the
"LIC_FILES_CHKSUM",
I guess they were overlooked when libgit2 was last updated.

Zlib: https://github.com/libgit2/libgit2/blob/maint/v1.5/COPYING#L366
ISC: https://github.com/libgit2/libgit2/blob/maint/v1.5/COPYING#L391
LGPL-2.1-or-later:
https://github.com/libgit2/libgit2/blob/maint/v1.5/COPYING#L441
CC0-1.0: https://github.com/libgit2/libgit2/blob/maint/v1.5/COPYING#L1137
diff mbox series

Patch

diff --git a/meta/recipes-support/libgit2/libgit2_1.5.1.bb b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
index 59866ce385..eb7b538ece 100644
--- a/meta/recipes-support/libgit2/libgit2_1.5.1.bb
+++ b/meta/recipes-support/libgit2/libgit2_1.5.1.bb
@@ -1,6 +1,6 @@ 
 SUMMARY = "the Git linkable library"
 HOMEPAGE = "http://libgit2.github.com/"
-LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause"
+LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause & Zlib & ISC & LGPL-2.1-or-later & CC0-1.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=112e6bb421dea73cd41de09e777f2d2c"
 
 DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"