pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
34 stars 29 forks source link

[New Check]: NonFreeLicense: Optional check for non-free packages #652

Open thesamesam opened 5 months ago

thesamesam commented 5 months ago

Is there an existing such new check request for this?

Explain

It might be useful to have an optional check to find packages using a non-free LICENSE. It's not trivial to grep for because of licence groups (although https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0106 helps with that).

NOTE: I'm OK with it if we close this as being better via pquery or portageq or custom tooling.

See also https://github.com/pkgcore/pkgcheck/issues/471 and https://github.com/pkgcore/pkgcheck/issues/651.

Examples

N/A

Output message

NonFreeLicense

Documentation

Package has a non-free LICENSE.

Result level

info