Skip to content

Commit 7aad91a

Browse files
committed
Add a licenses note file to the release bundle. (rust-lang#1047)
1 parent 2edb5b2 commit 7aad91a

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

scripts/ci/copyright-exclude

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ LICENSE-APACHE
1212
LICENSE-MIT
1313
Cargo.lock
1414
.png
15-
scripts/ci/copyright-exclude
15+
scripts/ci/copyright-exclude
16+
tools/make-kani-release/license-notes.txt
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
This file contains an inventory of software (and their licenses) that are included as part of the Kani Rust Verifier.
3+
4+
kani: https://github.com/model-checking/kani
5+
License: Apache-2.0 OR MIT
6+
7+
rustc: https://github.com/rust-lang/rust
8+
License: Apache-2.0 OR MIT (plus some BSD)
9+
More info: https://github.com/rust-lang/rust/blob/master/COPYRIGHT
10+
11+
cbmc: https://github.com/diffblue/cbmc
12+
License: BSD-4-Clause
13+
More info: https://github.com/diffblue/cbmc/blob/develop/LICENSE
14+
Acknowledgement:
15+
This product includes software developed by Daniel Kroening,
16+
Edmund Clarke,
17+
Computer Science Department, University of Oxford
18+
Computer Science Department, Carnegie Mellon University
19+
20+
cbmc-viewer: https://github.com/model-checking/cbmc-viewer
21+
License: Apache-2.0
22+
23+
colorama: https://github.com/tartley/colorama
24+
License: BSD-3-Clause
25+
26+
voluptuous: https://github.com/alecthomas/voluptuous
27+
License: BSD-3-Clause
28+
29+
jinja2: https://github.com/pallets/jinja
30+
License: BSD-3-Clause
31+
32+
setuptools: https://github.com/pypa/setuptools
33+
License: MIT
34+
35+
MarkupSafe: https://github.com/pallets/markupsafe
36+
License: BSD-3-Clause

tools/make-kani-release/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ fn bundle_kani(dir: &Path) -> Result<()> {
101101
// 4. Record the exact toolchain we use
102102
std::fs::write(dir.join("rust-toolchain-version"), env!("RUSTUP_TOOLCHAIN"))?;
103103

104+
// 5. Include a licensing note
105+
cp(Path::new("tools/make-kani-release/license-notes.txt"), dir)?;
106+
104107
Ok(())
105108
}
106109
/// Copy CBMC files into `dir`

0 commit comments

Comments
 (0)