Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
License validation tweaks for webpki.
Browse files Browse the repository at this point in the history
1) Tweak ISC license

Change author --> authors and eliminate a stray space. It now correctly
recognizes crates/inotify/LICENSE, and the other ISC licensed crates
(inotify, inotify-sys, libloading, untrusted) are still detected
correctly due to fuzzy matching.

2. Find crates/webpki/third-party/chromium/LICENSE.

These two changes make webpki pass license validation.

Test: ./crate_tool fix-licenses inotify inotify-sys libloading untrusted webpki
Change-Id: Ie7188d042c59e13006f2d28b732036c1ac7eda7f
  • Loading branch information
jfgoog committed Jan 28, 2025
1 parent b5086b5 commit 824a6b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ static LICENSE_GLOBS: &[&str] = &[
"COPYING",
"license",
"license.*",
"third-party/chromium/LICENSE",
];

pub(crate) fn find_license_files(
Expand Down
6 changes: 3 additions & 3 deletions tools/external_crates/license_checker/src/licenses/ISC.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Permission to use, copy, modify, and /or distribute this software for
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
Expand Down

0 comments on commit 824a6b4

Please sign in to comment.