aboutcode-org / aboutcode-org/scancode-toolkit

Invalid SPDX: PackageLicenseInfoFromFiles: x11vnc-openssl-exception

Open
#3,248 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

ScanCode generates a license name "x11vnc-openssl-exception".
It should be prefixed by "LicenseRef-"

### How To Reproduce

Download ```haproxy-2.0.19.tar.gz``` from ```https://www.haproxy.org/download/2.0/src/haproxy-2.0.19.tar.gz```

```
scancode -c -l -i --license-text --spdx-tv haproxy-2.0.19.spdx haproxy-2.0.19
```

Result:
[haproxy-2.0.19.spdx.txt](https://github.com/nexB/scancode-toolkit/files/10723941/haproxy-2.0.19.spdx.txt)

### System configuration

```
./scancode --version
ScanCode version: 32.0.0rc1
ScanCode Output Format version: 3.0.0
SPDX License list version: 3.19
```

Ubuntu 22.10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.