diff mbox series

[meta-python,9/9] python3-grpcio: add licenses from third party components

Message ID 20250206191903.2324783-9-peter.marko@siemens.com
State Accepted
Headers show
Series [meta-python,1/9] python3-grpcio: drop obsolete variable | expand

Commit Message

Peter Marko Feb. 6, 2025, 7:19 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

After switching to unbundled build, there are still 4 components in
third_party directory which are used. Add their licenses.

* address_sorting - BSD-3-Clause (already present in main LICENSE)
  https://github.com/grpc/grpc/blob/master/third_party/address_sorting/LICENSE
* upb - BSD-3-Clause (already present in main LICENSE)
  there is a note in all files
* utf8_range - MIT
  https://github.com/grpc/grpc/blob/master/third_party/utf8_range/LICENSE
* xxhash - BSD-2-Clause
  https://github.com/grpc/grpc/blob/master/third_party/xxhash/LICENSE

License-Update: added missing licenses

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 .../recipes-devtools/python/python3-grpcio_1.69.0.bb      | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
index 8482240b68..b076298fef 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
@@ -1,8 +1,12 @@ 
 DESCRIPTION = "Google gRPC"
 HOMEPAGE = "http://www.grpc.io/"
 SECTION = "devel/python"
-LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
+LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0 & MIT & BSD-2-Clause"
+LIC_FILES_CHKSUM = " \
+    file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \
+    file://third_party/utf8_range/utf8_validity.h;beginline=1;endline=5;md5=db08ddb5817e660489678e7c3653805a \
+    file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \
+"
 
 DEPENDS += "abseil-cpp c-ares openssl python3-protobuf re2 zlib"