# platform-external-toybox-license.json ## Project-level Notices ### toybox/LICENSE ``` Copyright (C) 2006, 2013 by Rob Landley 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. (Note: some build infrastructure in the kconfig directory is still GPLv2, cleaning that out is a TODO item, but it doesn't affect the resulting binary.) ``` ### toybox/NOTICE ``` Copyright (C) 2006, 2013 by Rob Landley 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. (Note: some build infrastructure in the kconfig directory is still GPLv2, cleaning that out is a TODO item, but it doesn't affect the resulting binary.) ``` ### toybox/www/license.html ``` Toybox License

Toybox is released under the following "zero clause" BSD license:

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?

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

To work around this perception, the above license is a standard 2-clause BSD license minus the half sentence requiring text copied verbatim into derived works. If 2BSD is ok, the 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 where 33 copies of BSD license text were 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 at opposite ends of the file and hoping nobody noticed. ``` ## License Text ``` * Copyright 2014 Brad Conroy, dedicated to the Public Domain. ``` ### Files in repo using this license: ``` toybox/toys/other/mix.c * Copyright 2014 Brad Conroy toybox/toys/pending/xzcat.c ``` ## License Text ``` * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ``` ### Files in repo using this license: ``` toybox/kconfig/lxdialog/textbox.c toybox/kconfig/lxdialog/yesno.c toybox/kconfig/lxdialog/menubox.c toybox/kconfig/lxdialog/dialog.h toybox/kconfig/lxdialog/checklist.c toybox/kconfig/lxdialog/inputbox.c toybox/kconfig/lxdialog/util.c ``` ## License Text ``` * Released under the terms of the GNU GPL v2.0. ``` ### Files in repo using this license: ``` toybox/kconfig/confdata.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/conf.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/lkc.h * Copyright (c) 2002 Roman Zippel toybox/kconfig/menu.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/util.c * Copyright (c) 2002-2005 Roman Zippel * Copyright (c) 2002-2005 Sam Ravnborg toybox/kconfig/symbol.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/mconf.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/expr.c * Copyright (c) 2002 Roman Zippel toybox/kconfig/expr.h * Copyright (c) 2002 Roman Zippel ```