10f66f451Sopenharmony_ci<html><head><title>Toybox License</title>
20f66f451Sopenharmony_ci<!--#include file="header.html" -->
30f66f451Sopenharmony_ci
40f66f451Sopenharmony_ci<h2>Toybox is released under the Zero Clause BSD license (SPDX: <a href=https://spdx.org/licenses/0BSD.html>0BSD</a>):</h2>
50f66f451Sopenharmony_ci
60f66f451Sopenharmony_ci<blockquote>
70f66f451Sopenharmony_ci<p>Copyright (C) 2006 by Rob Landley &lt;rob@landley.net&gt;
80f66f451Sopenharmony_ci
90f66f451Sopenharmony_ci<p>Permission to use, copy, modify, and/or distribute this software for any
100f66f451Sopenharmony_cipurpose with or without fee is hereby granted.</p>
110f66f451Sopenharmony_ci
120f66f451Sopenharmony_ci<p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
130f66f451Sopenharmony_ciWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
140f66f451Sopenharmony_ciMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
150f66f451Sopenharmony_ciANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
160f66f451Sopenharmony_ciWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
170f66f451Sopenharmony_ciACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
180f66f451Sopenharmony_ciOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
190f66f451Sopenharmony_ci</blockquote>
200f66f451Sopenharmony_ci
210f66f451Sopenharmony_ci<p>The text of the above license is included in the file LICENSE in the source.</p>
220f66f451Sopenharmony_ci
230f66f451Sopenharmony_ci<h2>Why 0BSD?</h2>
240f66f451Sopenharmony_ci
250f66f451Sopenharmony_ci<p>Zero clause BSD is a <a href=https://en.wikipedia.org/wiki/Public_domain_equivalent_license>public domain equivalent</a> license.</p>
260f66f451Sopenharmony_ci
270f66f451Sopenharmony_ci<p>As with <a href=https://creativecommons.org/publicdomain/zero/1.0/>CC0</a>,
280f66f451Sopenharmony_ci<a href=http://unlicense.org>unlicense</a>, and <a href=http://wtfpl.net/>wtfpl</a>,
290f66f451Sopenharmony_cithe intent is to effectively place the licensed material into the public domain,
300f66f451Sopenharmony_ciwhich after decades of FUD (such as the time OSI's ex-lawyer compared
310f66f451Sopenharmony_ci<a href=https://web.archive.org/web/20160530090006/http://www.cod5.org/archive/>placing code into the public domain</a> to
320f66f451Sopenharmony_ci<a href=http://www.linuxjournal.com/article/6225>abandoning trash by the
330f66f451Sopenharmony_ciside of a highway</a>) is considered somehow unsafe. But if some random third
340f66f451Sopenharmony_ciparty
350f66f451Sopenharmony_ci<a href=https://github.com/mkj/dropbear/blob/master/libtomcrypt/LICENSE>takes
360f66f451Sopenharmony_cipublic domain code</a> and slaps <a href=http://www.opensource.apple.com/source/gnuzip/gnuzip-25/gzip/gzip.c>some other license on it</a>, then it's fine.</p>
370f66f451Sopenharmony_ci
380f66f451Sopenharmony_ci<p>To work around this perception, the above license is the
390f66f451Sopenharmony_ci<a href=https://www.openbsd.org/policy.html>OpenBSD suggested template
400f66f451Sopenharmony_cilicense</a>, <a href=https://github.com/landley/toybox/commit/ee86b1d8e25cb0ca9d418b33eb0dc5e7716ddc1e>minus the half sentence</a>
410f66f451Sopenharmony_cirequiring the license text be copied verbatim into derived works. If 2BSD is
420f66f451Sopenharmony_ciok, then 0BSD should be ok, despite being equivalent to placing code in the
430f66f451Sopenharmony_cipublic domain.</p>
440f66f451Sopenharmony_ci
450f66f451Sopenharmony_ci<p>Modifying the license in this way avoids the hole android toolbox fell into where
460f66f451Sopenharmony_ci<a href=https://github.com/android/platform_system_core/blob/fd4c6b0a3a25921a9fe24691a695d715aecb6afe/toolbox/NOTICE>33 copies of BSD license text</a>
470f66f451Sopenharmony_ciwere concatenated together when copyright dates changed, or the strange
480f66f451Sopenharmony_cisolution the busybox developers used to resolve tension between GPLv2's "no
490f66f451Sopenharmony_ciadditional restrictions" and BSD's "you must include this large hunk of text"
500f66f451Sopenharmony_ciby sticking the two licenses at
510f66f451Sopenharmony_ci<a href=http://git.busybox.net/busybox/tree/networking/ping.c?id=887a1ad57fe978cd320be358effbe66df8a068bf>opposite ends of the file</a> and hoping nobody
520f66f451Sopenharmony_cinoticed.</a>
530f66f451Sopenharmony_ci
540f66f451Sopenharmony_ci<p>Note: I asked <a href=https://www.oreilly.com/openbook/opensources/book/kirkmck.html>Kirk McKusick</a> for permission to call this a BSD license at
550f66f451Sopenharmony_cia conference shortly before I started using the name,
560f66f451Sopenharmony_ciand <a href=0bsd-mckusick.txt>again in 2018</a>.</p>
570f66f451Sopenharmony_ci<!--#include file="footer.html" -->
58