Toybox License (original) (raw)

Current release 0.8.11 (April 8, 2024)


Toybox is released under the Zero Clause BSD license (SPDX: 0BSD):

Copyright (C) 2006 by Rob Landley rob@landley.net

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

The text of the above license is included in the file LICENSE in the source.

Why 0BSD?

Zero clause BSD is a public domain equivalent license.

As with CC0,unlicense, and wtfpl, the intent is to effectively place the licensed material into the public domain, which after decades of FUD (such as the time OSI's ex-lawyer comparedplacing code into the public domain toabandoning trash by the side of a highway) is considered somehow unsafe. But if some random third partytakes public domain code and slaps some other license on it, then it's fine.

To work around this perception, the above license is theOpenBSD suggested template license, minus the half sentencerequiring the license text be copied verbatim into derived works. If 2BSD is ok, then 0BSD should be ok, despite being equivalent to placing code in the public domain.

Modifying the license in this way avoids the hole android toolbox fell into where33 copies of BSD license textwere concatenated together when copyright dates changed, or the strange solution the busybox developers used to resolve tension between GPLv2's "no additional restrictions" and BSD's "you must include this large hunk of text" by sticking the two licenses atopposite ends of the file and hoping nobody noticed.

Note: I asked Kirk McKusick for permission to call this a BSD license at a conference shortly before I started using the name, and again in 2018.