aboutcode-org / aboutcode-org/scancode-toolkit

Wrong detection for Apple MFi License as apple-excl

Đang mở
#2,503 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug license scan new and improved data
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.