-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…inux/license-scan-rust
- Loading branch information
Showing
8 changed files
with
302 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[clarify.askalono] | ||
expression = "Apache-2.0" | ||
license-files = [ | ||
{ path = "LICENSE", hash = 0x18785531 }, | ||
{ path = "NOTICE", hash = 0x96b3ea7d }, | ||
] | ||
skip-files = [ | ||
"src/license.rs" # source code named "license"... | ||
] | ||
|
||
[clarify.backtrace-sys] | ||
# backtrace-sys is MIT/Apache-2.0, libbacktrace is BSD-3-Clause | ||
expression = "(MIT OR Apache-2.0) AND BSD-3-Clause" | ||
license-files = [ | ||
{ path = "src/libbacktrace/LICENSE", hash = 0x0ce09262 }, | ||
] | ||
|
||
[clarify.crossbeam-channel] | ||
expression = "(MIT OR Apache-2.0) AND BSD-2-Clause AND CC-BY-3.0" | ||
license-files = [ | ||
{ path = "LICENSE-APACHE", hash = 0x24b54f4b }, | ||
{ path = "LICENSE-MIT", hash = 0xbc436f08 }, | ||
{ path = "LICENSE-THIRD-PARTY", hash = 0xc6242648 }, | ||
] | ||
|
||
[clarify.crossbeam-queue] | ||
expression = "(MIT OR Apache-2.0) AND BSD-2-Clause-FreeBSD" | ||
license-files = [ | ||
{ path = "LICENSE-APACHE", hash = 0x24b54f4b }, | ||
{ path = "LICENSE-MIT", hash = 0xbc436f08 }, | ||
{ path = "LICENSE-THIRD-PARTY", hash = 0x7e40bc60 }, | ||
] | ||
|
||
[clarify.regex] | ||
expression = "MIT OR Apache-2.0" | ||
license-files = [ | ||
{ path = "LICENSE-APACHE", hash = 0x24b54f4b }, | ||
{ path = "LICENSE-MIT", hash = 0xb755395b }, | ||
] | ||
skip-files = [ | ||
"src/testdata/LICENSE", # we aren't using the test data | ||
] | ||
|
||
[clarify.regex-syntax] | ||
expression = "(MIT OR Apache-2.0) AND Unicode-DFS-2016" | ||
license-files = [ | ||
{ path = "LICENSE-APACHE", hash = 0x24b54f4b }, | ||
{ path = "LICENSE-MIT", hash = 0xb755395b }, | ||
{ path = "src/unicode_tables/LICENSE-UNICODE", hash = 0xa7f28b93 }, | ||
] | ||
|
||
[clarify.zstd-sys] | ||
# zstd-sys is MIT OR Apache-2.0 | ||
# libzstd is GPL-2.0-only OR BSD-3-Clause (selecting BSD-3-Clause) | ||
expression = "(MIT OR Apache-2.0) AND BSD-3-Clause" | ||
license-files = [ | ||
{ path = "zstd/LICENSE", hash = 0x79cda15 }, | ||
] | ||
skip-files = [ | ||
"zstd/COPYING", # copy of the GPLv2 we are not choosing from libzstd's dual license | ||
"zstd/contrib/linux-kernel/COPYING", # kernel source and patches for adding zstd (?!), not used | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.