Files
makronix/docs/LICENSES.md
T
lotherk bfb8f1a32e source set: one tree, usr/src, the whole repository
The source medium carried six sets: NetBSD's src, gnusrc, syssrc and
sharesrc at /usr/src, xsrc at /usr/xsrc and msrc at /usr/msrc.  Makronix is
one tree, so there is one set now: src.tgz, unpacked to /usr/src, with the
repository as it is -- src/, xsrc/, ext/, pkgsrc/, mobile/, www/, docs/,
tools/, the root files, PINS, packages.list, distfiles.lst and distfiles/
(only the archives of the Makronix packages).

- makesrctars -m packs the staged tree as usr/src and skips the split sets.
  It keeps the modes and the links of the repository (pkgsrc and tools run
  their scripts directly); build.sh gets the directory as MAKROSRCDIR.
- tools/srctree-stage.sh replaces tools/msrc-stage.sh.  It copies git's file
  list of the root repository and of pkgsrc (tracked files plus the untracked
  Makronix recipes: AGENTS.md, wm/mcde, x11/mcde-motif,
  filesystems/afpfs-ng), stages the distfiles, and puts the pkgsrc patch
  names that ustar cannot store into pkgsrc-longnames.cpio.
- makesrctars removes source sets of the old layout from
  RELEASEDIR/source/sets before it writes, so no stale gnusrc/msrc/xsrc can
  travel on a medium.

Measured: tools/srctree-stage.sh -> 462655 entries, 11 GB, 214 names in
pkgsrc-longnames.cpio; make sourcesets verified distfiles.lst (2010 archives,
0 missing, 0 wrong hash) and wrote RELEASEDIR/source/sets/src.tgz
(build/logs/sourcesets-2026-11-15.log).

The installer side is not in this commit: it is being changed in the same
tree by the sysinst profile work (tasksd t0260) -- one SET_SRC, the long-name
extraction from /usr/src/pkgsrc, the messages and sysinst.8.
docs/OFFLINE-BUILD.md, docs/BUILD-VM.md, docs/LICENSES.md and GOAL.md
describe the one tree.
2026-11-15 21:45:20 +00:00

48 lines
2.0 KiB
Markdown

# Licences in the Makronix tree
License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
This file states, in one place, what licence applies where. It is a summary;
the authoritative notice is the `LICENSE` file or the notice at the top of the
file or directory in question.
## Makronix's own work -- CNCL 1.0
`LICENSE` at the root is the CNCL 1.0 (Could Not Care Less License 1.0). Files
written for Makronix carry the line
License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
New files in a fork get this line. Files changed from upstream keep the notice
they already had.
## Imported and upstream trees -- their own licences
- `src/` -- NetBSD (BSD licence). Makronix's NetBSD tree, edited in place;
see `src/BASE` for the upstream commit.
- `xsrc/` -- the X tree (MIT/X11 and others as carried by the files).
- `pkgsrc/` -- the pkgsrc tree (its per-package licences and notices).
- `refs/*` -- pinned upstream/reference repositories, each under its own
licence.
- `ext/src/mcde/` -- MCDE/CDE: LGPL 2.0 or later (see the notices in that
tree).
- `ext/src/afpfs-ng/` -- afpfs-ng: GPL (see the notices in that tree); changes
marked "Makronix" in the source.
- Other trees under `ext/` keep the licence they came with (`IMPORT` records
the origin).
## Source set and installed system (status 2026-11-15, tasksd t0233)
The source set (assembled by `tools/srctree-stage.sh`) carries `LICENSE`,
`GOAL.md`, `AGENTS.md`, `ROADMAP.md` and `ISSUES.md` at its root
(`/usr/src/` when unpacked), so a system rebuilt from the source set has the
CNCL text and the project documents.
On an installed system the CNCL text is installed as
`/usr/share/doc/makronix/LICENSE` (from `src/share/doc/makronix/LICENSE`,
built via `src/share/doc/makronix/Makefile` and listed in
`src/distrib/sets/lists/base/mi`). A banner/motd reference was not added.
**Still open:** regenerate/verify a fresh source set so
`tar -tzf src.tgz` contains `usr/src/LICENSE` (and the other root docs).