Skip to contentSkip to conversation

libgit2: update license information

PATCH In review Sudip Mukherjee 2 participants 3 messages Mar 2, 2023 – Mar 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgit2: update license information

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

---
 meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libgit2/libgit2_1.5.1.bb +1 -1
index 59866ce385..eb7b538ece 100644
@@ -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"
Signature · 1 line
2.30.2
#1 lore raw
Quoted 23 lines · Sudip Mukherjee via lists.openembedded.org

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

---
meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libgit2/libgit2_1.5.1.bb +0 -0
index 59866ce385..eb7b538ece 100644
@@ -1,6 +1,6 @@

SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"

meta/recipes-support/libgit2/libgit2_1.5.1.bb +1 -1
-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"
Quoted 1 line

LIC_FILES_CHKSUM = "file://COPYING;md5=112e6bb421dea73cd41de09e777f2d2c”

Can you also expand LIC_FILES_CHKSUM to cover these?

Ross

#2 lore raw

Hi Ross,

Quoted 16 lines · Ross Burton
Quoted 14 lines · Sudip Mukherjee via lists.openembedded.org

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

---
meta/recipes-support/libgit2/libgit2_1.5.1.bb | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines
Quoted 10 lines
meta/recipes-support/libgit2/libgit2_1.5.1.bb +0 -0
index 59866ce385..eb7b538ece 100644
@@ -1,6 +1,6 @@

SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"

meta/recipes-support/libgit2/libgit2_1.5.1.bb +1 -1
-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

Signature · 2 lines
Regards
Sudip