https://github.com/amdmi3/ports-license-scanner
License scanner for FreeBSD ports collection
https://github.com/amdmi3/ports-license-scanner
Last synced: 11 months ago
JSON representation
License scanner for FreeBSD ports collection
- Host: GitHub
- URL: https://github.com/amdmi3/ports-license-scanner
- Owner: AMDmi3
- License: mit
- Created: 2017-03-02T13:45:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T17:04:41.000Z (about 9 years ago)
- Last Synced: 2025-07-11T00:18:43.251Z (11 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# ports-license-scanner
This utility scans FreeBSD portstree and compares licenses defined
in the ports with licenses extracted from port sources.
## Depends
* python36+ (lang/python36)
* py3-sqlite3 (databases/py36-sqlite3)
* nomos license scanner (devel/fossology-nomos-standalone)
## Usage
The utility relies on fossology nomos license scanner which is horribly slow,
so instead of just printing scan results it maintains a database of gathered
data and allows scanning and examining results in parallel.
Run ```./pls.py [-v] scan [origins...]``` to scan ports and store data in the
database. Specify ```-v``` for verbose operation. List origins to only process
specific ports. By defaults scans the whole portstree from beginning.
Run ```./pls.py show [origins...]``` to show gathered lincese information.
## Author
* [Dmitry Marakasov](https://github.com/AMDmi3)
## License
MIT, see COPYING.