Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716472 - sys-apps/toybox: LICENSE should be 0BSD
Summary: sys-apps/toybox: LICENSE should be 0BSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-06 17:04 UTC by Maciej Barć
Modified: 2021-03-27 06:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Barć gentoo-dev 2020-04-06 17:04:03 UTC
On Github the license for toybox is listed as "BSD Zero Clause License" the package refers to BSD-2.
https://github.com/landley/toybox/blob/master/LICENSE
Comment 1 Ulrich Müller gentoo-dev 2020-04-06 18:00:38 UTC
Ack, see the LICENSE file in the tarball.

However, "BSD-0" is a totally misleading name, because the license has neither any connection to BSD, nor was it derived from one of the BSD licenses. Its wording is derived from the ISC license.

Therefore I would suggest that we go with the name FPL-1.0.0 instead, which is the name under which the license has been approved by the OSI:
https://lists.opensource.org/pipermail/license-review_lists.opensource.org/2015-August/002438.html
Comment 2 Hanno Böck gentoo-dev 2020-04-06 18:02:51 UTC
Even though the "history of the name" may be confusing, I'd prefer we stick to SPDX names if possible. It's 0BSD there.
Comment 3 Maciej Barć gentoo-dev 2020-04-06 18:46:55 UTC
(In reply to Ulrich Müller from comment #1)
> Ack, see the LICENSE file in the tarball.
> 
> However, "BSD-0" is a totally misleading name, because the license has
> neither any connection to BSD, nor was it derived from one of the BSD
> licenses. Its wording is derived from the ISC license.
> 
> Therefore I would suggest that we go with the name FPL-1.0.0 instead, which
> is the name under which the license has been approved by the OSI:
> https://lists.opensource.org/pipermail/license-review_lists.opensource.org/
> 2015-August/002438.html


It is derived from BSD license, you can her Landley talk about how he got to license Toybox this specyfic way. Also the license is essentially public-domain-like because people do not have to attach the license file and can re-license it.

From Wikipedia: "In March 2013 the project was relicensed to an even more permissive 0-clause BSD license, a Public domain equivalent license variant."

https://en.wikipedia.org/wiki/Toybox
https://www.youtube.com/watch?v=SGmtP5Lg_t0
https://www.youtube.com/watch?v=j7kk-_uuRFc
Comment 4 Ulrich Müller gentoo-dev 2020-04-06 20:08:45 UTC
(In reply to Hanno Böck from comment #2)
> Even though the "history of the name" may be confusing, I'd prefer we stick
> to SPDX names if possible.

Generally I agree. However, in this particular case their name is outright stupid and misleading.

> It's 0BSD there.

That's even more confusing than BSD-0, because OBSD actually uses ISC as main license:
https://cvsweb.openbsd.org/src/share/misc/license.template?rev=HEAD

Maybe we should contact SPDX and ask them if they would consider to rename?


(In reply to xgqt from comment #3)
> It is derived from BSD license, [...]

No, compare the wording:
"Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted."

... with that of ISC:
"Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies."

Whereas all BSD variants have this:
"Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:"

Same for the disclaimer, which is identical to ISC but different from BSD.
Comment 5 Ulrich Müller gentoo-dev 2020-04-06 20:15:46 UTC
Oh, and I just see that Fedora agrees with me:
"The Zero-Clause BSD license is the most poorly named license in the FOSS licensing world."
https://fedoraproject.org/wiki/Licensing/ZeroClauseBSD
Comment 6 Ulrich Müller gentoo-dev 2020-04-07 07:35:58 UTC
Anyway, however bad it may be, "0BSD" appears to be the established name so let's go with it.

(Sometimes I wonder if they hold contests at the SPDX who can come up with the worst name. ;-) Their whole list is full of naming disasters.)
Comment 7 Larry the Git Cow gentoo-dev 2021-03-27 06:03:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900818b1e0b53f2fe1745f855f2a0d01eba74ae3

commit 900818b1e0b53f2fe1745f855f2a0d01eba74ae3
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-03-27 00:52:16 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-03-27 06:03:14 +0000

    sys-apps/toybox: correct license
    
    Closes: https://bugs.gentoo.org/716472
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 sys-apps/toybox/toybox-0.8.0.ebuild | 5 ++---
 sys-apps/toybox/toybox-0.8.1.ebuild | 5 ++---
 sys-apps/toybox/toybox-0.8.3.ebuild | 5 ++---
 sys-apps/toybox/toybox-0.8.4.ebuild | 3 +--
 sys-apps/toybox/toybox-9999.ebuild  | 3 +--
 5 files changed, 8 insertions(+), 13 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569bd63cd13445d8cd3abd2fe0198c5a2523842f

commit 569bd63cd13445d8cd3abd2fe0198c5a2523842f
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-03-27 00:48:31 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-03-27 06:03:14 +0000

    licenses: add 0BSD license https://opensource.org/licenses/0BSD
    
    Bug: https://bugs.gentoo.org/716472
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    [Take license file from toybox-0.8.4.tar.gz tarball.]
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 licenses/0BSD           | 12 ++++++++++++
 profiles/license_groups |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)