Summary: | Lots of unused licenses in /usr/portage/licenses/ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dolphinling <aguertin+gentoo> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Script to find unused licenses (needs modification to run)
output of script (has false positives) |
Description
dolphinling
2008-04-08 19:51:01 UTC
reopen with actual examples please. otherwise, this is invalid. Working on a script to find exactly which are unused--however, just found out I have exactly no free time in the next couple weeks, so it might be a while. Created attachment 149411 [details]
Script to find unused licenses (needs modification to run)
Here's a script to find unused licenses. You need a list of used licenses, which can be gotten with
grep -rIoh "LICENSE=\".*\"" /usr/portage/* |sort -u
as above.
You'll also need to edit line 3 of the script to point to that.
Created attachment 149413 [details]
output of script (has false positives)
Output of script. This has false positives because of ebuilds that have their license programatically set* (e.g. all of modular X).
* ...which is really stupid in my opinion, think of the potential for false positives, but that's a topic for another bug.
|