1 Terms and Conditions - The MirBSD Korn Shell
2 ============================================
4 The MirBSD Korn Shell (mksh) consists of a number of "source" files,
5 which are provided by upstream in a number of places. This file will
6 list the files belonging to mksh or being part of it and the licence
7 terms and conditions that apply to them, in one single central place
8 for packagers' convenience. This list aims to be authoritative. (Yet
9 as it was compiled by a human, there may be bugs, please report them
10 if any are found. We don't think so though.)
12 All paths are relative to The MirOS Project's CVS repository.
15 The following files form The MirBSD Korn Shell R50j-current:
20 - testsuite with code examples
22 - configuration with/and code examples
24 * contrib/hosted/tg/assockit.ksh
25 * contrib/hosted/tg/uhr
51 - upstream provided packaging
52 * mksh/mksh.ico (application icon resource)
53 * mksh/Makefile (MirBSD only, not part of mksh)
54 * ports/shells/mksh/DEINSTALL
55 * ports/shells/mksh/DESCR (official)
56 * ports/shells/mksh/INSTALL
57 * ports/shells/mksh/Makefile
58 * ports/shells/mksh/PLIST
59 * ports/shells/mksh/distinfo (official)
60 * src/distrib/special/mksh/Makefile (for the MirBSD installer)
62 * www/data/tag_mksh.cfg (internal)
63 * www/files/TaC-mksh.txt (this file)
64 * www/pics/mksh.svg (logo source code)
65 * www/pics/mksh128x100.png (logo compiled version)
66 * www/src/mksh.hts (primary webpage)
67 * www/src/mksh_bld.hts (supplemental webpage)
68 * www/src/mksh_old.hts (supplemental webpage)
70 All of these files are covered by The MirOS Licence (Appendix A) ex-
71 cept the application icon resource, the terms for that are listed in
74 The creator of mksh acknowledges the contributions of several people
75 to the Public Domain Korn Shell as well as suggestions and work from
76 packagers, other developers etc. and everyone else who helped making
77 mksh what it is today. Thanks! The MirBSD Korn Shell is covered by a
78 copyright licence fallback from the original author of the shell.
81 The following files belong to mksh and are distributed inside of its
82 distfile, but are not part of it. They are provided for convenience,
83 because they are required on many operating environments for mksh or
84 some of its features to function:
86 * mksh/strlcpy.c (needed if not provided by the OS already)
88 These files are covered by seperate licences in addition (Appendix C
89 for now). Some operating environments already provide their functio-
90 nality, such as the BSDs and OSX libc, or the Debian/freedesktop.org
91 libbsd package. The files are not compiled into the resulting binary
92 if their respective functionality is already provided.
95 The following files belong to mksh in a less close way, as the files
96 provide additional functionality less closely coupled, or not always
97 desired. These are not included in the mksh distfile:
99 * src/usr.bin/printf/printf.c (UCB printf(1) utility that has been
100 slightly modified, for the optional, undesired printf builtin)
102 *DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS IT ABSOLUTELY
103 IS REQUIRED (or else the preferable /usr/bin/printf gets called)
105 The printf.c file is covered by the UCB three-clause BSD licence, as
106 shown in Appendix B below.
109 The MirOS Licence also applies as a collective-work copyright on The
110 MirBSD Korn Shell, an authorised derivate of the 1980s Public Domain
113 Note that these appendices may represent the terms and conditions of
114 more than one file, hence the actual wording of the files was folded
115 into one representation, with different copyright holders and years,
116 separated if merging was undesirable.
119 Appendix A - The MirOS Licence (OSI approved)
120 ==============================
122 The MirBSD Korn Shell (mksh) is
123 Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
124 2011, 2012, 2013, 2014, 2015
125 Thorsten "mirabilos" Glaser <tg@mirbsd.org>
129 Copyright (c) 2008, 2009
130 Lukas U. <smultron@midnightbsd.org>
131 Copyright (c) 2008, 2009
132 Thorsten "mirabilos" Glaser <tg@mirbsd.org>
135 Provided that these terms and disclaimer and all copyright notices
136 are retained or reproduced in an accompanying document, permission
137 is granted to deal in this work without restriction, including un-
138 limited rights to use, publicly perform, distribute, sell, modify,
139 merge, give away, or sublicence.
141 This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
142 the utmost extent permitted by applicable law, neither express nor
143 implied; without malicious intent or gross negligence. In no event
144 may a licensor, author or contributor be held liable for indirect,
145 direct, other damage, loss, or other issues arising in any way out
146 of dealing in the work, even if advised of the possibility of such
147 damage or existence of a defect, except proven that it results out
148 of said person's immediate fault when using the work as intended.
151 Appendix B - The UCB (3-clause BSD) licence (OSI approved)
152 ===========================================
156 The Regents of the University of California.
160 Redistribution and use in source and binary forms, with or without
161 modification, are permitted provided that the following conditions
163 1. Redistributions of source code must retain the above copyright
164 notice, this list of conditions and the following disclaimer.
165 2. Redistributions in binary form must reproduce the above copyright
166 notice, this list of conditions and the following disclaimer in the
167 documentation and/or other materials provided with the distribution.
168 3. Neither the name of the University nor the names of its contributors
169 may be used to endorse or promote products derived from this software
170 without specific prior written permission.
172 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
173 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
174 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
175 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
176 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
177 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
178 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
179 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
180 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
181 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
185 Appendix C - ISC Licence (OSI approved)
186 ========================
189 Copyright (c) 2006, 2008, 2009
190 Thorsten Glaser <tg@mirbsd.org>
192 Todd C. Miller <Todd.Miller@courtesan.com>
195 Permission to use, copy, modify, and distribute this software for any
196 purpose with or without fee is hereby granted, provided that the above
197 copyright notice and this permission notice appear in all copies.
199 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
200 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
201 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
202 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
203 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
204 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
205 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
208 Appendix D - Licence for mksh.ico (optional component)
209 =================================
211 The application icon resource comes in its preferred form
212 of modification and is an unregistered trademark:
214 Copyright (c) 2013 Michael Langguth
215 Copyright (c) 2006 Benny Siegert
216 Copyright (c) 2005 Thorsten Glaser
218 This icon may be used to refer to The MirBSD Korn Shell and
219 its Win32 port. Distribution patches are acceptable as long
220 as they modify $KSH_VERSION according to the guidelines that
221 are published on the website; forks and works that are not
222 derivates are not allowed to use it.
224 As far as MirBSD is concerned, the files themselves are free
225 to modification and distribution under BSD/MirOS Licence, the
226 restriction on use stems only from a need to protect it or
227 lose it: http://www.mckusick.com/beastie/mainpage/copyright.html
229 The Shilouette daemon is Copyright (c) 2003 by Rick Collette.
230 The MirOS Project may freely use the former ekkoBSD Logo,
231 the shilouette Daemon, for MirBSD, on anything the project
232 leader sees fit, so long as it pertains to MirBSD in some
233 way and the leader gives credit for the original daemon to
234 Marshall Kirk McKusick.
236 The BSD daemon is Copyright (c) 1988 by Marshall Kirk McKusick.
237 All Rights Reserved. Individuals may use the daemon for their
238 personal use within the bounds of good taste. When reasonably
239 possible, the text shown above is to be included.
242 __________________________________________________________________
243 $MirOS: www/files/TaC-mksh.txt,v 1.23 2015/01/02 13:54:22 tg Exp $