Skip to content

Commit

Permalink
chore: Approve new licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Nov 30, 2023
1 parent 7cce417 commit 4af72e4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tools/thirdparty/about.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,10 @@ license = "MIT"
[[typenum.clarify.git]]
path = "LICENSE-MIT"
checksum = "a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f"

[openssl.clarify]
license = "Apache-2.0"

[[openssl.clarify.git]]
path = "openssl/LICENSE"
checksum = "f3d4287b4a21c5176fea2f9bd4ae800696004e2fb8e05cbc818be513f188a941"
2 changes: 1 addition & 1 deletion tools/thirdparty/approved_licenses.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"allow_defaults": ["block--0.1.6", "objc_id--0.1.1", "objc-foundation--0.1.1", "winapi-wsapoll--0.1.1"],
"apache": ["line-wrap--0.1.1", "ryu--1.0.15", "gethostname--0.2.3", "supports-color--1.3.1", "openssl--0.10.57"],
"apache": ["line-wrap--0.1.1", "ryu--1.0.15", "gethostname--0.2.3", "supports-color--1.3.1", "openssl--0.10.60"],
"badly_formatted": ["chrono--0.4.31", "is_ci--1.1.1"]
}
3 changes: 3 additions & 0 deletions tools/thirdparty/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ fi
# Cargo packages
cargo about generate -c "$PROGDIR/about.toml" "$PROGDIR/templates/html.hbs" >"$PROGDIR/../../THIRDPARTY.html"

# Additional Third Party
sd '__OPENSSL_LICENSE__' "$(curl -s -L https://raw.githubusercontent.com/sfackler/rust-openssl/48b8e81e807b6f589ae66fed9567084c3d833b83/THIRD_PARTY)" "$PROGDIR/../../THIRDPARTY.html"

# Themes
sd '__BASE16_TEXTMATE__' "$(cat "$PROGDIR"/../../.cache/themes/LICENSE.md | awk 'NR > 1')" "$PROGDIR/../../THIRDPARTY.html"

Expand Down
8 changes: 8 additions & 0 deletions tools/thirdparty/templates/html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
{{/each}}
</ul>

<h2>Additional Third Party</h2>
<ul class="licenses-list">
<li class="license">
<h3>OpenSSL</h3>
<pre class="license-text">__OPENSSL_LICENSE__</pre>
</li>
</ul>

<h2>Themes</h2>
<ul class="licenses-list">
<li class="license">
Expand Down

0 comments on commit 4af72e4

Please sign in to comment.