Bug 254844

Summary: BSD Zero Clause License is missing in Mk/bsd.licenses.db.mk
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Ports FrameworkAssignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: adamw, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
BSD0CLAUSE.patch none

Comment 1 Adam Weinberger freebsd_committer 2021-04-07 15:46:37 UTC
None of the ports in our tree use that license at this time, is that correct?

The idea of adding it makes sense, but I just want to gauge the likelihood that there will ever be anything in the tree that uses it. Yuri, do you have a feel for that?
Comment 2 Yuri Victorovich freebsd_committer 2021-04-07 16:11:00 UTC
(In reply to Adam Weinberger from comment #1)


I came across this issue when I was trying to port  https://github.com/brummer10/LittleFly.lv2/blob which uses this license.

Since this license is recognized (based on web search) - we should add it.
Comment 3 Adam Weinberger freebsd_committer 2021-04-07 16:16:20 UTC
Ah okay, if the intent is to add something to the tree with it then it seems like a good idea to have it. Do you have a patch?
Comment 4 Yuri Victorovich freebsd_committer 2021-04-07 16:28:15 UTC
Created attachment 223900 [details]
Comment 5 Adam Weinberger freebsd_committer 2021-04-07 17:26:35 UTC
The WP page doesn't list FSF-assessment of 0-Clause, and I can't find reference to it on the GNU Project's licenses page. Unless you see evidence otherwise, I don't think we can list FSF there.
Comment 6 Yuri Victorovich freebsd_committer 2021-04-07 17:40:43 UTC
(In reply to Adam Weinberger from comment #5)

Then the question becomes: What license to assign to ports when authors license them under "0BSD".
Comment 7 Yuri Victorovich freebsd_committer 2021-04-07 17:54:45 UTC
OSI lists 0BSD as a valid license: https://opensource.org/licenses/0BSD
Comment 8 Adam Weinberger freebsd_committer 2021-04-07 18:08:18 UTC
I'm talking about FSF, not OSI.

You have `_LICENSE_GROUPS_BSD0CLAUSE=	FSF OSI COPYFREE`. FSF doesn't list the 0-clause license, so I don't think FSF can be in that list.
Comment 9 Yuri Victorovich freebsd_committer 2021-04-07 18:19:24 UTC
Created attachment 223901 [details]

Sorry, I misunderstood,

I've updated the patch.
Comment 10 Adam Weinberger freebsd_committer 2021-04-07 19:26:22 UTC
I'm a little unsure about COPYFREE. Copyfree hasn't listed 0bsd. It's pretty reasonable to assume that if 2bsd meets Copyfree's requirements, then 0bsd will too. But they don't explicitly list it so I'm not confident about whether to list COPYFREE at this time.
Comment 11 Yuri Victorovich freebsd_committer 2021-04-07 19:58:53 UTC
Created attachment 223906 [details]
Comment 12 Adam Weinberger freebsd_committer 2021-04-07 20:46:42 UTC
Thanks, Yuri. Approved, go for it.
Comment 13 Yuri Victorovich freebsd_committer 2021-04-07 20:51:10 UTC
Committed, thanks!
Comment 14 commit-hook freebsd_committer 2021-04-07 20:51:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cdea03ab491cdf68f1e3389c7369b302958f30b5

commit cdea03ab491cdf68f1e3389c7369b302958f30b5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-07 20:48:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-07 20:48:45 +0000

    Mk/bsd.licenses.db.mk: Add BSD0CLAUSE license

    PR:             254844
    Approved by:    adamw on behalf of portmgr

 Mk/bsd.licenses.db.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)