From 9dd80d49211849313b364e5a574c530b3aa8e790 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Thu, 13 Oct 2022 11:58:39 -0700 Subject: [PATCH] cg: update cglicenses.json for CLI dependencies --- .vscode/cglicenses.schema.json | 25 +++++++++++++++ cglicenses.json | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/.vscode/cglicenses.schema.json b/.vscode/cglicenses.schema.json index 8c0ee740102..8131a35217a 100644 --- a/.vscode/cglicenses.schema.json +++ b/.vscode/cglicenses.schema.json @@ -55,6 +55,31 @@ } } } + }, + { + "type": "object", + "required": [ + "name", + "fullLicenseTextUri" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of the dependency" + }, + "fullLicenseTextUri": { + "type": "string", + "description": "The URI to the license text of this repository", + "format": "uri" + }, + "prependLicenseText": { + "type": "array", + "description": "A piece of text to prepend to the auto-detected license text of the dependency", + "items": { + "type": "string" + } + } + } } ] } diff --git a/cglicenses.json b/cglicenses.json index eee2d66c8ef..3ae9d66c848 100644 --- a/cglicenses.json +++ b/cglicenses.json @@ -258,5 +258,62 @@ "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN", "THE SOFTWARE." ] + }, + { + // Reason: The crate is old and has been deleted from GH + "name": "block-modes", + "fullLicenseText": [ + "Copyright (c) 2018 The RustCrypto Project Developers", + "Copyright (c) 2018 Artyom Pavlov", + "", + "Permission is hereby granted, free of charge, to any", + "person obtaining a copy of this software and associated", + "documentation files (the \"Software\"), to deal in the", + "Software without restriction, including without", + "limitation the rights to use, copy, modify, merge,", + "publish, distribute, sublicense, and/or sell copies of", + "the Software, and to permit persons to whom the Software", + "is furnished to do so, subject to the following", + "conditions:", + "", + "The above copyright notice and this permission notice", + "shall be included in all copies or substantial portions", + "of the Software.", + "", + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF", + "ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED", + "TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A", + "PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT", + "SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY", + "CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION", + "OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR", + "IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER", + "DEALINGS IN THE SOFTWARE." + ] + }, + { + // Reason: repo URI is wrong on crate, pending https://github.com/warp-tech/russh/pull/53 + "name": "russh-cryptovec", + "fullLicenseTextUri": "https://raw.githubusercontent.com/warp-tech/russh/1da80d0d599b6ee2d257c544c0d6af4f649c9029/LICENSE-2.0.txt" + }, + { + // Reason: repo URI is wrong on crate, pending https://github.com/warp-tech/russh/pull/53 + "name": "russh-keys", + "fullLicenseTextUri": "https://raw.githubusercontent.com/warp-tech/russh/1da80d0d599b6ee2d257c544c0d6af4f649c9029/LICENSE-2.0.txt" + }, + { + // Reason: license is in a subdirectory in repo + "name": "dirs-next", + "fullLicenseTextUri": "https://raw.githubusercontent.com/xdg-rs/dirs/af4aa39daba0ac68e222962a5aca17360158b7cc/dirs/LICENSE-MIT" + }, + { + // Reason: license is in a subdirectory in repo + "name": "openssl", + "fullLicenseTextUri": "https://raw.githubusercontent.com/sfackler/rust-openssl/e43eb58540b27a17f8029c397e3edc12bbc9011f/openssl/LICENSE" + }, + { + // Reason: license is in a subdirectory in repo + "name": "openssl-sys", + "fullLicenseTextUri": "https://raw.githubusercontent.com/sfackler/rust-openssl/e43eb58540b27a17f8029c397e3edc12bbc9011f/openssl-sys/LICENSE-MIT" } ]