1c84f3f3cSopenharmony_ciTerms and Conditions - The MirBSD Korn Shell 2c84f3f3cSopenharmony_ci============================================ 3c84f3f3cSopenharmony_ci 4c84f3f3cSopenharmony_ciThe MirBSD Korn Shell (mksh) consists of a number of "source" files, 5c84f3f3cSopenharmony_ciwhich are provided by upstream in a number of places. This file will 6c84f3f3cSopenharmony_cilist the files belonging to mksh or being part of it and the licence 7c84f3f3cSopenharmony_citerms and conditions that apply to them, in one single central place 8c84f3f3cSopenharmony_cifor packagers' convenience. This list aims to be authoritative. (Yet 9c84f3f3cSopenharmony_cias it was compiled by a human, there may be bugs, please report them 10c84f3f3cSopenharmony_ciif any are found. We don't think so though.) 11c84f3f3cSopenharmony_ci 12c84f3f3cSopenharmony_ciAll paths are relative to The MirOS Project's CVS repository. 13c84f3f3cSopenharmony_ci 14c84f3f3cSopenharmony_ci 15c84f3f3cSopenharmony_ciThe following files form The MirBSD Korn Shell R59b: 16c84f3f3cSopenharmony_ci- build system 17c84f3f3cSopenharmony_ci * mksh/Build.sh 18c84f3f3cSopenharmony_ci * mksh/FAQ2HTML.sh 19c84f3f3cSopenharmony_ci- testsuite driver 20c84f3f3cSopenharmony_ci * mksh/check.pl 21c84f3f3cSopenharmony_ci- testsuite with code examples 22c84f3f3cSopenharmony_ci * mksh/check.t 23c84f3f3cSopenharmony_ci- configuration with/and code examples (informal) 24c84f3f3cSopenharmony_ci * mksh/dot.mkshrc 25c84f3f3cSopenharmony_ci * contrib/hosted/tg/assockit.ksh 26c84f3f3cSopenharmony_ci * contrib/hosted/tg/progress-bar 27c84f3f3cSopenharmony_ci * contrib/hosted/tg/uhr 28c84f3f3cSopenharmony_ci- documentation 29c84f3f3cSopenharmony_ci * mksh/lksh.1 30c84f3f3cSopenharmony_ci * mksh/mksh.1 31c84f3f3cSopenharmony_ci * mksh/mksh.faq 32c84f3f3cSopenharmony_ci- source code 33c84f3f3cSopenharmony_ci * mksh/edit.c 34c84f3f3cSopenharmony_ci * mksh/emacsfn.h 35c84f3f3cSopenharmony_ci * mksh/eval.c 36c84f3f3cSopenharmony_ci * mksh/exec.c 37c84f3f3cSopenharmony_ci * mksh/expr.c 38c84f3f3cSopenharmony_ci * mksh/exprtok.h 39c84f3f3cSopenharmony_ci * mksh/funcs.c 40c84f3f3cSopenharmony_ci * mksh/histrap.c 41c84f3f3cSopenharmony_ci * mksh/jehanne.c 42c84f3f3cSopenharmony_ci * mksh/jobs.c 43c84f3f3cSopenharmony_ci * mksh/lalloc.c 44c84f3f3cSopenharmony_ci * mksh/lex.c 45c84f3f3cSopenharmony_ci * mksh/main.c 46c84f3f3cSopenharmony_ci * mksh/mirhash.h 47c84f3f3cSopenharmony_ci * mksh/misc.c 48c84f3f3cSopenharmony_ci * mksh/os2.c 49c84f3f3cSopenharmony_ci * mksh/rlimits.opt 50c84f3f3cSopenharmony_ci * mksh/sh.h 51c84f3f3cSopenharmony_ci * mksh/sh_flags.opt 52c84f3f3cSopenharmony_ci * mksh/shf.c 53c84f3f3cSopenharmony_ci * mksh/syn.c 54c84f3f3cSopenharmony_ci * mksh/tree.c 55c84f3f3cSopenharmony_ci * mksh/var.c 56c84f3f3cSopenharmony_ci * mksh/var_spec.h 57c84f3f3cSopenharmony_ci- upstream provided packaging 58c84f3f3cSopenharmony_ci * mksh/mksh.ico (application icon resource) 59c84f3f3cSopenharmony_ci * mksh/Makefile (MirBSD only, not part of mksh) 60c84f3f3cSopenharmony_ci * ports/shells/mksh/DEINSTALL 61c84f3f3cSopenharmony_ci * ports/shells/mksh/DESCR (official) 62c84f3f3cSopenharmony_ci * ports/shells/mksh/INSTALL 63c84f3f3cSopenharmony_ci * ports/shells/mksh/Makefile 64c84f3f3cSopenharmony_ci * ports/shells/mksh/PLIST 65c84f3f3cSopenharmony_ci * ports/shells/mksh/distinfo (official) 66c84f3f3cSopenharmony_ci * src/distrib/special/mksh/Makefile (for the MirBSD installer) 67c84f3f3cSopenharmony_ci- website (informal) 68c84f3f3cSopenharmony_ci * www/files/TaC-mksh.txt (this file) 69c84f3f3cSopenharmony_ci * www/pics/mksh.svg (logo source code) 70c84f3f3cSopenharmony_ci * www/pics/mksh128x100.png (logo compiled version) 71c84f3f3cSopenharmony_ci * www/src/mksh-faq.hts (supplemental documentation) 72c84f3f3cSopenharmony_ci * www/src/mksh.hts (primary webpage) 73c84f3f3cSopenharmony_ci * www/src/mksh_bld.hts (supplemental webpage) 74c84f3f3cSopenharmony_ci * www/src/mksh_old.hts (supplemental webpage) 75c84f3f3cSopenharmony_ci 76c84f3f3cSopenharmony_ciAll of these files are covered by The MirOS Licence (Appendix A) ex- 77c84f3f3cSopenharmony_cicept the application icon resource, the terms for that are listed in 78c84f3f3cSopenharmony_ciAppendix D. Width data comes under those in Appendix E. 79c84f3f3cSopenharmony_ci 80c84f3f3cSopenharmony_ciThe creator of mksh acknowledges the contributions of several people 81c84f3f3cSopenharmony_cito the Public Domain Korn Shell as well as suggestions and work from 82c84f3f3cSopenharmony_cipackagers, other developers etc. and everyone else who helped making 83c84f3f3cSopenharmony_cimksh what it is today. Thanks! The MirBSD Korn Shell is sublicenced 84c84f3f3cSopenharmony_ciunder a copyright licence fallback from the original pdsh author. 85c84f3f3cSopenharmony_ci 86c84f3f3cSopenharmony_ci 87c84f3f3cSopenharmony_ciThe following files belong to mksh and are distributed inside of its 88c84f3f3cSopenharmony_cidistfile, but are not part of it. They are provided for convenience, 89c84f3f3cSopenharmony_cibecause they are required on many operating environments for mksh or 90c84f3f3cSopenharmony_cisome of its features to function: 91c84f3f3cSopenharmony_ci- source code 92c84f3f3cSopenharmony_ci * mksh/strlcpy.c (needed if not provided by the OS already) 93c84f3f3cSopenharmony_ci 94c84f3f3cSopenharmony_ciThese files are covered by seperate licences in addition (Appendix C 95c84f3f3cSopenharmony_cifor now). Some operating environments already provide their functio- 96c84f3f3cSopenharmony_cinality, such as the BSDs and OSX libc, or the Debian/freedesktop.org 97c84f3f3cSopenharmony_cilibbsd package. The files are not compiled into the resulting binary 98c84f3f3cSopenharmony_ciif their respective functionality is already provided. 99c84f3f3cSopenharmony_ci 100c84f3f3cSopenharmony_ci 101c84f3f3cSopenharmony_ciThe following file is not part of mksh but can be used with it; it's 102c84f3f3cSopenharmony_cialso not included in the mksh distfile: 103c84f3f3cSopenharmony_ci- source code 104c84f3f3cSopenharmony_ci * src/usr.bin/printf/printf.c (UCB printf(1) utility that has been 105c84f3f3cSopenharmony_ci slightly modified, for an optional built-in printf, to be inclu- 106c84f3f3cSopenharmony_ci ded for lksh-as-/bin/sh only and only when necessary) 107c84f3f3cSopenharmony_ci 108c84f3f3cSopenharmony_ciThe printf.c file is covered by the UCB three-clause BSD licence, as 109c84f3f3cSopenharmony_cishown in Appendix B below. 110c84f3f3cSopenharmony_ci 111c84f3f3cSopenharmony_ci 112c84f3f3cSopenharmony_ciThe MirOS Licence also applies as a collective-work copyright on The 113c84f3f3cSopenharmony_ciMirBSD Korn Shell, an authorised derivate of the 1980s Public Domain 114c84f3f3cSopenharmony_ciV7/Bourne Shell. 115c84f3f3cSopenharmony_ci 116c84f3f3cSopenharmony_ciNote that these appendices may represent the terms and conditions of 117c84f3f3cSopenharmony_cimore than one file, hence the actual wording of the files was folded 118c84f3f3cSopenharmony_ciinto one representation, with different copyright holders and years, 119c84f3f3cSopenharmony_ciseparated if merging was undesirable. 120c84f3f3cSopenharmony_ci 121c84f3f3cSopenharmony_ci 122c84f3f3cSopenharmony_ciAppendix A - The MirOS Licence (OSI approved) 123c84f3f3cSopenharmony_ci============================== 124c84f3f3cSopenharmony_ci 125c84f3f3cSopenharmony_ciThe MirBSD Korn Shell (mksh) is 126c84f3f3cSopenharmony_ciCopyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 127c84f3f3cSopenharmony_ci 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 128c84f3f3cSopenharmony_ci 2020 129c84f3f3cSopenharmony_ci mirabilos <m@mirbsd.org> 130c84f3f3cSopenharmony_ciCopyright (c) 2015, 2017, 2020 131c84f3f3cSopenharmony_ci KO Myung-Hun <komh@chollian.net> 132c84f3f3cSopenharmony_ciCopyright (c) 2015 133c84f3f3cSopenharmony_ci Daniel Richard G. <skunk@iSKUNK.ORG> 134c84f3f3cSopenharmony_ciCopyright (c) 2017 135c84f3f3cSopenharmony_ci Giacomo Tesio <giacomo@tesio.it> 136c84f3f3cSopenharmony_ciAll rights reserved. 137c84f3f3cSopenharmony_ci 138c84f3f3cSopenharmony_ciThe mksh logo is 139c84f3f3cSopenharmony_ciCopyright (c) 2008, 2009 140c84f3f3cSopenharmony_ci Lukas U. <smultron@midnightbsd.org> 141c84f3f3cSopenharmony_ciCopyright (c) 2008, 2009 142c84f3f3cSopenharmony_ci mirabilos <m@mirbsd.org> 143c84f3f3cSopenharmony_ci 144c84f3f3cSopenharmony_ci 145c84f3f3cSopenharmony_ciProvided that these terms and disclaimer and all copyright notices 146c84f3f3cSopenharmony_ciare retained or reproduced in an accompanying document, permission 147c84f3f3cSopenharmony_ciis granted to deal in this work without restriction, including un- 148c84f3f3cSopenharmony_cilimited rights to use, publicly perform, distribute, sell, modify, 149c84f3f3cSopenharmony_cimerge, give away, or sublicence. 150c84f3f3cSopenharmony_ci 151c84f3f3cSopenharmony_ciThis work is provided "AS IS" and WITHOUT WARRANTY of any kind, to 152c84f3f3cSopenharmony_cithe utmost extent permitted by applicable law, neither express nor 153c84f3f3cSopenharmony_ciimplied; without malicious intent or gross negligence. In no event 154c84f3f3cSopenharmony_cimay a licensor, author or contributor be held liable for indirect, 155c84f3f3cSopenharmony_cidirect, other damage, loss, or other issues arising in any way out 156c84f3f3cSopenharmony_ciof dealing in the work, even if advised of the possibility of such 157c84f3f3cSopenharmony_cidamage or existence of a defect, except proven that it results out 158c84f3f3cSopenharmony_ciof said person's immediate fault when using the work as intended. 159c84f3f3cSopenharmony_ci 160c84f3f3cSopenharmony_ci 161c84f3f3cSopenharmony_ciAppendix B - The UCB (3-clause BSD) licence (OSI approved) 162c84f3f3cSopenharmony_ci=========================================== 163c84f3f3cSopenharmony_ci 164c84f3f3cSopenharmony_ciprintf.c is 165c84f3f3cSopenharmony_ciCopyright (c) 1989 166c84f3f3cSopenharmony_ci The Regents of the University of California. 167c84f3f3cSopenharmony_ciAll rights reserved. 168c84f3f3cSopenharmony_ci 169c84f3f3cSopenharmony_ci 170c84f3f3cSopenharmony_ciRedistribution and use in source and binary forms, with or without 171c84f3f3cSopenharmony_cimodification, are permitted provided that the following conditions 172c84f3f3cSopenharmony_ciare met: 173c84f3f3cSopenharmony_ci1. Redistributions of source code must retain the above copyright 174c84f3f3cSopenharmony_ci notice, this list of conditions and the following disclaimer. 175c84f3f3cSopenharmony_ci2. Redistributions in binary form must reproduce the above copyright 176c84f3f3cSopenharmony_ci notice, this list of conditions and the following disclaimer in the 177c84f3f3cSopenharmony_ci documentation and/or other materials provided with the distribution. 178c84f3f3cSopenharmony_ci3. Neither the name of the University nor the names of its contributors 179c84f3f3cSopenharmony_ci may be used to endorse or promote products derived from this software 180c84f3f3cSopenharmony_ci without specific prior written permission. 181c84f3f3cSopenharmony_ci 182c84f3f3cSopenharmony_ciTHIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 183c84f3f3cSopenharmony_ciANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 184c84f3f3cSopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 185c84f3f3cSopenharmony_ciARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 186c84f3f3cSopenharmony_ciFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 187c84f3f3cSopenharmony_ciDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 188c84f3f3cSopenharmony_ciOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 189c84f3f3cSopenharmony_ciHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 190c84f3f3cSopenharmony_ciLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 191c84f3f3cSopenharmony_ciOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 192c84f3f3cSopenharmony_ciSUCH DAMAGE. 193c84f3f3cSopenharmony_ci 194c84f3f3cSopenharmony_ci 195c84f3f3cSopenharmony_ciAppendix C - ISC Licence (OSI approved) 196c84f3f3cSopenharmony_ci======================== 197c84f3f3cSopenharmony_ci 198c84f3f3cSopenharmony_cistrlcpy.c is 199c84f3f3cSopenharmony_ciCopyright (c) 2006, 2008, 2009, 2013 200c84f3f3cSopenharmony_ci mirabilos <m@mirbsd.org> 201c84f3f3cSopenharmony_ciCopyright (c) 1998 202c84f3f3cSopenharmony_ci Todd C. Miller <Todd.Miller@courtesan.com> 203c84f3f3cSopenharmony_ci 204c84f3f3cSopenharmony_ci 205c84f3f3cSopenharmony_ciPermission to use, copy, modify, and distribute this software for any 206c84f3f3cSopenharmony_cipurpose with or without fee is hereby granted, provided that the above 207c84f3f3cSopenharmony_cicopyright notice and this permission notice appear in all copies. 208c84f3f3cSopenharmony_ci 209c84f3f3cSopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 210c84f3f3cSopenharmony_ciWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 211c84f3f3cSopenharmony_ciMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 212c84f3f3cSopenharmony_ciANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 213c84f3f3cSopenharmony_ciWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 214c84f3f3cSopenharmony_ciACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 215c84f3f3cSopenharmony_ciOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 216c84f3f3cSopenharmony_ci 217c84f3f3cSopenharmony_ci 218c84f3f3cSopenharmony_ciAppendix D - Licence for mksh.ico (optional component) 219c84f3f3cSopenharmony_ci================================= 220c84f3f3cSopenharmony_ci 221c84f3f3cSopenharmony_ciThe application icon resource comes in its preferred form 222c84f3f3cSopenharmony_ciof modification and is an unregistered trademark: 223c84f3f3cSopenharmony_ci 224c84f3f3cSopenharmony_ciCopyright (c) 2013 Michael Langguth 225c84f3f3cSopenharmony_ciCopyright (c) 2006 Benny Siegert 226c84f3f3cSopenharmony_ciCopyright (c) 2005 mirabilos 227c84f3f3cSopenharmony_ci 228c84f3f3cSopenharmony_ciThis icon may be used to refer to The MirBSD Korn Shell and 229c84f3f3cSopenharmony_ciits Win32 port. Distribution patches are acceptable as long 230c84f3f3cSopenharmony_cias they modify $KSH_VERSION according to the guidelines that 231c84f3f3cSopenharmony_ciare published on the website; forks and works that are not 232c84f3f3cSopenharmony_ciderivates are not allowed to use it. 233c84f3f3cSopenharmony_ci 234c84f3f3cSopenharmony_ciAs far as MirBSD is concerned, the files themselves are free 235c84f3f3cSopenharmony_cito modification and distribution under BSD/MirOS Licence, the 236c84f3f3cSopenharmony_cirestriction on use stems only from a need to protect it or 237c84f3f3cSopenharmony_cilose it: http://www.mckusick.com/beastie/mainpage/copyright.html 238c84f3f3cSopenharmony_ci 239c84f3f3cSopenharmony_ciThe Shilouette daemon is Copyright (c) 2003 by Rick Collette. 240c84f3f3cSopenharmony_ciThe MirOS Project may freely use the former ekkoBSD Logo, 241c84f3f3cSopenharmony_cithe shilouette Daemon, for MirBSD, on anything the project 242c84f3f3cSopenharmony_cileader sees fit, so long as it pertains to MirBSD in some 243c84f3f3cSopenharmony_ciway and the leader gives credit for the original daemon to 244c84f3f3cSopenharmony_ciMarshall Kirk McKusick. 245c84f3f3cSopenharmony_ci 246c84f3f3cSopenharmony_ciThe BSD daemon is Copyright (c) 1988 by Marshall Kirk McKusick. 247c84f3f3cSopenharmony_ciAll Rights Reserved. Individuals may use the daemon for their 248c84f3f3cSopenharmony_cipersonal use within the bounds of good taste. When reasonably 249c84f3f3cSopenharmony_cipossible, the text shown above is to be included. 250c84f3f3cSopenharmony_ci 251c84f3f3cSopenharmony_ci 252c84f3f3cSopenharmony_ciAppendix E - Unicode Data Files and Software Licence 253c84f3f3cSopenharmony_ci==================================================== 254c84f3f3cSopenharmony_ci 255c84f3f3cSopenharmony_ciCopyright © 1991–2020 Unicode, Inc. All rights reserved. 256c84f3f3cSopenharmony_ciDistributed under the Terms of Use in https://www.unicode.org/copyright.html. 257c84f3f3cSopenharmony_ci 258c84f3f3cSopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining 259c84f3f3cSopenharmony_cia copy of the Unicode data files and any associated documentation 260c84f3f3cSopenharmony_ci(the "Data Files") or Unicode software and any associated documentation 261c84f3f3cSopenharmony_ci(the "Software") to deal in the Data Files or Software 262c84f3f3cSopenharmony_ciwithout restriction, including without limitation the rights to use, 263c84f3f3cSopenharmony_cicopy, modify, merge, publish, distribute, and/or sell copies of 264c84f3f3cSopenharmony_cithe Data Files or Software, and to permit persons to whom the Data Files 265c84f3f3cSopenharmony_cior Software are furnished to do so, provided that either 266c84f3f3cSopenharmony_ci(a) this copyright and permission notice appear with all copies 267c84f3f3cSopenharmony_ciof the Data Files or Software, or 268c84f3f3cSopenharmony_ci(b) this copyright and permission notice appear in associated 269c84f3f3cSopenharmony_ciDocumentation. 270c84f3f3cSopenharmony_ci 271c84f3f3cSopenharmony_ciTHE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF 272c84f3f3cSopenharmony_ciANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 273c84f3f3cSopenharmony_ciWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 274c84f3f3cSopenharmony_ciNONINFRINGEMENT OF THIRD PARTY RIGHTS. 275c84f3f3cSopenharmony_ciIN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS 276c84f3f3cSopenharmony_ciNOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL 277c84f3f3cSopenharmony_ciDAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 278c84f3f3cSopenharmony_ciDATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 279c84f3f3cSopenharmony_ciTORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 280c84f3f3cSopenharmony_ciPERFORMANCE OF THE DATA FILES OR SOFTWARE. 281c84f3f3cSopenharmony_ci 282c84f3f3cSopenharmony_ciExcept as contained in this notice, the name of a copyright holder 283c84f3f3cSopenharmony_cishall not be used in advertising or otherwise to promote the sale, 284c84f3f3cSopenharmony_ciuse or other dealings in these Data Files or Software without prior 285c84f3f3cSopenharmony_ciwritten authorization of the copyright holder. 286c84f3f3cSopenharmony_ci 287c84f3f3cSopenharmony_ci 288c84f3f3cSopenharmony_ci__________________________________________________________________ 289c84f3f3cSopenharmony_ci$MirOS: www/files/TaC-mksh.txt,v 1.37 2020/05/16 23:08:35 tg Exp $ 290