Bug 278335

Summary: Mk/bsd.licenses.db.mk: add BSD One Clause License to BSD group of licenses
Product: Ports & Packages Reporter: Chris Hutchinson <portmaster>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People CC: portmgr
Priority: --- Keywords: easy, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git diff to add BSD One Clause License to Mk/bsd.licenses.db.mk
none
git diff adding BSD One Clause (with correction regarding FSF) none

Description Chris Hutchinson 2024-04-12 19:44:37 UTC
Created attachment 249939 [details]
git diff to add BSD One Clause License to Mk/bsd.licenses.db.mk

I have, and have run across a number of ports that
utilize the BSD One Clause License. But it's absence
among the other accepted BSD license variants seems odd to me.
Let's include it. :)
The patch attached to this pr(1) adds this license.

Files affected:
Mk/bsd.licenses.db.mk

tl,dr;
LICENSE_NAME_BSD1CLAUSE=	BSD One Clause License
LICENSE_GROUPS_BSD1CLAUSE=	FSF OSI

References:
1. https://spdx.org/licenses/BSD-1-Clause.html
2. https://en.wikipedia.org/wiki/BSD_licenses
3. https://urchin.earth.li/~twic/The_Amazing_Disappearing_BSD_License.html
4. https://svnweb.freebsd.org/base/head/include/ifaddrs.h?revision=62606&view=markup
5. https://directory.fsf.org/wiki/License:BSD-1-Clause

Thanks.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2024-04-12 20:01:41 UTC
The patch is wrong,  BSD1CLAUSE is not recognized by FSF
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2024-04-12 20:03:26 UTC
(In reply to Antoine Brodin from comment #1)

The source is https://www.gnu.org/licenses/license-list.en.html
Comment 3 Chris Hutchinson 2024-04-12 20:13:04 UTC
(In reply to Antoine Brodin from comment #1)
> The patch is wrong,  BSD1CLAUSE is not recognized by FSF
Sorry.
https://directory.fsf.org/wiki/License:BSD-1-Clause
seemed to indicate otherwise. I'll fix it shortly.

Thanks for the correction, Antoine.

--Chris
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2024-04-12 20:22:44 UTC
(In reply to Chris Hutchinson from comment #3)
And in their wiki,  the text file is the one of the 0 clause..
Comment 5 Chris Hutchinson 2024-04-12 20:33:10 UTC
Created attachment 249940 [details]
git diff adding BSD One Clause (with correction regarding FSF)

This patch addresses your correction (FSF removed).

Thanks.
Comment 6 Chris Hutchinson 2024-04-12 20:34:37 UTC
(In reply to Antoine Brodin from comment #4)
> And in their wiki,  the text file is the one of the 0 clause..
Good catch! That's why you're the boss and not me. ;)

Thanks again!

--Chris