Metadata-Version: 2.1
Name: ossa_scanner
Version: 0.1.55
Summary: Open Source Software Advisory generator for Core and Base Linux Packages.
Home-page: https://github.com/oscarvalenzuelab/ossa_scanner
Author: Oscar Valenzuela
Author-email: oscar.valenzuela.b@gmail.com
License: MIT
Keywords: linux packages SWHID open-source compliance ossa advisory
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click
Requires-Dist: swh.model
Requires-Dist: distro
Requires-Dist: ssdeep

# Open Source Advisory Scanner (Generator)
OSSA-Scanner produces OSSA Advisory files per each package available (installed or not) in any Linux OS that uses RPM or Deb packages.

## Installation

### Centos/AL/AlmaLinux

Installing dependencies, including Software Heritage Scanner for SWHIDs and SSDEEP for FuzzyHashing:

```
$ yum -y update && yum -y groupinstall "Development Tools"
$ yum -y install python-pip python3-devel
$ pip3 install swh-scanner
$ BUILD_LIB=1 pip install ssdeep
$ pip3 install ossa-scanner
```

## Ubuntu/Debian
```
$ apt-get update -y && apt-get upgrade -y
$ apt install python3-pip -y
$ apt remove python3-blinker python3-zipp python3-urllib3 python3-typing-extensions python3-six -y
$ pip install swh-scanner --break-system-packages
$ apt install ssdeep python3-ssdeep -y
$ pip3 install ossa-scanner --break-system-packages
```


###  Running in background
```
$ nohup ossa_scanner &
```

To upgrade, just execute install with --upgrade
```
$ pip install --upgrade ossa_scanner
```

### License

This project is licensed under MIT.
