diff --git a/Cargo.toml b/Cargo.toml index 276ccc22..9e8e31ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,7 @@ turn = { path = "vendor/turn" } version = "0.2.0" edition = "2024" rust-version = "1.97" +license = "MIT" publish = false [workspace.dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..043335f3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 gccody + +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. diff --git a/README.md b/README.md index 6ffb8d70..e708b1c8 100644 --- a/README.md +++ b/README.md @@ -290,3 +290,9 @@ For developers: Windows, macOS and Linux, and why the gaps exist - [Transport security](docs/transport-security.md) - [The website](dashboard/README.md) and [the marketing page](site/README.md) + +## License + +MeshRMM is released under the [MIT License](LICENSE). The components it +includes from other projects keep their own licenses, listed in +[THIRD_PARTY_NOTICES.txt](THIRD_PARTY_NOTICES.txt). diff --git a/agent/Cargo.toml b/agent/Cargo.toml index b743789e..5d78a841 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-agent" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "The native MeshRMM endpoint agent" diff --git a/agent/protocol/Cargo.toml b/agent/protocol/Cargo.toml index 631ef480..e3f02bc3 100644 --- a/agent/protocol/Cargo.toml +++ b/agent/protocol/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-protocol" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] diff --git a/agent/windows/remote-screen/Cargo.toml b/agent/windows/remote-screen/Cargo.toml index 1f080351..cff9a20a 100644 --- a/agent/windows/remote-screen/Cargo.toml +++ b/agent/windows/remote-screen/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-remote-screen" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] diff --git a/crates/audio/Cargo.toml b/crates/audio/Cargo.toml index fea09a8b..45d99ab0 100644 --- a/crates/audio/Cargo.toml +++ b/crates/audio/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-audio" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] diff --git a/crates/chat/Cargo.toml b/crates/chat/Cargo.toml index 858b802f..523e8dbc 100644 --- a/crates/chat/Cargo.toml +++ b/crates/chat/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-chat" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] diff --git a/crates/clipboard/Cargo.toml b/crates/clipboard/Cargo.toml index 7344919b..8799d78c 100644 --- a/crates/clipboard/Cargo.toml +++ b/crates/clipboard/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-clipboard" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] workspace = true diff --git a/crates/file-transfer/Cargo.toml b/crates/file-transfer/Cargo.toml index 9aec09ae..f9136bcc 100644 --- a/crates/file-transfer/Cargo.toml +++ b/crates/file-transfer/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-file-transfer" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] workspace = true diff --git a/crates/log-file/Cargo.toml b/crates/log-file/Cargo.toml index d80a9f4a..c67165ea 100644 --- a/crates/log-file/Cargo.toml +++ b/crates/log-file/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-log-file" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "Bounded, non-blocking logging and size-limited, rotating log files shared by MeshRMM's native processes" diff --git a/crates/protocol-types/Cargo.toml b/crates/protocol-types/Cargo.toml index 23858dde..414f2104 100644 --- a/crates/protocol-types/Cargo.toml +++ b/crates/protocol-types/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-protocol-types" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "Lightweight JSON and identity types shared across MeshRMM components" diff --git a/crates/self-update/Cargo.toml b/crates/self-update/Cargo.toml index be1ba9e5..6ae6098b 100644 --- a/crates/self-update/Cargo.toml +++ b/crates/self-update/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-self-update" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "MeshRMM release manifest and update integrity checks" diff --git a/crates/session-transport/Cargo.toml b/crates/session-transport/Cargo.toml index c6b93852..362d7933 100644 --- a/crates/session-transport/Cargo.toml +++ b/crates/session-transport/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-session-transport" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true [lints] workspace = true diff --git a/crates/signaling-client/Cargo.toml b/crates/signaling-client/Cargo.toml index a8564272..3d028883 100644 --- a/crates/signaling-client/Cargo.toml +++ b/crates/signaling-client/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-signaling-client" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "Shared MeshRMM HTTP/WebSocket endpoint and authentication client" diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json index 1cfe5878..a8f7170f 100644 --- a/dashboard/package-lock.json +++ b/dashboard/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "meshrmm-website", "version": "0.2.0", + "license": "MIT", "dependencies": { "@fontsource-variable/instrument-sans": "5.3.0", "@xterm/addon-fit": "0.11.0", diff --git a/dashboard/package.json b/dashboard/package.json index d31ce7cf..62491fc2 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -2,6 +2,7 @@ "name": "meshrmm-website", "version": "0.2.0", "private": true, + "license": "MIT", "engines": { "node": ">=22.13.0" }, diff --git a/remote/Cargo.toml b/remote/Cargo.toml index ad25cac7..08bd16b1 100644 --- a/remote/Cargo.toml +++ b/remote/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-remote" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "The native MeshRMM computer-remoting application" diff --git a/scripts/package-server.sh b/scripts/package-server.sh index ef657060..ffe7d3fe 100755 --- a/scripts/package-server.sh +++ b/scripts/package-server.sh @@ -63,6 +63,7 @@ install -D -m 0644 "$ROOT_DIR/packaging/meshrmm-server.service" \ "$TREE/lib/systemd/system/meshrmm-server.service" install -D -m 0644 "$ROOT_DIR/server/server.example.toml" "$TREE/etc/meshrmm/server.example.toml" install -m 0755 "$ROOT_DIR/packaging/install.sh" "$TREE/install.sh" +install -m 0644 "$ROOT_DIR/LICENSE" "$TREE/LICENSE" install -m 0644 "$ROOT_DIR/THIRD_PARTY_NOTICES.txt" "$TREE/THIRD_PARTY_NOTICES.txt" # The same bytes for the same commit. diff --git a/server/Cargo.toml b/server/Cargo.toml index df3c0791..fd64c4e3 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -3,6 +3,7 @@ name = "meshrmm-server" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true publish.workspace = true description = "The self-hosted MeshRMM server"