buninu-linux 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/NOTICE.md +22 -2
  2. package/README.md +14 -11
  3. package/package.json +1 -1
package/NOTICE.md CHANGED
@@ -7,6 +7,10 @@ The full license texts are in `LICENSES/`. Every SHA-256 here was checked
7
7
  byte-for-byte against the official Alpine Linux v3.24 x86_64 package (or the
8
8
  official Bun release) it came from.
9
9
 
10
+ The sections below cover the platform: the kernel, the C library, the GCC
11
+ runtime, the UEFI stub and Bun. The Buninu userspace under `initramfs/buninu/`
12
+ carries its own third-party notices; see the last section.
13
+
10
14
  Alpine's CDN serves only the current pkgrel of each branch, so the package
11
15
  URLs below stop working once a build is superseded. The pinned aports commits
12
16
  are permanent and are the Corresponding Source for each exact build.
@@ -58,8 +62,9 @@ libraries' own sources.
58
62
 
59
63
  - Upstream source: https://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/gcc-15.2.0.tar.xz
60
64
  - Alpine build recipe and patches (Corresponding Source), pinned to the commit
61
- shipping pkgrel=5:
62
- https://gitlab.alpinelinux.org/alpine/aports/-/blob/fd4fecacbfd0cd40be42efa3c9d72bc03a88428c/main/gcc/APKBUILD
65
+ the packages record in their `.PKGINFO` (`commit = 423a8ad…`; the follow-up
66
+ `fd4fecac…` keeps pkgrel=5 and changes only packaging metadata):
67
+ https://gitlab.alpinelinux.org/alpine/aports/-/blob/423a8ad043d07f2c7546c8ec3e2b0384cda360ae/main/gcc/APKBUILD
63
68
  - Packages:
64
69
  https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libgcc-15.2.0-r5.apk
65
70
  SHA-256 `393dcd32629f06d7d85409c272d142d0c082772d10b87ef55ee82f47de3be637`
@@ -182,3 +187,18 @@ SHA-256 of the shipped file:
182
187
  ```text
183
188
  initramfs/bin/bun 16b72935ffd7a503b978c186874539c92aade4e3515b70a5abf5db2581fdef7d
184
189
  ```
190
+
191
+ ## Buninu userspace
192
+
193
+ `initramfs/buninu/` is the Buninu userspace (version 0.4.12, MIT; see
194
+ `initramfs/buninu/LICENSE`), copied verbatim from
195
+ https://github.com/jjtseng93/buninu and packed whole into the initramfs. It
196
+ bundles third-party material that is documented next to the files that use
197
+ it rather than repeated here:
198
+
199
+ | Path | What it covers |
200
+ |---|---|
201
+ | `initramfs/buninu/apps/musl-la/NOTICE` | Three aarch64 binaries committed in this repository and shipped in the image: `ld-musl-aarch64.so.1` (musl 1.2.5, MIT) and `libgcc_s.so.1` / `libstdc++.so.6` (GCC 14.2.0, GPL-3.0-or-later WITH GCC-exception-3.1), with SHA-256 and Corresponding Source. License texts in `LICENSE_musl.txt` and `LICENSES/`. |
202
+ | `initramfs/buninu/apps/jsgotty/NOTICE` and `LICENSE` | js-gotty, an MIT derivative of gotty (Iwasaki Yudai, Søren L. Hansen); bundles `zmodem.js` (Apache-2.0, `LICENSES/Apache-2.0-zmodem.js.txt`). `static/js/gotty.licenses.txt` lists the licenses of everything in the browser bundle (xterm.js and its addons, preact, bootstrap, …), `node_modules/*/LICENSE*` cover `ws` and `node-addon-api`, and `patches/` carries patched files from `node-pty` (MIT, headers kept). |
203
+ | `initramfs/buninu/apps/jsmdcui/LICENSE` and `runtime/syntax/LICENSE` | jsmdcui, an MIT derivative of the micro editor (Zachary Yedidia et al.); the syntax and colorscheme files are micro's, MIT. |
204
+ | `initramfs/buninu/apps/bunmsh/LICENSE`, `LICENSE-MICRO`, `LICENSE-MKSH` | bunmsh (MIT) and the terms for what it derives from micro's syntax rules and from the MirBSD Korn Shell. |
package/README.md CHANGED
@@ -511,14 +511,15 @@ the exact version, package and SHA-256 that ships here.
511
511
 
512
512
  ## License
513
513
 
514
- Everything in this repository that is not listed in the table below — the
515
- build scripts, `hello/hello.c`, `init.js`, the retired bootstrap, and the
516
- configuration and metadata files — is Buninu Linux's own work under the MIT
517
- License; see [LICENSE](LICENSE).
514
+ Buninu Linux's own work — the build scripts, `hello/hello.c`, `init.js`, the
515
+ retired bootstrap, and the configuration and metadata files — is under the
516
+ MIT License; see [LICENSE](LICENSE). The Buninu userspace under
517
+ `initramfs/buninu/` is also MIT (`initramfs/buninu/LICENSE`) and carries its
518
+ own third-party notices, listed at the end of [NOTICE.md](NOTICE.md).
518
519
 
519
- The repository also commits four third-party binaries under `initramfs/lib/`,
520
- and the built image redistributes several more. Each stays under its own
521
- terms, with the full texts in [`LICENSES/`](LICENSES/):
520
+ The repository also commits four third-party platform binaries under
521
+ `initramfs/lib/`, and the built image redistributes several more. Each stays
522
+ under its own terms, with the full texts in [`LICENSES/`](LICENSES/):
522
523
 
523
524
  | Component | License | Where |
524
525
  |---|---|---|
@@ -529,9 +530,11 @@ terms, with the full texts in [`LICENSES/`](LICENSES/):
529
530
  | Bun | MIT, plus the licenses of what it statically links | image only |
530
531
 
531
532
  One component is worth naming here rather than leaving to be found: the two
532
- GCC runtime libraries are **GPL-3.0 with the GCC Runtime Library Exception**.
533
- That exception is what lets them ship next to MIT-licensed code, so nothing
534
- here changes Buninu Linux's own terms — but if your organisation screens for
535
- GPL, this is the component it will find. [NOTICE.md](NOTICE.md) records the
533
+ GCC runtime libraries are **GPL-3.0 with the GCC Runtime Library Exception**
534
+ (as are the aarch64 `libgcc_s.so.1` / `libstdc++.so.6` that Buninu's
535
+ `apps/musl-la/` commits and the image carries along). That exception is what
536
+ lets them ship next to MIT-licensed code, so nothing here changes Buninu
537
+ Linux's own terms — but if your organisation screens for GPL, these are the
538
+ components it will find. [NOTICE.md](NOTICE.md) records the
536
539
  exact Alpine build of every component, the pinned aports commit that is its
537
540
  Corresponding Source, and SHA-256 sums for every binary.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buninu-linux",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A Linux distribution running Bun as PID 1 with the Buninu userspace.",
5
5
  "type": "module",
6
6
  "main": "./index.js",