Add PIE linker flags
[platform/upstream/krb5.git] / NOTICE
1 Copyright (C) 1985-2019 by the Massachusetts Institute of Technology.
2
3 All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are
7 met:
8
9 * Redistributions of source code must retain the above copyright
10   notice, this list of conditions and the following disclaimer.
11
12 * Redistributions in binary form must reproduce the above copyright
13   notice, this list of conditions and the following disclaimer in the
14   documentation and/or other materials provided with the distribution.
15
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 Downloading of this software may constitute an export of cryptographic
29 software from the United States of America that is subject to the
30 United States Export Administration Regulations (EAR), 15 CFR 730-774.
31 Additional laws or regulations may apply.  It is the responsibility of
32 the person or entity contemplating export to comply with all
33 applicable export laws and regulations, including obtaining any
34 required license from the U.S. government.
35
36 The U.S. government prohibits export of encryption source code to
37 certain countries and individuals, including, but not limited to, the
38 countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and
39 nationals of those countries.
40
41 Documentation components of this software distribution are licensed
42 under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
43 (https://creativecommons.org/licenses/by-sa/3.0/)
44
45 Individual source code files are copyright MIT, Cygnus Support,
46 Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems,
47 FundsXpress, and others.
48
49 Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
50 and Zephyr are trademarks of the Massachusetts Institute of Technology
51 (MIT).  No commercial use of these trademarks may be made without
52 prior written permission of MIT.
53
54 "Commercial use" means use of a name in a product or other for-profit
55 manner.  It does NOT prevent a commercial firm from referring to the
56 MIT trademarks in order to convey information (although in doing so,
57 recognition of their trademark status should be given).
58
59 ======================================================================
60
61 The following copyright and permission notice applies to the
62 OpenVision Kerberos Administration system located in "kadmin/create",
63 "kadmin/dbutil", "kadmin/passwd", "kadmin/server", "lib/kadm5", and
64 portions of "lib/rpc":
65
66    Copyright, OpenVision Technologies, Inc., 1993-1996, All Rights
67    Reserved
68
69    WARNING:  Retrieving the OpenVision Kerberos Administration system
70    source code, as described below, indicates your acceptance of the
71    following terms.  If you do not agree to the following terms, do
72    not retrieve the OpenVision Kerberos administration system.
73
74    You may freely use and distribute the Source Code and Object Code
75    compiled from it, with or without modification, but this Source
76    Code is provided to you "AS IS" EXCLUSIVE OF ANY WARRANTY,
77    INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR
78    FITNESS FOR A PARTICULAR PURPOSE, OR ANY OTHER WARRANTY, WHETHER
79    EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION HAVE ANY LIABILITY
80    FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF
81    SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR
82    CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,
83    WITHOUT LIMITATION, THOSE RESULTING FROM THE USE OF THE SOURCE
84    CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM, OR FOR ANY
85    OTHER REASON.
86
87    OpenVision retains all copyrights in the donated Source Code.
88    OpenVision also retains copyright to derivative works of the Source
89    Code, whether created by OpenVision or by a third party. The
90    OpenVision copyright notice must be preserved if derivative works
91    are made based on the donated Source Code.
92
93    OpenVision Technologies, Inc. has donated this Kerberos
94    Administration system to MIT for inclusion in the standard Kerberos
95    5 distribution. This donation underscores our commitment to
96    continuing Kerberos technology development and our gratitude for
97    the valuable work which has been performed by MIT and the Kerberos
98    community.
99
100 ======================================================================
101
102    Portions contributed by Matt Crawford "crawdad@fnal.gov" were work
103    performed at Fermi National Accelerator Laboratory, which is
104    operated by Universities Research Association, Inc., under contract
105    DE-AC02-76CHO3000 with the U.S. Department of Energy.
106
107 ======================================================================
108
109 Portions of "src/lib/crypto" have the following copyright:
110
111    Copyright (C) 1998 by the FundsXpress, INC.
112
113    All rights reserved.
114
115       Export of this software from the United States of America may
116       require a specific license from the United States Government.
117       It is the responsibility of any person or organization
118       contemplating export to obtain such a license before exporting.
119
120    WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
121    distribute this software and its documentation for any purpose and
122    without fee is hereby granted, provided that the above copyright
123    notice appear in all copies and that both that copyright notice and
124    this permission notice appear in supporting documentation, and that
125    the name of FundsXpress. not be used in advertising or publicity
126    pertaining to distribution of the software without specific,
127    written prior permission.  FundsXpress makes no representations
128    about the suitability of this software for any purpose.  It is
129    provided "as is" without express or implied warranty.
130
131    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
132    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
133    WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
134
135 ======================================================================
136
137 The implementation of the AES encryption algorithm in
138 "src/lib/crypto/builtin/aes" has the following copyright:
139
140       Copyright (C) 2001, Dr Brian Gladman "brg@gladman.uk.net",
141       Worcester, UK.
142       All rights reserved.
143
144    LICENSE TERMS
145
146    The free distribution and use of this software in both source and
147    binary form is allowed (with or without changes) provided that:
148
149    1. distributions of this source code include the above copyright
150       notice, this list of conditions and the following disclaimer;
151
152    2. distributions in binary form include the above copyright
153       notice, this list of conditions and the following disclaimer in
154       the documentation and/or other associated materials;
155
156    3. the copyright holder's name is not used to endorse products
157       built using this software without specific written permission.
158
159    DISCLAIMER
160
161    This software is provided 'as is' with no explcit or implied
162    warranties in respect of any properties, including, but not limited
163    to, correctness and fitness for purpose.
164
165 ======================================================================
166
167 Portions contributed by Red Hat, including the pre-authentication
168 plug-in framework and the NSS crypto implementation, contain the
169 following copyright:
170
171       Copyright (C) 2006 Red Hat, Inc.
172       Portions copyright (C) 2006 Massachusetts Institute of Technology
173       All Rights Reserved.
174
175    Redistribution and use in source and binary forms, with or without
176    modification, are permitted provided that the following conditions
177    are met:
178
179    * Redistributions of source code must retain the above copyright
180      notice, this list of conditions and the following disclaimer.
181
182    * Redistributions in binary form must reproduce the above
183      copyright notice, this list of conditions and the following
184      disclaimer in the documentation and/or other materials provided
185      with the distribution.
186
187    * Neither the name of Red Hat, Inc., nor the names of its
188      contributors may be used to endorse or promote products derived
189      from this software without specific prior written permission.
190
191    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
192    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
194    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
195    COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
196    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
197    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
198    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
199    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
200    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
201    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
202    OF THE POSSIBILITY OF SUCH DAMAGE.
203
204 ======================================================================
205
206 The bundled verto source code is subject to the following license:
207
208    Copyright 2011 Red Hat, Inc.
209
210    Permission is hereby granted, free of charge, to any person
211    obtaining a copy of this software and associated documentation
212    files (the "Software"), to deal in the Software without
213    restriction, including without limitation the rights to use, copy,
214    modify, merge, publish, distribute, sublicense, and/or sell copies
215    of the Software, and to permit persons to whom the Software is
216    furnished to do so, subject to the following conditions:
217
218    The above copyright notice and this permission notice shall be
219    included in all copies or substantial portions of the Software.
220
221    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
222    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
223    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
224    NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
225    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
226    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
227    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
228    DEALINGS IN THE SOFTWARE.
229
230 ======================================================================
231
232 The MS-KKDCP client implementation has the following copyright:
233
234    Copyright 2013,2014 Red Hat, Inc.
235
236    Redistribution and use in source and binary forms, with or without
237    modification, are permitted provided that the following conditions
238    are met:
239
240       1. Redistributions of source code must retain the above
241          copyright notice, this list of conditions and the following
242          disclaimer.
243
244       2. Redistributions in binary form must reproduce the above
245          copyright notice, this list of conditions and the following
246          disclaimer in the documentation and/or other materials
247          provided with the distribution.
248
249    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
250    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
251    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
252    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
253    COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
254    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
255    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
256    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
257    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
258    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
259    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
260    OF THE POSSIBILITY OF SUCH DAMAGE.
261
262 ======================================================================
263
264 The implementations of GSSAPI mechglue in GSSAPI-SPNEGO in
265 "src/lib/gssapi", including the following files:
266
267    lib/gssapi/generic/gssapi_err_generic.et
268    lib/gssapi/mechglue/g_accept_sec_context.c
269    lib/gssapi/mechglue/g_acquire_cred.c
270    lib/gssapi/mechglue/g_canon_name.c
271    lib/gssapi/mechglue/g_compare_name.c
272    lib/gssapi/mechglue/g_context_time.c
273    lib/gssapi/mechglue/g_delete_sec_context.c
274    lib/gssapi/mechglue/g_dsp_name.c
275    lib/gssapi/mechglue/g_dsp_status.c
276    lib/gssapi/mechglue/g_dup_name.c
277    lib/gssapi/mechglue/g_exp_sec_context.c
278    lib/gssapi/mechglue/g_export_name.c
279    lib/gssapi/mechglue/g_glue.c
280    lib/gssapi/mechglue/g_imp_name.c
281    lib/gssapi/mechglue/g_imp_sec_context.c
282    lib/gssapi/mechglue/g_init_sec_context.c
283    lib/gssapi/mechglue/g_initialize.c
284    lib/gssapi/mechglue/g_inquire_context.c
285    lib/gssapi/mechglue/g_inquire_cred.c
286    lib/gssapi/mechglue/g_inquire_names.c
287    lib/gssapi/mechglue/g_process_context.c
288    lib/gssapi/mechglue/g_rel_buffer.c
289    lib/gssapi/mechglue/g_rel_cred.c
290    lib/gssapi/mechglue/g_rel_name.c
291    lib/gssapi/mechglue/g_rel_oid_set.c
292    lib/gssapi/mechglue/g_seal.c
293    lib/gssapi/mechglue/g_sign.c
294    lib/gssapi/mechglue/g_store_cred.c
295    lib/gssapi/mechglue/g_unseal.c
296    lib/gssapi/mechglue/g_userok.c
297    lib/gssapi/mechglue/g_utils.c
298    lib/gssapi/mechglue/g_verify.c
299    lib/gssapi/mechglue/gssd_pname_to_uid.c
300    lib/gssapi/mechglue/mglueP.h
301    lib/gssapi/mechglue/oid_ops.c
302    lib/gssapi/spnego/gssapiP_spnego.h
303    lib/gssapi/spnego/spnego_mech.c
304
305 and the initial implementation of incremental propagation, including
306 the following new or changed files:
307
308    include/iprop_hdr.h
309    kadmin/server/ipropd_svc.c
310    lib/kdb/iprop.x
311    lib/kdb/kdb_convert.c
312    lib/kdb/kdb_log.c
313    lib/kdb/kdb_log.h
314    lib/krb5/error_tables/kdb5_err.et
315    kprop/kpropd_rpc.c
316    kprop/kproplog.c
317
318 are subject to the following license:
319
320    Copyright (C) 2004 Sun Microsystems, Inc.
321
322    Permission is hereby granted, free of charge, to any person
323    obtaining a copy of this software and associated documentation
324    files (the "Software"), to deal in the Software without
325    restriction, including without limitation the rights to use, copy,
326    modify, merge, publish, distribute, sublicense, and/or sell copies
327    of the Software, and to permit persons to whom the Software is
328    furnished to do so, subject to the following conditions:
329
330    The above copyright notice and this permission notice shall be
331    included in all copies or substantial portions of the Software.
332
333    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
334    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
335    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
336    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
337    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
338    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
339    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
340    SOFTWARE.
341
342 ======================================================================
343
344 Kerberos V5 includes documentation and software developed at the
345 University of California at Berkeley, which includes this copyright
346 notice:
347
348       Copyright (C) 1983 Regents of the University of California.
349       All rights reserved.
350
351    Redistribution and use in source and binary forms, with or without
352    modification, are permitted provided that the following conditions
353    are met:
354
355    1. Redistributions of source code must retain the above
356       copyright notice, this list of conditions and the following
357       disclaimer.
358
359    2. Redistributions in binary form must reproduce the above
360       copyright notice, this list of conditions and the following
361       disclaimer in the documentation and/or other materials provided
362       with the distribution.
363
364    3. Neither the name of the University nor the names of its
365       contributors may be used to endorse or promote products derived
366       from this software without specific prior written permission.
367
368    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS"
369    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
370    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
371    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS
372    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
373    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
374    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
375    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
376    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
377    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
378    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
379    SUCH DAMAGE.
380
381 ======================================================================
382
383 Portions contributed by Novell, Inc., including the LDAP database
384 backend, are subject to the following license:
385
386       Copyright (C) 2004-2005, Novell, Inc.
387       All rights reserved.
388
389    Redistribution and use in source and binary forms, with or without
390    modification, are permitted provided that the following conditions
391    are met:
392
393    * Redistributions of source code must retain the above copyright
394      notice, this list of conditions and the following disclaimer.
395
396    * Redistributions in binary form must reproduce the above
397      copyright notice, this list of conditions and the following
398      disclaimer in the documentation and/or other materials provided
399      with the distribution.
400
401    * The copyright holder's name is not used to endorse or promote
402      products derived from this software without specific prior
403      written permission.
404
405    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
406    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
407    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
408    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
409    COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
410    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
411    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
412    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
413    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
414    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
415    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
416    OF THE POSSIBILITY OF SUCH DAMAGE.
417
418 ======================================================================
419
420 Portions funded by Sandia National Laboratory and developed by the
421 University of Michigan's Center for Information Technology
422 Integration, including the PKINIT implementation, are subject to the
423 following license:
424
425       COPYRIGHT (C) 2006-2007
426       THE REGENTS OF THE UNIVERSITY OF MICHIGAN
427       ALL RIGHTS RESERVED
428
429    Permission is granted to use, copy, create derivative works and
430    redistribute this software and such derivative works for any
431    purpose, so long as the name of The University of Michigan is not
432    used in any advertising or publicity pertaining to the use of
433    distribution of this software without specific, written prior
434    authorization.  If the above copyright notice or any other
435    identification of the University of Michigan is included in any
436    copy of any portion of this software, then the disclaimer below
437    must also be included.
438
439    THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
440    UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
441    WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
442    EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
443    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
444    THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR
445    ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR
446    CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR
447    IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR
448    IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
449
450 ======================================================================
451
452 The pkcs11.h file included in the PKINIT code has the following
453 license:
454
455       Copyright 2006 g10 Code GmbH
456       Copyright 2006 Andreas Jellinghaus
457
458    This file is free software; as a special exception the author gives
459    unlimited permission to copy and/or distribute it, with or without
460    modifications, as long as this notice is preserved.
461
462    This file is distributed in the hope that it will be useful, but
463    WITHOUT ANY WARRANTY, to the extent permitted by law; without even
464    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
465    PURPOSE.
466
467 ======================================================================
468
469 Portions contributed by Apple Inc. are subject to the following
470 license:
471
472    Copyright 2004-2008 Apple Inc.  All Rights Reserved.
473
474       Export of this software from the United States of America may
475       require a specific license from the United States Government.
476       It is the responsibility of any person or organization
477       contemplating export to obtain such a license before exporting.
478
479    WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
480    distribute this software and its documentation for any purpose and
481    without fee is hereby granted, provided that the above copyright
482    notice appear in all copies and that both that copyright notice and
483    this permission notice appear in supporting documentation, and that
484    the name of Apple Inc. not be used in advertising or publicity
485    pertaining to distribution of the software without specific,
486    written prior permission.  Apple Inc. makes no representations
487    about the suitability of this software for any purpose.  It is
488    provided "as is" without express or implied warranty.
489
490    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
491    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
492    WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
493
494 ======================================================================
495
496 The implementations of UTF-8 string handling in src/util/support and
497 src/lib/krb5/unicode are subject to the following copyright and
498 permission notice:
499
500       The OpenLDAP Public License
501       Version 2.8, 17 August 2003
502
503    Redistribution and use of this software and associated
504    documentation ("Software"), with or without modification, are
505    permitted provided that the following conditions are met:
506
507    1. Redistributions in source form must retain copyright
508       statements and notices,
509
510    2. Redistributions in binary form must reproduce applicable
511       copyright statements and notices, this list of conditions, and
512       the following disclaimer in the documentation and/or other
513       materials provided with the distribution, and
514
515    3. Redistributions must contain a verbatim copy of this
516       document.
517
518    The OpenLDAP Foundation may revise this license from time to time.
519    Each revision is distinguished by a version number.  You may use
520    this Software under terms of this license revision or under the
521    terms of any subsequent revision of the license.
522
523    THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
524    CONTRIBUTORS "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
525    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
526    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
527    DISCLAIMED.  IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS
528    CONTRIBUTORS, OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE
529    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
530    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
531    OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
532    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
533    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
534    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
535    USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
536    DAMAGE.
537
538    The names of the authors and copyright holders must not be used in
539    advertising or otherwise to promote the sale, use or other dealing
540    in this Software without specific, written prior permission.  Title
541    to copyright in this Software shall at all times remain with
542    copyright holders.
543
544    OpenLDAP is a registered trademark of the OpenLDAP Foundation.
545
546    Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
547    California, USA.  All Rights Reserved.  Permission to copy and
548    distribute verbatim copies of this document is granted.
549
550 ======================================================================
551
552 Marked test programs in src/lib/krb5/krb have the following copyright:
553
554       Copyright (C) 2006 Kungliga Tekniska Högskola
555       (Royal Institute of Technology, Stockholm, Sweden).
556       All rights reserved.
557
558    Redistribution and use in source and binary forms, with or without
559    modification, are permitted provided that the following conditions
560    are met:
561
562    1. Redistributions of source code must retain the above
563       copyright notice, this list of conditions and the following
564       disclaimer.
565
566    2. Redistributions in binary form must reproduce the above
567       copyright notice, this list of conditions and the following
568       disclaimer in the documentation and/or other materials provided
569       with the distribution.
570
571    3. Neither the name of KTH nor the names of its contributors may
572       be used to endorse or promote products derived from this
573       software without specific prior written permission.
574
575    THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS "AS IS" AND
576    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
577    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
578    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS
579    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
580    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
581    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
582    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
583    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
584    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
585    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
586    SUCH DAMAGE.
587
588 ======================================================================
589
590 The KCM Mach RPC definition file used on macOS has the following
591 copyright:
592
593       Copyright (C) 2009 Kungliga Tekniska Högskola
594       (Royal Institute of Technology, Stockholm, Sweden).
595       All rights reserved.
596
597    Portions Copyright (C) 2009 Apple Inc. All rights reserved.
598
599    Redistribution and use in source and binary forms, with or without
600    modification, are permitted provided that the following conditions
601    are met:
602
603    1. Redistributions of source code must retain the above
604       copyright notice, this list of conditions and the following
605       disclaimer.
606
607    2. Redistributions in binary form must reproduce the above
608       copyright notice, this list of conditions and the following
609       disclaimer in the documentation and/or other materials provided
610       with the distribution.
611
612    3. Neither the name of the Institute nor the names of its
613       contributors may be used to endorse or promote products derived
614       from this software without specific prior written permission.
615
616    THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS "AS IS"
617    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
618    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
619    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE
620    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
621    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
622    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
623    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
624    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
625    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
626    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
627    SUCH DAMAGE.
628
629 ======================================================================
630
631 Portions of the RPC implementation in src/lib/rpc and
632 src/include/gssrpc have the following copyright and permission notice:
633
634    Copyright (C) 2010, Oracle America, Inc.
635
636    All rights reserved.
637
638    Redistribution and use in source and binary forms, with or without
639    modification, are permitted provided that the following conditions
640    are met:
641
642    1. Redistributions of source code must retain the above
643       copyright notice, this list of conditions and the following
644       disclaimer.
645
646    2. Redistributions in binary form must reproduce the above
647       copyright notice, this list of conditions and the following
648       disclaimer in the documentation and/or other materials provided
649       with the distribution.
650
651    3. Neither the name of the "Oracle America, Inc." nor the names
652       of its contributors may be used to endorse or promote products
653       derived from this software without specific prior written
654       permission.
655
656    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
657    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
658    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
659    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
660    COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
661    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
662    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
663    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
664    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
665    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
666    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
667    OF THE POSSIBILITY OF SUCH DAMAGE.
668
669 ======================================================================
670
671    Copyright (C) 2006,2007,2009 NTT (Nippon Telegraph and Telephone
672    Corporation).  All rights reserved.
673
674    Redistribution and use in source and binary forms, with or without
675    modification, are permitted provided that the following conditions
676    are met:
677
678    1. Redistributions of source code must retain the above
679       copyright notice, this list of conditions and the following
680       disclaimer as the first lines of this file unmodified.
681
682    2. Redistributions in binary form must reproduce the above
683       copyright notice, this list of conditions and the following
684       disclaimer in the documentation and/or other materials provided
685       with the distribution.
686
687    THIS SOFTWARE IS PROVIDED BY NTT "AS IS" AND ANY EXPRESS OR IMPLIED
688    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
689    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
690    DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,
691    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
692    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
693    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
694    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
695    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
696    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
697    OF THE POSSIBILITY OF SUCH DAMAGE.
698
699 ======================================================================
700
701    Copyright 2000 by Carnegie Mellon University
702
703    All Rights Reserved
704
705    Permission to use, copy, modify, and distribute this software and
706    its documentation for any purpose and without fee is hereby
707    granted, provided that the above copyright notice appear in all
708    copies and that both that copyright notice and this permission
709    notice appear in supporting documentation, and that the name of
710    Carnegie Mellon University not be used in advertising or publicity
711    pertaining to distribution of the software without specific,
712    written prior permission.
713
714    CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
715    THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
716    AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
717    FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
718    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
719    AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
720    OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
721    SOFTWARE.
722
723 ======================================================================
724
725    Copyright (C) 2002 Naval Research Laboratory (NRL/CCS)
726
727    Permission to use, copy, modify and distribute this software and
728    its documentation is hereby granted, provided that both the
729    copyright notice and this permission notice appear in all copies of
730    the software, derivative works or modified versions, and any
731    portions thereof.
732
733    NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
734    DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
735    RESULTING FROM THE USE OF THIS SOFTWARE.
736
737 ======================================================================
738
739    Copyright (C) 1991, 1992, 1994 by Cygnus Support.
740
741    Permission to use, copy, modify, and distribute this software and
742    its documentation for any purpose and without fee is hereby
743    granted, provided that the above copyright notice appear in all
744    copies and that both that copyright notice and this permission
745    notice appear in supporting documentation. Cygnus Support makes no
746    representations about the suitability of this software for any
747    purpose.  It is provided "as is" without express or implied
748    warranty.
749
750 ======================================================================
751
752    Copyright (C) 2006 Secure Endpoints Inc.
753
754    Permission is hereby granted, free of charge, to any person
755    obtaining a copy of this software and associated documentation
756    files (the "Software"), to deal in the Software without
757    restriction, including without limitation the rights to use, copy,
758    modify, merge, publish, distribute, sublicense, and/or sell copies
759    of the Software, and to permit persons to whom the Software is
760    furnished to do so, subject to the following conditions:
761
762    The above copyright notice and this permission notice shall be
763    included in all copies or substantial portions of the Software.
764
765    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
766    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
767    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
768    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
769    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
770    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
771    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
772    SOFTWARE.
773
774 ======================================================================
775
776 Portions of the implementation of the Fortuna-like PRNG are subject to
777 the following notice:
778
779       Copyright (C) 2005 Marko Kreen
780       All rights reserved.
781
782    Redistribution and use in source and binary forms, with or without
783    modification, are permitted provided that the following conditions
784    are met:
785
786    1. Redistributions of source code must retain the above
787       copyright notice, this list of conditions and the following
788       disclaimer.
789
790    2. Redistributions in binary form must reproduce the above
791       copyright notice, this list of conditions and the following
792       disclaimer in the documentation and/or other materials provided
793       with the distribution.
794
795    THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
796    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
797    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
798    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR
799    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
800    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
801    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
802    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
803    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
804    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
805    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
806    SUCH DAMAGE.
807
808    Copyright (C) 1994 by the University of Southern California
809
810       EXPORT OF THIS SOFTWARE from the United States of America may
811       require a specific license from the United States Government. It
812       is the responsibility of any person or organization
813       contemplating export to obtain such a license before exporting.
814
815    WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute
816    this software and its documentation in source and binary forms is
817    hereby granted, provided that any documentation or other materials
818    related to such distribution or use acknowledge that the software
819    was developed by the University of Southern California.
820
821    DISCLAIMER OF WARRANTY.  THIS SOFTWARE IS PROVIDED "AS IS".  The
822    University of Southern California MAKES NO REPRESENTATIONS OR
823    WARRANTIES, EXPRESS OR IMPLIED.  By way of example, but not
824    limitation, the University of Southern California MAKES NO
825    REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
826    PARTICULAR PURPOSE. The University of Southern California shall not
827    be held liable for any liability nor for any direct, indirect, or
828    consequential damages with respect to any claim by the user or
829    distributor of the ksu software.
830
831 ======================================================================
832
833       Copyright (C) 1995
834       The President and Fellows of Harvard University
835
836    This code is derived from software contributed to Harvard by Jeremy
837    Rassen.
838
839    Redistribution and use in source and binary forms, with or without
840    modification, are permitted provided that the following conditions
841    are met:
842
843    1. Redistributions of source code must retain the above
844       copyright notice, this list of conditions and the following
845       disclaimer.
846
847    2. Redistributions in binary form must reproduce the above
848       copyright notice, this list of conditions and the following
849       disclaimer in the documentation and/or other materials provided
850       with the distribution.
851
852    3. All advertising materials mentioning features or use of this
853       software must display the following acknowledgement:
854
855          This product includes software developed by the University of
856          California, Berkeley and its contributors.
857
858    4. Neither the name of the University nor the names of its
859       contributors may be used to endorse or promote products derived
860       from this software without specific prior written permission.
861
862    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS"
863    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
864    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
865    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS
866    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
867    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
868    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
869    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
870    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
871    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
872    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
873    SUCH DAMAGE.
874
875 ======================================================================
876
877       Copyright (C) 2008 by the Massachusetts Institute of Technology.
878       Copyright 1995 by Richard P. Basch.  All Rights Reserved.
879       Copyright 1995 by Lehman Brothers, Inc.  All Rights Reserved.
880
881       Export of this software from the United States of America may
882       require a specific license from the United States Government. It
883       is the responsibility of any person or organization
884       contemplating export to obtain such a license before exporting.
885
886    WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
887    distribute this software and its documentation for any purpose and
888    without fee is hereby granted, provided that the above copyright
889    notice appear in all copies and that both that copyright notice and
890    this permission notice appear in supporting documentation, and that
891    the name of Richard P. Basch, Lehman Brothers and M.I.T. not be
892    used in advertising or publicity pertaining to distribution of the
893    software without specific, written prior permission.  Richard P.
894    Basch, Lehman Brothers and M.I.T. make no representations about the
895    suitability of this software for any purpose.  It is provided "as
896    is" without express or implied warranty.
897
898 ======================================================================
899
900 The following notice applies to "src/lib/krb5/krb/strptime.c" and
901 "src/include/k5-queue.h".
902
903       Copyright (C) 1997, 1998 The NetBSD Foundation, Inc.
904       All rights reserved.
905
906    This code was contributed to The NetBSD Foundation by Klaus Klein.
907
908    Redistribution and use in source and binary forms, with or without
909    modification, are permitted provided that the following conditions
910    are met:
911
912    1. Redistributions of source code must retain the above
913       copyright notice, this list of conditions and the following
914       disclaimer.
915
916    2. Redistributions in binary form must reproduce the above
917       copyright notice, this list of conditions and the following
918       disclaimer in the documentation and/or other materials provided
919       with the distribution.
920
921    3. All advertising materials mentioning features or use of this
922       software must display the following acknowledgement:
923
924          This product includes software developed by the NetBSD
925          Foundation, Inc. and its contributors.
926
927    4. Neither the name of The NetBSD Foundation nor the names of
928       its contributors may be used to endorse or promote products
929       derived from this software without specific prior written
930       permission.
931
932    THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
933    CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
934    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
935    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
936    DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE
937    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
938    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
939    OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
940    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
941    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
942    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
943    USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
944    DAMAGE.
945
946 ======================================================================
947
948 The following notice applies to Unicode library files in
949 "src/lib/krb5/unicode":
950
951       Copyright 1997, 1998, 1999 Computing Research Labs,
952       New Mexico State University
953
954    Permission is hereby granted, free of charge, to any person
955    obtaining a copy of this software and associated documentation
956    files (the "Software"), to deal in the Software without
957    restriction, including without limitation the rights to use, copy,
958    modify, merge, publish, distribute, sublicense, and/or sell copies
959    of the Software, and to permit persons to whom the Software is
960    furnished to do so, subject to the following conditions:
961
962    The above copyright notice and this permission notice shall be
963    included in all copies or substantial portions of the Software.
964
965    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
966    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
967    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
968    NONINFRINGEMENT.  IN NO EVENT SHALL THE COMPUTING RESEARCH LAB OR
969    NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR
970    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
971    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
972    OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
973
974 ======================================================================
975
976 The following notice applies to "src/util/support/strlcpy.c":
977
978    Copyright (C) 1998 Todd C. Miller "Todd.Miller@courtesan.com"
979
980    Permission to use, copy, modify, and distribute this software for
981    any purpose with or without fee is hereby granted, provided that
982    the above copyright notice and this permission notice appear in all
983    copies.
984
985    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
986    WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
987    WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
988    AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
989    CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
990    OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
991    NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
992    CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
993
994 ======================================================================
995
996 The following notice applies to "src/util/profile/argv_parse.c" and
997 "src/util/profile/argv_parse.h":
998
999    Copyright 1999 by Theodore Ts'o.
1000
1001    Permission to use, copy, modify, and distribute this software for
1002    any purpose with or without fee is hereby granted, provided that
1003    the above copyright notice and this permission notice appear in all
1004    copies.  THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
1005    AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1006    INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN
1007    NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1008    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
1009    RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
1010    OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1011    IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  (Isn't
1012    it sick that the U.S. culture of lawsuit-happy lawyers requires
1013    this kind of disclaimer?)
1014
1015 ======================================================================
1016
1017 The following notice applies to SWIG-generated code in
1018 "src/util/profile/profile_tcl.c":
1019
1020    Copyright (C) 1999-2000, The University of Chicago
1021
1022    This file may be freely redistributed without license or fee
1023    provided this copyright message remains intact.
1024
1025 ======================================================================
1026
1027 The following notice applies to portiions of "src/lib/rpc" and
1028 "src/include/gssrpc":
1029
1030    Copyright (C) 2000 The Regents of the University of Michigan. All
1031    rights reserved.
1032
1033    Copyright (C) 2000 Dug Song "dugsong@UMICH.EDU". All rights
1034    reserved, all wrongs reversed.
1035
1036    Redistribution and use in source and binary forms, with or without
1037    modification, are permitted provided that the following conditions
1038    are met:
1039
1040    1. Redistributions of source code must retain the above
1041       copyright notice, this list of conditions and the following
1042       disclaimer.
1043
1044    2. Redistributions in binary form must reproduce the above
1045       copyright notice, this list of conditions and the following
1046       disclaimer in the documentation and/or other materials provided
1047       with the distribution.
1048
1049    3. Neither the name of the University nor the names of its
1050       contributors may be used to endorse or promote products derived
1051       from this software without specific prior written permission.
1052
1053    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
1054    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1055    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1056    DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1057    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1058    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
1059    OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1060    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
1061    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1062    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
1063    USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1064    DAMAGE.
1065
1066 ======================================================================
1067
1068 Implementations of the MD4 algorithm are subject to the following
1069 notice:
1070
1071    Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
1072
1073    License to copy and use this software is granted provided that it
1074    is identified as the "RSA Data Security, Inc. MD4 Message Digest
1075    Algorithm" in all material mentioning or referencing this software
1076    or this function.
1077
1078    License is also granted to make and use derivative works provided
1079    that such works are identified as "derived from the RSA Data
1080    Security, Inc. MD4 Message Digest Algorithm" in all material
1081    mentioning or referencing the derived work.
1082
1083    RSA Data Security, Inc. makes no representations concerning either
1084    the merchantability of this software or the suitability of this
1085    software for any particular purpose.  It is provided "as is"
1086    without express or implied warranty of any kind.
1087
1088    These notices must be retained in any copies of any part of this
1089    documentation and/or software.
1090
1091 ======================================================================
1092
1093 Implementations of the MD5 algorithm are subject to the following
1094 notice:
1095
1096    Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
1097
1098    License to copy and use this software is granted provided that it
1099    is identified as the "RSA Data Security, Inc. MD5 Message- Digest
1100    Algorithm" in all material mentioning or referencing this software
1101    or this function.
1102
1103    License is also granted to make and use derivative works provided
1104    that such works are identified as "derived from the RSA Data
1105    Security, Inc. MD5 Message-Digest Algorithm" in all material
1106    mentioning or referencing the derived work.
1107
1108    RSA Data Security, Inc. makes no representations concerning either
1109    the merchantability of this software or the suitability of this
1110    software for any particular purpose.  It is provided "as is"
1111    without express or implied warranty of any kind.
1112
1113    These notices must be retained in any copies of any part of this
1114    documentation and/or software.
1115
1116 ======================================================================
1117
1118 The following notice applies to
1119 "src/lib/crypto/crypto_tests/t_mddriver.c":
1120
1121    Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
1122    rights reserved.
1123
1124    RSA Data Security, Inc. makes no representations concerning either
1125    the merchantability of this software or the suitability of this
1126    software for any particular purpose. It is provided "as is" without
1127    express or implied warranty of any kind.
1128
1129    These notices must be retained in any copies of any part of this
1130    documentation and/or software.
1131
1132 ======================================================================
1133
1134 Portions of "src/lib/krb5" are subject to the following notice:
1135
1136       Copyright (C) 1994 CyberSAFE Corporation.
1137       Copyright 1990,1991,2007,2008 by the Massachusetts
1138       Institute of Technology.
1139       All Rights Reserved.
1140
1141       Export of this software from the United States of America may
1142       require a specific license from the United States Government. It
1143       is the responsibility of any person or organization
1144       contemplating export to obtain such a license before exporting.
1145
1146    WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
1147    distribute this software and its documentation for any purpose and
1148    without fee is hereby granted, provided that the above copyright
1149    notice appear in all copies and that both that copyright notice and
1150    this permission notice appear in supporting documentation, and that
1151    the name of M.I.T. not be used in advertising or publicity
1152    pertaining to distribution of the software without specific,
1153    written prior permission.  Furthermore if you modify this software
1154    you must label your software as modified software and not
1155    distribute it in such a fashion that it might be confused with the
1156    original M.I.T. software. Neither M.I.T., the Open Computing
1157    Security Group, nor CyberSAFE Corporation make any representations
1158    about the suitability of this software for any purpose.  It is
1159    provided "as is" without express or implied warranty.
1160
1161 ======================================================================
1162
1163 Portions contributed by PADL Software are subject to the following
1164 license:
1165
1166    Copyright (c) 2011, PADL Software Pty Ltd. All rights reserved.
1167
1168    Redistribution and use in source and binary forms, with or without
1169    modification, are permitted provided that the following conditions
1170    are met:
1171
1172    1. Redistributions of source code must retain the above
1173       copyright notice, this list of conditions and the following
1174       disclaimer.
1175
1176    2. Redistributions in binary form must reproduce the above
1177       copyright notice, this list of conditions and the following
1178       disclaimer in the documentation and/or other materials provided
1179       with the distribution.
1180
1181    3. Neither the name of PADL Software nor the names of its
1182       contributors may be used to endorse or promote products derived
1183       from this software without specific prior written permission.
1184
1185    THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE AND CONTRIBUTORS "AS IS"
1186    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1187    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
1188    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL PADL SOFTWARE
1189    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1190    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1191    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
1192    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1193    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1194    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
1195    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1196    SUCH DAMAGE.
1197
1198 ======================================================================
1199
1200 The bundled libev source code is subject to the following license:
1201
1202    All files in libev are Copyright (C)2007,2008,2009 Marc Alexander
1203    Lehmann.
1204
1205    Redistribution and use in source and binary forms, with or without
1206    modification, are permitted provided that the following conditions
1207    are met:
1208
1209    * Redistributions of source code must retain the above copyright
1210      notice, this list of conditions and the following disclaimer.
1211
1212    * Redistributions in binary form must reproduce the above
1213      copyright notice, this list of conditions and the following
1214      disclaimer in the documentation and/or other materials provided
1215      with the distribution.
1216
1217    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1218    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1219    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1220    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1221    COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1222    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1223    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1224    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1225    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1226    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1227    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1228    OF THE POSSIBILITY OF SUCH DAMAGE.
1229
1230    Alternatively, the contents of this package may be used under the
1231    terms of the GNU General Public License ("GPL") version 2 or any
1232    later version, in which case the provisions of the GPL are
1233    applicable instead of the above. If you wish to allow the use of
1234    your version of this package only under the terms of the GPL and
1235    not to allow others to use your version of this file under the BSD
1236    license, indicate your decision by deleting the provisions above
1237    and replace them with the notice and other provisions required by
1238    the GPL in this and the other files of this package. If you do not
1239    delete the provisions above, a recipient may use your version of
1240    this file under either the BSD or the GPL.
1241
1242 ======================================================================
1243
1244 Files copied from the Intel AESNI Sample Library are subject to the
1245 following license:
1246
1247    Copyright (C) 2010, Intel Corporation All rights reserved.
1248
1249    Redistribution and use in source and binary forms, with or without
1250    modification, are permitted provided that the following conditions
1251    are met:
1252
1253       * Redistributions of source code must retain the above
1254         copyright notice, this list of conditions and the following
1255         disclaimer.
1256
1257       * Redistributions in binary form must reproduce the above
1258         copyright notice, this list of conditions and the following
1259         disclaimer in the documentation and/or other materials
1260         provided with the distribution.
1261
1262       * Neither the name of Intel Corporation nor the names of its
1263         contributors may be used to endorse or promote products
1264         derived from this software without specific prior written
1265         permission.
1266
1267    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1268    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1269    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1270    FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
1271    COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1272    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1273    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1274    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1275    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1276    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1277    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1278    OF THE POSSIBILITY OF SUCH DAMAGE.
1279
1280 ======================================================================
1281
1282 The following notice applies to
1283 "src/ccapi/common/win/OldCC/autolock.hxx":
1284
1285    Copyright (C) 1998 by Danilo Almeida.  All rights reserved.
1286
1287    Redistribution and use in source and binary forms, with or without
1288    modification, are permitted provided that the following conditions
1289    are met:
1290
1291    * Redistributions of source code must retain the above copyright
1292      notice, this list of conditions and the following disclaimer.
1293
1294    * Redistributions in binary form must reproduce the above
1295      copyright notice, this list of conditions and the following
1296      disclaimer in the documentation and/or other materials provided
1297      with the distribution.
1298
1299    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1300    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1301    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1302    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1303    COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1304    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1305    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1306    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1307    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1308    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1309    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1310    OF THE POSSIBILITY OF SUCH DAMAGE.
1311
1312 ======================================================================
1313
1314 The following notice applies to portions of
1315 "src/plugins/preauth/spake/edwards25519.c" and
1316 "src/plugins/preauth/spake/edwards25519_tables.h":
1317
1318 The MIT License (MIT)
1319
1320 Copyright (c) 2015-2016 the fiat-crypto authors (see the AUTHORS
1321 file).
1322
1323 Permission is hereby granted, free of charge, to any person obtaining
1324 a copy of this software and associated documentation files (the
1325 "Software"), to deal in the Software without restriction, including
1326 without limitation the rights to use, copy, modify, merge, publish,
1327 distribute, sublicense, and/or sell copies of the Software, and to
1328 permit persons to whom the Software is furnished to do so, subject to
1329 the following conditions:
1330
1331 The above copyright notice and this permission notice shall be
1332 included in all copies or substantial portions of the Software.
1333
1334 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1335 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1336 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1337 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1338 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1339 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1340 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1341
1342 ======================================================================
1343
1344 The following notice applies to portions of
1345 "src/plugins/preauth/spake/edwards25519.c":
1346
1347 Copyright (c) 2015-2016, Google Inc.
1348
1349 Permission to use, copy, modify, and/or distribute this software for
1350 any purpose with or without fee is hereby granted, provided that the
1351 above copyright notice and this permission notice appear in all
1352 copies.
1353
1354 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
1355 WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
1356 WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
1357 AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
1358 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
1359 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1360 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1361 PERFORMANCE OF THIS SOFTWARE.