因为对全部软件包逐一核对上游后发现 42 个的 `LICENSE=` 与上游实际授权不符,所以按上游的授权文件与源码文件头改正,并为其中被误标为开源、实为专有的软件补上 `RESTRICT`。 最严重的一类是专有软件被标成开源:`deepin-wine-helper` 与 `deepin-wine-plugin` 的 deb 内 copyright 写着 `All rights reserved by Wuhan Deepin Technology Co., Ltd.`,`app-misc/z-library` 的 deb control 写 `License: unknown`,`media-sound/qqmusic` 用的 `CC0-1.0` 是公共领域捐弃、与腾讯的服务协议完全相反。 `net-proxy/clash-rs` 此前只有 `LICENSE+=`、没有基底 `LICENSE=`,主程序的 Apache-2.0 完全没有声明。 `sys-kernel/xanmod-sources` 的 `LICENSE+=" CDDL"` 在 xanmod patch 与 genpatches 中都找不到依据,一并删除。 Signed-off-by: Zakk <zakk@gentoozh.org>
gentoo-zh
Overlay for Gentoo Users.
gentoo-zh is an inclusive overlay.
Note
gentoo-zh overlay has moved to https://github.com/gentoo-zh/overlay. Old GitHub URLs continue to redirect. If you manually configured a remote, update it when convenient. See MIGRATION.md for details.
Community
For anything about the overlay, GitHub Issues is preferred.
How to add this overlay to Gentoo Linux
eselect repository enable gentoo-zh
emaint sync
Mirrors for mainland China: https://gentoozh.org/en/overlay
Distfiles and binary packages
Some packages come with distfiles and prebuilt binary packages, built nightly. Setup and mirrors: https://distfiles.gentoozh.org
Dependency table
https://github.com/gentoo-zh/overlay/blob/deps-table/relation.md
Contributions
DO NOT BREAK PEOPLE'S SYSTEM.
- Everyone is welcome to contribute, but committers should check their work carefully before committing.
- Every commit in a pull request must carry all the changes it needs; do not split a
change across commits without reason, e.g. an ebuild and its
Manifestbelong in the same commit. - Every ebuild change must compile before committing.
- A new package must be added to
.github/workflows/overlay.toml, inserted in alphabetical order bycategory/package; if it is not suitable for nvchecker to check for new versions, add a comment in that position explaining why; if it can be bumped automatically, see scripts/autobump.md. - Run
pkgcheck scan --commits --netlocally before you open a pull request. - After opening the pull request, fix whatever the pkgcheck report and CI flag, QA warnings included.
- CI builds on amd64 and arm64. If a problem shows up on an arch you do not have and you cannot solve it, remove that keyword.
- Keep maintaining the packages you add, and use the pull request template.
- When you stop maintaining a package, look for a new maintainer in the issues, or
mask it in
profiles/package.maskand drop it when the mask expires.
Commit messages
We recommend generating them with pkgdev commit. Version bump:
$category/$package: add $new_version, drop $old_version
Anything else:
$category/$package: one line short description message
multiple lines of description about why you change this.
if you change to fix the bug, and if there is an GitHub
issue entry for that bug, then point the bug link here.
AI policy
Generative AI may assist, but it must follow AGENTS.md and the contributor is responsible for every commit: ensure the quality of the ebuild and verify that it works, smoke-test it before submitting, and keep the pull request description short, precise and professional, written from tested results, not guesses. The contributor, submitter, and commit author must be a human, not an AI tool or model identity.