Bug 221261

Summary: Mk/bsd.licenses.db.mk: Add license for Facebook's PATENTS grant v2
Product: Ports & Packages Reporter: VK <vlad-fbsd>
Component: Ports FrameworkAssignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Some People CC: portmgr, ports-bugs
Priority: --- Keywords: feature, patch
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 221262    
Attachments:
Description Flags
Add Facebook's PATENTS v2 license none

Description VK freebsd_triage 2017-08-05 23:43:19 UTC
Created attachment 185067 [details]
Add Facebook's PATENTS v2 license

I believe we'd need to have Facebook's PATENTS grant as a license in ports. There's been some fuss about it with Apache Foundation banning all software licensed with it, like React.js. More info on teh subject:

* https://issues.apache.org/jira/browse/LEGAL-303

and

* http://perens.com/blog/2017/07/19/what-the-apache-facebook-reactos-issue-means-to-companies/

We have archivers/zstd that only lists BSD2CLAUSE, but imho that's incomplete, or at least not really BSD since there are additional restrictions (I'll be filing a separate bug that adds this). ZSTD in the base contains the PATENTS grant, though:

* https://svnweb.freebsd.org/base/head/contrib/zstd/PATENTS?view=log

Attached is a patch that adds the license for ports.
Comment 1 VK freebsd_triage 2017-08-06 00:58:45 UTC
I found a few more ports with the same additional Facebook PATENTS v2 restriction:

* devel/fb-adb: BSD3CLAUSE + PATENT
* devel/ds2: NCSA + PATENT
* sysutils/osquery: BSD3CLAUSE + PATENT