chore: 许可证由 GPL-2.0 修正为 AGPL-3.0-only 并补全第三方归属声明

This commit is contained in:
mofeng-git
2026-09-22 10:00:25 +08:00
parent 22912707b5
commit 3d3110c3d7
12 changed files with 1662 additions and 89 deletions

View File

@@ -2,7 +2,7 @@
name = "one-kvm-bluetooth-hid"
version = "0.1.0"
edition = "2021"
license = "GPL-2.0"
license = "AGPL-3.0-only"
[dependencies]
bluer = { version = "0.17", features = ["bluetoothd", "l2cap"] }

View File

@@ -3,6 +3,9 @@ name = "hwcodec"
version = "0.8.0"
edition = "2021"
description = "Hardware video codec for IP-KVM (Windows/Linux)"
# This crate contains code derived from RustDesk hwcodec (AGPL-3.0).
# See NOTICE in this directory and the LICENSE file in the repository root.
license = "AGPL-3.0-only"
[package.metadata.cargo-machete]
ignored = ["serde"]

28
libs/hwcodec/NOTICE Normal file
View File

@@ -0,0 +1,28 @@
Third-Party Code Attribution
=============================
This crate (the Rust code under src/, the C/C++ code under cpp/, build.rs and
README.md) is derived from the hwcodec component of the RustDesk project
(https://github.com/rustdesk/rustdesk), "a real-time hardware codec library
for RustDesk based on FFmpeg".
Upstream work:
RustDesk hwcodec - https://github.com/rustdesk/rustdesk/tree/master/libs/hwcodec
Copyright (C) the RustDesk contributors
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only)
Modifications:
The code was ported, restructured and modified for the One-KVM build
(including FFmpeg integration changes described in README.md). Per sections
4 and 5 of the AGPL-3.0, the modified files remain licensed under
AGPL-3.0-only.
This library links against FFmpeg configured with --enable-gpl
(--enable-version3), x264 and x265, each distributed under the GPL-2.0-or-later
(see build/debian/copyright and the repository root LICENSE).
The complete AGPL-3.0 license text can be found in the LICENSE file at the
repository root and at: https://www.gnu.org/licenses/agpl-3.0.en.html
The corresponding source code of One-KVM is available at
https://github.com/mofeng-git/One-KVM (see the release tags).

View File

@@ -3,7 +3,7 @@ name = "ventoy-img"
version = "0.1.0"
edition = "2021"
description = "Create and manage Ventoy bootable IMG files without root or loop devices"
license = "GPL-2.0"
license = "AGPL-3.0-only"
[dependencies]
# CLI

View File

@@ -142,7 +142,11 @@ fn main() -> Result<()> {
## 许可证
GPL-2.0
AGPL-3.0-only
本 crate 随 One-KVM 整体按 AGPL-3.0-only 发布。其 `resources/` 目录内的
Ventoy 启动文件衍生自 [Ventoy](https://www.ventoy.net/)(GPL-3.0-or-later),
引导部分包含 [GRUB](https://www.gnu.org/software/grub/)(GPL-3.0-or-later)。
## 致谢