aboutcode-org / aboutcode-org/scancode-toolkit

Wrong detection for Apple MFi License as apple-excl

Abierto
#2,503 1 comentario 1 reacción 0 asignados Ver en GitHub
bug license scan new and improved data
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

We got some SDK provided by Apple under NDA under the MFi License.

This is a proprietary license with very similar wording as other Apple licenses, except you can't redistribute source (only binary)

I am not sure I can disclose the full text of the license in the open, I found a few exemples of similar files.
I am not sure I want to link there as they are probably illegal copies, but google will find it quite easily using search term:

WAC_POSIX_Server_1.22/Makefile

This license is detected be apple-excl, with following matches:

```
[LicenseMatch: '2-aho', lines=(9, 9), 'license-intro_35.RULE',
'unknown-license-reference',
sc=100.0, cov=100.0, len=6, hilen=0, rlen=6, qreg=(47, 52), ireg=(0, 5), LicenseMatch: '3-seq', lines=(11, 28), 'apple-excl.LICENSE',
'apple-excl',
sc=51.85, cov=51.85, len=182, hilen=40, rlen=351, qreg=(75, 313), ireg=(16, 221), LicenseMatch: '3-seq', lines=(39, 49), 'apple-excl.LICENSE',
'apple-excl',
sc=36.75, cov=36.75, len=129, hilen=29, rlen=351, qreg=(418, 546), ireg=(222, 350)]
```

apple-excl is classified permissive, which is not the case at all with MFi License, so we probably need to take care of this false positive

After a quick search on the closed issue list, it looks like my team mate @vbisserie already reported this during my vacations, but in my opinion closed it a bit too early.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.