jerboa-bin --version: add Chez Scheme attribution line
ober
c0b478c715baa5801b72d663300aaaf824ae9247
--- a/docs/bundling-chez.md +++ b/docs/bundling-chez.md @@ -20,7 +20,7 @@ part of the normal build. This doc records how that works and what's left. | Docker | **Done** — image builds the same `vendor/ChezScheme` (glibc + a `--static` musl variant) | | `--static` musl | **Done** — `support/musl-chez-build*.sh`, Docker musl stage | | `--static` everywhere | **Partial** — a hermetic-build knob beyond musl/Linux isn't generalized | -| Licensing / attribution | **Partial** — root `LICENSE-CHEZ` + README credit done; `--version` line + lz4/zlib check TODO | +| Licensing / attribution | **Partial** — `LICENSE-CHEZ`, README credit, and `--version` line done; lz4/zlib redistribution check TODO | | Distribution story | **Open** — release-engineering decision | ## How it works today @@ -100,9 +100,9 @@ dirs; supports multiple independent instances. ## Remaining work -1. **Licensing / attribution (partly done).** Root `LICENSE-CHEZ` (the Chez - NOTICE + Apache 2.0 text) is in place and the README's License section - credits Chez. Still TODO: an attribution line in `jerboa-bin --version`, and +1. **Licensing / attribution (nearly done).** Root `LICENSE-CHEZ` (the Chez + NOTICE + Apache 2.0 text) is in place, the README's License section credits + Chez, and `jerboa-bin --version` prints a Chez attribution line. Still TODO: confirm lz4/zlib (vendored under `vendor/ChezScheme/`) are cleared for redistribution. Compliance, not theory — settle it before any tagged release. --- a/support/binary-entry.ss +++ b/support/binary-entry.ss @@ -31,7 +31,10 @@ (loop)])))] [(or (string=? (car args) "--version") (string=? (car args) "-v")) - (displayln "jerboa-bin 0.1.0")] + (displayln "jerboa-bin 0.1.0") + (displayln (string-append "Bundled " (scheme-version) + " (Apache 2.0, (c) Cisco Systems, Inc.)")) + (displayln "See LICENSE-CHEZ for Chez Scheme's NOTICE and license.")] [(or (string=? (car args) "--help") (string=? (car args) "-h")) (displayln "Usage: jerboa-bin [<script.ss> | --version | --help]")