legal: TCC and Lua license declarations

- THIRD-PARTY-NOTICES.txt gains sections for the Tiny C Compiler
  (0.9.28rc, LGPL-2.1, modified for MontaukOS; source in
  programs/src/tcc/) and Lua (5.4.8, MIT, Lua.org PUC-Rio).
- LGPL-2.1 full text ships at 0:/os/licenses/LGPL-2.1.txt (copied from
  the vendored TCC COPYING); Lua's MIT text is reproduced in the
  notices file.
- Both components added to the license's third-party list and man legal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-08 15:09:22 +02:00
parent 80fb44bee9
commit d7bc6c5c91
5 changed files with 749 additions and 1 deletions
+59
View File
@@ -248,6 +248,65 @@ exception, is included on the MontaukOS ISO at 0:/os/licenses/AGPL-3.0-C059.txt.
themselves, available unmodified from the upstream repository above.
================================================================================
10. Tiny C Compiler (TCC)
================================================================================
Shipped as the bundled C compiler (tcc.elf) with its runtime libraries and
headers on the ISO (0:/lib/tcc/). MontaukOS ships a modified version of TCC
0.9.28rc, ported to target MontaukOS (added platform startup/compatibility
code and a MontaukOS sysroot).
Copyright (c) 2001-2004 Fabrice Bellard, and TCC contributors
Upstream: https://repo.or.cz/tinycc.git
License: GNU Lesser General Public License, version 2.1 (LGPL-2.1)
TCC is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
IMPORTANT: TCC is licensed under LGPL-2.1, separately from MontaukOS itself.
The MontaukOS Software License does NOT apply to TCC. The full LGPL-2.1
license text is included on the MontaukOS ISO at
0:/os/licenses/LGPL-2.1.txt.
MODIFICATIONS AND SOURCE: The complete source code of the modified TCC as
shipped, marked as modified, is published in the MontaukOS source tree
(programs/src/tcc/) and is also available on request:
daniel@nexlink.cloud.
================================================================================
11. Lua
================================================================================
Shipped as the bundled Lua interpreter (lua.elf), Lua 5.4.8, with its static
library and headers on the ISO (0:/lib/lua/).
License: MIT License
Copyright (C) 1994-2025 Lua.org, PUC-Rio.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================================================
For licensing inquiries regarding MontaukOS itself, contact: daniel@nexlink.cloud
================================================================================
+181
View File
@@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="MontaukOS Software License">
<title>License - MontaukOS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Open Sans', Arial, sans-serif;
max-width: 960px;
margin: 0 auto;
padding: 1em;
line-height: 1.5;
display: flex;
gap: 2em;
}
p { margin: 0 0 0.5em; }
h2 { margin: 0.75em 0 0.25em; }
.sidebar {
width: 160px;
flex-shrink: 0;
}
.sidebar ul {
list-style: none;
padding: 0;
}
.sidebar li {
margin: 0.5em 0;
}
.sidebar a {
color: #0066CC;
text-decoration: none;
font-weight: 600;
}
.sidebar a:hover {
color: #004499;
text-decoration: underline;
}
.main {
flex: 1;
min-width: 0;
}
a { color: #0000EE; }
a:visited { color: #0066CC; }
hr { border-style: solid; border-width: 1px 0 0 0; border-color: #999; }
.center { text-align: center; }
</style>
</head>
<body>
<div class="sidebar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="downloads.html">Downloads</a></li>
<li><a href="docs/index.html">Documentation</a></li>
</ul>
</div>
<div class="main">
<div class="center">
<h1>MontaukOS Software License</h1>
</div>
<hr>
<p>Copyright (c) 2025-2026 Daniel Hammer (the "MontaukOS Project").</p>
<p>This document governs the use of MontaukOS, including its kernel, userspace
programs, libraries, bootable images, documentation, artwork, and all
accompanying materials (collectively, the "Software"), except for the
third-party components described in Section 5. MontaukOS is source-available
software: its source code is published for anyone to read, build, and modify,
subject to the terms below.</p>
<p>A plain-text version of this license is available at
<a href="license.txt">license.txt</a>.</p>
<h2>1. Grant of Rights</h2>
<p>Subject to the conditions in Section 2, the MontaukOS Project grants you a
worldwide, royalty-free, non-exclusive license to:</p>
<ul>
<li>(a) use and run the Software on any device, for any purpose;</li>
<li>(b) view, study, and build the Software from source;</li>
<li>(c) copy and redistribute the Software, in source or binary form;</li>
<li>(d) modify the Software and create derivative works of it; and</li>
<li>(e) copy and redistribute your modified versions, in source or binary form.</li>
</ul>
<h2>2. Conditions</h2>
<p>The rights in Section 1 are conditioned on the following:</p>
<ul>
<li>(a) <strong>Attribution.</strong> Redistributions, modified or not, must retain the above
copyright notice, this license text, and the THIRD-PARTY-NOTICES file. You may
not remove or obscure copyright or license notices in the Software.</li>
<li>(b) <strong>No misrepresentation.</strong> You must not misrepresent the origin of the
Software. Modified versions must be clearly marked as modified and must not be
presented as official MontaukOS releases.</li>
<li>(c) <strong>Noncommercial distribution.</strong> You may not sell the Software or modified
versions of it, charge a fee for access to them, or distribute them as part of
a commercial product or paid service, without prior written permission from
the MontaukOS Project. Using the Software internally (including in a
commercial setting) and distributing it free of charge are permitted.</li>
<li>(d) <strong>Names and marks.</strong> This license does not grant rights to use the
"MontaukOS" name or logos, except as needed for the factual attribution
required above.</li>
</ul>
<h2>3. Contributions and Feedback</h2>
<p>If you submit code, suggestions, or other feedback to the MontaukOS Project,
you grant the MontaukOS Project a perpetual, irrevocable, worldwide,
royalty-free license to use, modify, and incorporate it for any purpose.</p>
<h2>4. Termination</h2>
<p>This license terminates automatically if you materially breach its terms and
fail to cure the breach within 30 days of becoming aware of it. Upon
termination you must stop distributing the Software; copies already lawfully
obtained by others are unaffected. Sections 3, 5, 6, and 7 survive
termination.</p>
<h2>5. Third-Party Components</h2>
<p>The Software incorporates or is distributed alongside third-party components
that remain the property of their respective owners and are licensed under
their own terms, including the Limine bootloader, BearSSL, stb_image, the DOOM
engine (via doomgeneric), the Tiny C Compiler, Lua, the Flat Remix icon theme,
and the bundled fonts.
Nothing in this license modifies, supersedes, or limits the license terms
applicable to those components; to the extent of any conflict, the third-party
license controls for that component. The applicable copyright notices and
license texts are set out in the
<a href="THIRD-PARTY-NOTICES.txt">THIRD-PARTY-NOTICES</a> file that accompanies
the Software (also on the MontaukOS ISO at <code>0:/os/licenses/</code>).</p>
<h2>6. No Warranty</h2>
<p>THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE," WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
MONTAUKOS IS EXPERIMENTAL, HOBBYIST SYSTEM SOFTWARE THAT OPERATES AT A LOW
LEVEL AND MAY CAUSE LOSS OF DATA OR DAMAGE TO HARDWARE; YOU USE IT ENTIRELY AT
YOUR OWN RISK.</p>
<h2>7. Limitation of Liability</h2>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL THE
MONTAUKOS PROJECT OR ITS AUTHOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR FOR ANY LOSS OF PROFITS, DATA,
USE, OR GOODWILL, ARISING OUT OF OR RELATED TO YOUR USE OF OR INABILITY TO USE
THE SOFTWARE, WHETHER BASED IN CONTRACT, TORT, OR ANY OTHER LEGAL THEORY, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE TOTAL AGGREGATE LIABILITY OF
THE MONTAUKOS PROJECT SHALL NOT EXCEED THE AMOUNT YOU PAID, IF ANY, FOR THE
SOFTWARE.</p>
<h2>8. General</h2>
<p>If any provision of this license is held unenforceable, the remaining
provisions remain in full force and effect. The failure to enforce any
provision is not a waiver of the right to do so later.</p>
<p>For licensing inquiries (including commercial distribution), contact:
daniel@nexlink.cloud</p>
<hr>
<div class="center">
<a href="index.html">Back to Home</a>
</div>
</div>
</body>
</html>
+2 -1
View File
@@ -72,7 +72,8 @@ obtained by others are unaffected. Sections 3, 5, 6, and 7 survive termination.
The Software incorporates or is distributed alongside third-party components
that remain the property of their respective owners and are licensed under
their own terms, including the Limine bootloader, BearSSL, stb_image, the DOOM
engine (via doomgeneric), the Flat Remix icon theme, and the bundled fonts.
engine (via doomgeneric), the Tiny C Compiler, Lua, the Flat Remix icon theme,
and the bundled fonts.
Nothing in this license modifies, supersedes, or limits the license terms
applicable to those components; to the extent of any conflict, the third-party
license controls for that component. The applicable copyright notices and