license: adopt MIT for the application + add THIRD_PARTY_LICENSES
cargo-deny / cargo-deny (push) Has been cancelled
windows-build / windows-build (push) Has been cancelled

Set license = "MIT" (Cargo.toml), add the MIT LICENSE file, and switch the
PKGBUILD to license=('MIT'). Generate a THIRD_PARTY_LICENSES file enumerating
the full dependency-graph manifest plus the canonical text of every referenced
license, with notices for the statically-bundled Opus codec and the embedded
fonts (Iced-Icons, Cantarell/OFL-1.1). Ship both files in the .deb and Arch
packages. Update README License section and stale private-build metadata.

Codex (gpt-5.5) audited the tree and confirmed no copyleft blocks MIT; the
remaining items were asset provenance + binary-distribution notice hygiene,
which THIRD_PARTY_LICENSES addresses.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-28 15:24:43 -04:00
co-authored by Claude Opus 4.8
parent 1c8c37b248
commit 47be7c340d
6 changed files with 1865 additions and 8 deletions
+5 -3
View File
@@ -3,8 +3,8 @@ name = "peerspeak"
version = "0.6.0" version = "0.6.0"
edition = "2024" edition = "2024"
description = "Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)" description = "Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)"
# Application crate, not a crates.io library — refuse `cargo publish` and let license = "MIT"
# cargo-deny's [licenses.private] skip the missing-license check. # Application crate, not published to crates.io — refuse `cargo publish`.
publish = false publish = false
# Debian/Ubuntu packaging (cargo-deb). Mirrors packaging/PKGBUILD: only the main # Debian/Ubuntu packaging (cargo-deb). Mirrors packaging/PKGBUILD: only the main
@@ -14,7 +14,7 @@ publish = false
# distrobox so the binary links that distro's glibc, then `cargo deb --no-build`. # distrobox so the binary links that distro's glibc, then `cargo deb --no-build`.
[package.metadata.deb] [package.metadata.deb]
maintainer = "mollusk <jitty+lc1iz0dc@protonmail.com>" maintainer = "mollusk <jitty+lc1iz0dc@protonmail.com>"
copyright = "2026, mollusk. Private build — not for redistribution." copyright = "2026, mollusk. MIT License."
section = "net" section = "net"
priority = "optional" priority = "optional"
depends = "$auto" depends = "$auto"
@@ -33,6 +33,8 @@ assets = [
["assets/icons/peerspeak-128.png", "usr/share/icons/hicolor/128x128/apps/peerspeak.png", "644"], ["assets/icons/peerspeak-128.png", "usr/share/icons/hicolor/128x128/apps/peerspeak.png", "644"],
["assets/icons/peerspeak-256.png", "usr/share/icons/hicolor/256x256/apps/peerspeak.png", "644"], ["assets/icons/peerspeak-256.png", "usr/share/icons/hicolor/256x256/apps/peerspeak.png", "644"],
["assets/icons/peerspeak-512.png", "usr/share/icons/hicolor/512x512/apps/peerspeak.png", "644"], ["assets/icons/peerspeak-512.png", "usr/share/icons/hicolor/512x512/apps/peerspeak.png", "644"],
["LICENSE", "usr/share/doc/peerspeak/", "644"],
["THIRD_PARTY_LICENSES", "usr/share/doc/peerspeak/", "644"],
] ]
[lib] [lib]
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 mollusk
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.
+6 -1
View File
@@ -107,4 +107,9 @@ At runtime you need a running **PipeWire** server. Screen sharing additionally r
## License ## License
Private build — not for redistribution. See `Cargo.toml` for details. PeerSpeak is licensed under the [MIT License](LICENSE), © 2026 mollusk.
Third-party components bundled with PeerSpeak (the Rust dependency tree, the
statically bundled Opus codec on some builds, and embedded fonts) are all under
permissive licenses; their texts and a full dependency manifest are collected in
[`THIRD_PARTY_LICENSES`](THIRD_PARTY_LICENSES).
+1824
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -81,8 +81,8 @@ allow = [
confidence-threshold = 0.8 confidence-threshold = 0.8
exceptions = [] exceptions = []
# peerspeak itself has no `license` field and is not published, so skip the # peerspeak is MIT-licensed (see Cargo.toml `license` + the LICENSE file) but is
# "unlicensed" check for our own (private) crate. Add a license to Cargo.toml # not published to crates.io, so keep the private-crate skip for the
# if/when this is ever published. # "unlicensed"/publish checks. MIT is already in the allow list above.
[licenses.private] [licenses.private]
ignore = true ignore = true
+6 -1
View File
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)" pkgdesc="Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)"
arch=('x86_64') arch=('x86_64')
url="https://gitbutter.xyz/mollusk/peerspeak" url="https://gitbutter.xyz/mollusk/peerspeak"
license=('custom') license=('MIT')
depends=('pipewire' 'opus') depends=('pipewire' 'opus')
makedepends=('git' 'cargo' 'pkgconf') makedepends=('git' 'cargo' 'pkgconf')
optdepends=('pixelpass: screen sharing inside a room' optdepends=('pixelpass: screen sharing inside a room'
@@ -70,4 +70,9 @@ package() {
install -Dm644 "assets/icons/$_pkgname-$s.png" \ install -Dm644 "assets/icons/$_pkgname-$s.png" \
"$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png"
done done
# License + third-party attribution notices.
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
install -Dm644 THIRD_PARTY_LICENSES \
"$pkgdir/usr/share/licenses/$_pkgname/THIRD_PARTY_LICENSES"
} }