1251876Speter                                 Apache License
2251876Speter                           Version 2.0, January 2004
3251876Speter                        http://www.apache.org/licenses/
4251876Speter
5251876Speter   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6251876Speter
7251876Speter   1. Definitions.
8251876Speter
9251876Speter      "License" shall mean the terms and conditions for use, reproduction,
10251876Speter      and distribution as defined by Sections 1 through 9 of this document.
11251876Speter
12251876Speter      "Licensor" shall mean the copyright owner or entity authorized by
13251876Speter      the copyright owner that is granting the License.
14251876Speter
15251876Speter      "Legal Entity" shall mean the union of the acting entity and all
16251876Speter      other entities that control, are controlled by, or are under common
17251876Speter      control with that entity. For the purposes of this definition,
18251876Speter      "control" means (i) the power, direct or indirect, to cause the
19251876Speter      direction or management of such entity, whether by contract or
20251876Speter      otherwise, or (ii) ownership of fifty percent (50%) or more of the
21251876Speter      outstanding shares, or (iii) beneficial ownership of such entity.
22251876Speter
23251876Speter      "You" (or "Your") shall mean an individual or Legal Entity
24251876Speter      exercising permissions granted by this License.
25251876Speter
26251876Speter      "Source" form shall mean the preferred form for making modifications,
27251876Speter      including but not limited to software source code, documentation
28251876Speter      source, and configuration files.
29251876Speter
30251876Speter      "Object" form shall mean any form resulting from mechanical
31251876Speter      transformation or translation of a Source form, including but
32251876Speter      not limited to compiled object code, generated documentation,
33251876Speter      and conversions to other media types.
34251876Speter
35251876Speter      "Work" shall mean the work of authorship, whether in Source or
36251876Speter      Object form, made available under the License, as indicated by a
37251876Speter      copyright notice that is included in or attached to the work
38251876Speter      (an example is provided in the Appendix below).
39251876Speter
40251876Speter      "Derivative Works" shall mean any work, whether in Source or Object
41251876Speter      form, that is based on (or derived from) the Work and for which the
42251876Speter      editorial revisions, annotations, elaborations, or other modifications
43251876Speter      represent, as a whole, an original work of authorship. For the purposes
44251876Speter      of this License, Derivative Works shall not include works that remain
45251876Speter      separable from, or merely link (or bind by name) to the interfaces of,
46251876Speter      the Work and Derivative Works thereof.
47251876Speter
48251876Speter      "Contribution" shall mean any work of authorship, including
49251876Speter      the original version of the Work and any modifications or additions
50251876Speter      to that Work or Derivative Works thereof, that is intentionally
51251876Speter      submitted to Licensor for inclusion in the Work by the copyright owner
52251876Speter      or by an individual or Legal Entity authorized to submit on behalf of
53251876Speter      the copyright owner. For the purposes of this definition, "submitted"
54251876Speter      means any form of electronic, verbal, or written communication sent
55251876Speter      to the Licensor or its representatives, including but not limited to
56251876Speter      communication on electronic mailing lists, source code control systems,
57251876Speter      and issue tracking systems that are managed by, or on behalf of, the
58251876Speter      Licensor for the purpose of discussing and improving the Work, but
59251876Speter      excluding communication that is conspicuously marked or otherwise
60251876Speter      designated in writing by the copyright owner as "Not a Contribution."
61251876Speter
62251876Speter      "Contributor" shall mean Licensor and any individual or Legal Entity
63251876Speter      on behalf of whom a Contribution has been received by Licensor and
64251876Speter      subsequently incorporated within the Work.
65251876Speter
66251876Speter   2. Grant of Copyright License. Subject to the terms and conditions of
67251876Speter      this License, each Contributor hereby grants to You a perpetual,
68251876Speter      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69251876Speter      copyright license to reproduce, prepare Derivative Works of,
70251876Speter      publicly display, publicly perform, sublicense, and distribute the
71251876Speter      Work and such Derivative Works in Source or Object form.
72251876Speter
73251876Speter   3. Grant of Patent License. Subject to the terms and conditions of
74251876Speter      this License, each Contributor hereby grants to You a perpetual,
75251876Speter      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76251876Speter      (except as stated in this section) patent license to make, have made,
77251876Speter      use, offer to sell, sell, import, and otherwise transfer the Work,
78251876Speter      where such license applies only to those patent claims licensable
79251876Speter      by such Contributor that are necessarily infringed by their
80251876Speter      Contribution(s) alone or by combination of their Contribution(s)
81251876Speter      with the Work to which such Contribution(s) was submitted. If You
82251876Speter      institute patent litigation against any entity (including a
83251876Speter      cross-claim or counterclaim in a lawsuit) alleging that the Work
84251876Speter      or a Contribution incorporated within the Work constitutes direct
85251876Speter      or contributory patent infringement, then any patent licenses
86251876Speter      granted to You under this License for that Work shall terminate
87251876Speter      as of the date such litigation is filed.
88251876Speter
89251876Speter   4. Redistribution. You may reproduce and distribute copies of the
90251876Speter      Work or Derivative Works thereof in any medium, with or without
91251876Speter      modifications, and in Source or Object form, provided that You
92251876Speter      meet the following conditions:
93251876Speter
94251876Speter      (a) You must give any other recipients of the Work or
95251876Speter          Derivative Works a copy of this License; and
96251876Speter
97251876Speter      (b) You must cause any modified files to carry prominent notices
98251876Speter          stating that You changed the files; and
99251876Speter
100251876Speter      (c) You must retain, in the Source form of any Derivative Works
101251876Speter          that You distribute, all copyright, patent, trademark, and
102251876Speter          attribution notices from the Source form of the Work,
103251876Speter          excluding those notices that do not pertain to any part of
104251876Speter          the Derivative Works; and
105251876Speter
106251876Speter      (d) If the Work includes a "NOTICE" text file as part of its
107251876Speter          distribution, then any Derivative Works that You distribute must
108251876Speter          include a readable copy of the attribution notices contained
109251876Speter          within such NOTICE file, excluding those notices that do not
110251876Speter          pertain to any part of the Derivative Works, in at least one
111251876Speter          of the following places: within a NOTICE text file distributed
112251876Speter          as part of the Derivative Works; within the Source form or
113251876Speter          documentation, if provided along with the Derivative Works; or,
114251876Speter          within a display generated by the Derivative Works, if and
115251876Speter          wherever such third-party notices normally appear. The contents
116251876Speter          of the NOTICE file are for informational purposes only and
117251876Speter          do not modify the License. You may add Your own attribution
118251876Speter          notices within Derivative Works that You distribute, alongside
119251876Speter          or as an addendum to the NOTICE text from the Work, provided
120251876Speter          that such additional attribution notices cannot be construed
121251876Speter          as modifying the License.
122251876Speter
123251876Speter      You may add Your own copyright statement to Your modifications and
124251876Speter      may provide additional or different license terms and conditions
125251876Speter      for use, reproduction, or distribution of Your modifications, or
126251876Speter      for any such Derivative Works as a whole, provided Your use,
127251876Speter      reproduction, and distribution of the Work otherwise complies with
128251876Speter      the conditions stated in this License.
129251876Speter
130251876Speter   5. Submission of Contributions. Unless You explicitly state otherwise,
131251876Speter      any Contribution intentionally submitted for inclusion in the Work
132251876Speter      by You to the Licensor shall be under the terms and conditions of
133251876Speter      this License, without any additional terms or conditions.
134251876Speter      Notwithstanding the above, nothing herein shall supersede or modify
135251876Speter      the terms of any separate license agreement you may have executed
136251876Speter      with Licensor regarding such Contributions.
137251876Speter
138251876Speter   6. Trademarks. This License does not grant permission to use the trade
139251876Speter      names, trademarks, service marks, or product names of the Licensor,
140251876Speter      except as required for reasonable and customary use in describing the
141251876Speter      origin of the Work and reproducing the content of the NOTICE file.
142251876Speter
143251876Speter   7. Disclaimer of Warranty. Unless required by applicable law or
144251876Speter      agreed to in writing, Licensor provides the Work (and each
145251876Speter      Contributor provides its Contributions) on an "AS IS" BASIS,
146251876Speter      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147251876Speter      implied, including, without limitation, any warranties or conditions
148251876Speter      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149251876Speter      PARTICULAR PURPOSE. You are solely responsible for determining the
150251876Speter      appropriateness of using or redistributing the Work and assume any
151251876Speter      risks associated with Your exercise of permissions under this License.
152251876Speter
153251876Speter   8. Limitation of Liability. In no event and under no legal theory,
154251876Speter      whether in tort (including negligence), contract, or otherwise,
155251876Speter      unless required by applicable law (such as deliberate and grossly
156251876Speter      negligent acts) or agreed to in writing, shall any Contributor be
157251876Speter      liable to You for damages, including any direct, indirect, special,
158251876Speter      incidental, or consequential damages of any character arising as a
159251876Speter      result of this License or out of the use or inability to use the
160251876Speter      Work (including but not limited to damages for loss of goodwill,
161251876Speter      work stoppage, computer failure or malfunction, or any and all
162251876Speter      other commercial damages or losses), even if such Contributor
163251876Speter      has been advised of the possibility of such damages.
164251876Speter
165251876Speter   9. Accepting Warranty or Additional Liability. While redistributing
166251876Speter      the Work or Derivative Works thereof, You may choose to offer,
167251876Speter      and charge a fee for, acceptance of support, warranty, indemnity,
168251876Speter      or other liability obligations and/or rights consistent with this
169251876Speter      License. However, in accepting such obligations, You may act only
170251876Speter      on Your own behalf and on Your sole responsibility, not on behalf
171251876Speter      of any other Contributor, and only if You agree to indemnify,
172251876Speter      defend, and hold each Contributor harmless for any liability
173251876Speter      incurred by, or claims asserted against, such Contributor by reason
174251876Speter      of your accepting any such warranty or additional liability.
175251876Speter
176251876Speter   END OF TERMS AND CONDITIONS
177251876Speter
178251876Speter   APPENDIX: How to apply the Apache License to your work.
179251876Speter
180251876Speter      To apply the Apache License to your work, attach the following
181251876Speter      boilerplate notice, with the fields enclosed by brackets "[]"
182251876Speter      replaced with your own identifying information. (Don't include
183251876Speter      the brackets!)  The text should be enclosed in the appropriate
184251876Speter      comment syntax for the file format. We also recommend that a
185251876Speter      file or class name and description of purpose be included on the
186251876Speter      same "printed page" as the copyright notice for easier
187251876Speter      identification within third-party archives.
188251876Speter
189251876Speter   Copyright [yyyy] [name of copyright owner]
190251876Speter
191251876Speter   Licensed under the Apache License, Version 2.0 (the "License");
192251876Speter   you may not use this file except in compliance with the License.
193251876Speter   You may obtain a copy of the License at
194251876Speter
195251876Speter       http://www.apache.org/licenses/LICENSE-2.0
196251876Speter
197251876Speter   Unless required by applicable law or agreed to in writing, software
198251876Speter   distributed under the License is distributed on an "AS IS" BASIS,
199251876Speter   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200251876Speter   See the License for the specific language governing permissions and
201251876Speter   limitations under the License.
202251876Speter
203251876Speter
204251876Speter
205251876SpeterAPACHE PORTABLE RUNTIME SUBCOMPONENTS: 
206251876Speter
207251876SpeterThe Apache Portable Runtime includes a number of subcomponents with
208251876Speterseparate copyright notices and license terms. Your use of the source
209251876Spetercode for the these subcomponents is subject to the terms and
210251876Speterconditions of the following licenses. 
211251876Speter
212251876SpeterFor the include\apr_md5.h component: 
213251876Speter/*
214251876Speter * This is work is derived from material Copyright RSA Data Security, Inc.
215251876Speter *
216251876Speter * The RSA copyright statement and Licence for that original material is
217251876Speter * included below. This is followed by the Apache copyright statement and
218251876Speter * licence for the modifications made to that material.
219251876Speter */
220251876Speter
221251876Speter/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
222251876Speter   rights reserved.
223251876Speter
224251876Speter   License to copy and use this software is granted provided that it
225251876Speter   is identified as the "RSA Data Security, Inc. MD5 Message-Digest
226251876Speter   Algorithm" in all material mentioning or referencing this software
227251876Speter   or this function.
228251876Speter
229251876Speter   License is also granted to make and use derivative works provided
230251876Speter   that such works are identified as "derived from the RSA Data
231251876Speter   Security, Inc. MD5 Message-Digest Algorithm" in all material
232251876Speter   mentioning or referencing the derived work.
233251876Speter
234251876Speter   RSA Data Security, Inc. makes no representations concerning either
235251876Speter   the merchantability of this software or the suitability of this
236251876Speter   software for any particular purpose. It is provided "as is"
237251876Speter   without express or implied warranty of any kind.
238251876Speter
239251876Speter   These notices must be retained in any copies of any part of this
240251876Speter   documentation and/or software.
241251876Speter */
242251876Speter
243251876SpeterFor the passwd\apr_md5.c component:
244251876Speter
245251876Speter/*
246251876Speter * This is work is derived from material Copyright RSA Data Security, Inc.
247251876Speter *
248251876Speter * The RSA copyright statement and Licence for that original material is
249251876Speter * included below. This is followed by the Apache copyright statement and
250251876Speter * licence for the modifications made to that material.
251251876Speter */
252251876Speter
253251876Speter/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
254251876Speter */
255251876Speter
256251876Speter/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
257251876Speter   rights reserved.
258251876Speter
259251876Speter   License to copy and use this software is granted provided that it
260251876Speter   is identified as the "RSA Data Security, Inc. MD5 Message-Digest
261251876Speter   Algorithm" in all material mentioning or referencing this software
262251876Speter   or this function.
263251876Speter
264251876Speter   License is also granted to make and use derivative works provided
265251876Speter   that such works are identified as "derived from the RSA Data
266251876Speter   Security, Inc. MD5 Message-Digest Algorithm" in all material
267251876Speter   mentioning or referencing the derived work.
268251876Speter
269251876Speter   RSA Data Security, Inc. makes no representations concerning either
270251876Speter   the merchantability of this software or the suitability of this
271251876Speter   software for any particular purpose. It is provided "as is"
272251876Speter   without express or implied warranty of any kind.
273251876Speter
274251876Speter   These notices must be retained in any copies of any part of this
275251876Speter   documentation and/or software.
276251876Speter */
277251876Speter/*
278251876Speter * The apr_md5_encode() routine uses much code obtained from the FreeBSD 3.0
279251876Speter * MD5 crypt() function, which is licenced as follows:
280251876Speter * ----------------------------------------------------------------------------
281251876Speter * "THE BEER-WARE LICENSE" (Revision 42):
282251876Speter * <phk@login.dknet.dk> wrote this file.  As long as you retain this notice you
283251876Speter * can do whatever you want with this stuff. If we meet some day, and you think
284251876Speter * this stuff is worth it, you can buy me a beer in return.  Poul-Henning Kamp
285251876Speter * ----------------------------------------------------------------------------
286251876Speter */
287251876Speter
288251876SpeterFor the crypto\apr_md4.c component:
289251876Speter
290251876Speter * This is derived from material copyright RSA Data Security, Inc.
291251876Speter * Their notice is reproduced below in its entirety.
292251876Speter *
293251876Speter * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
294251876Speter * rights reserved.
295251876Speter *
296251876Speter * License to copy and use this software is granted provided that it
297251876Speter * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
298251876Speter * Algorithm" in all material mentioning or referencing this software
299251876Speter * or this function.
300251876Speter *
301251876Speter * License is also granted to make and use derivative works provided
302251876Speter * that such works are identified as "derived from the RSA Data
303251876Speter * Security, Inc. MD4 Message-Digest Algorithm" in all material
304251876Speter * mentioning or referencing the derived work.
305251876Speter *
306251876Speter * RSA Data Security, Inc. makes no representations concerning either
307251876Speter * the merchantability of this software or the suitability of this
308251876Speter * software for any particular purpose. It is provided "as is"
309251876Speter * without express or implied warranty of any kind.
310251876Speter *
311251876Speter * These notices must be retained in any copies of any part of this
312251876Speter * documentation and/or software.
313251876Speter */
314251876Speter
315251876SpeterFor the include\apr_md4.h component:
316251876Speter
317251876Speter *
318251876Speter * This is derived from material copyright RSA Data Security, Inc.
319251876Speter * Their notice is reproduced below in its entirety.
320251876Speter *
321251876Speter * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
322251876Speter * rights reserved.
323251876Speter *
324251876Speter * License to copy and use this software is granted provided that it
325251876Speter * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
326251876Speter * Algorithm" in all material mentioning or referencing this software
327251876Speter * or this function.
328251876Speter *
329251876Speter * License is also granted to make and use derivative works provided
330251876Speter * that such works are identified as "derived from the RSA Data
331251876Speter * Security, Inc. MD4 Message-Digest Algorithm" in all material
332251876Speter * mentioning or referencing the derived work.
333251876Speter *
334251876Speter * RSA Data Security, Inc. makes no representations concerning either
335251876Speter * the merchantability of this software or the suitability of this
336251876Speter * software for any particular purpose. It is provided "as is"
337251876Speter * without express or implied warranty of any kind.
338251876Speter *
339251876Speter * These notices must be retained in any copies of any part of this
340251876Speter * documentation and/or software.
341251876Speter */
342251876Speter
343251876SpeterFor the test\testmd4.c component:
344251876Speter
345251876Speter *
346251876Speter * This is derived from material copyright RSA Data Security, Inc.
347251876Speter * Their notice is reproduced below in its entirety.
348251876Speter *
349251876Speter * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
350251876Speter * rights reserved.
351251876Speter *
352251876Speter * RSA Data Security, Inc. makes no representations concerning either
353251876Speter * the merchantability of this software or the suitability of this
354251876Speter * software for any particular purpose. It is provided "as is"
355251876Speter * without express or implied warranty of any kind.
356251876Speter *
357251876Speter * These notices must be retained in any copies of any part of this
358251876Speter * documentation and/or software.
359251876Speter */
360251876Speter
361251876SpeterFor the xml\expat\conftools\install-sh component:
362251876Speter
363251876Speter#
364251876Speter# install - install a program, script, or datafile
365251876Speter# This comes from X11R5 (mit/util/scripts/install.sh).
366251876Speter#
367251876Speter# Copyright 1991 by the Massachusetts Institute of Technology
368251876Speter#
369251876Speter# Permission to use, copy, modify, distribute, and sell this software and its
370251876Speter# documentation for any purpose is hereby granted without fee, provided that
371251876Speter# the above copyright notice appear in all copies and that both that
372251876Speter# copyright notice and this permission notice appear in supporting
373251876Speter# documentation, and that the name of M.I.T. not be used in advertising or
374251876Speter# publicity pertaining to distribution of the software without specific,
375251876Speter# written prior permission.  M.I.T. makes no representations about the
376251876Speter# suitability of this software for any purpose.  It is provided "as is"
377251876Speter# without express or implied warranty.
378251876Speter#
379251876Speter
380251876SpeterFor the expat xml parser component:
381251876Speter
382251876SpeterCopyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
383251876Speter                               and Clark Cooper
384251876Speter
385251876SpeterPermission is hereby granted, free of charge, to any person obtaining
386251876Spetera copy of this software and associated documentation files (the
387251876Speter"Software"), to deal in the Software without restriction, including
388251876Speterwithout limitation the rights to use, copy, modify, merge, publish,
389251876Speterdistribute, sublicense, and/or sell copies of the Software, and to
390251876Speterpermit persons to whom the Software is furnished to do so, subject to
391251876Speterthe following conditions:
392251876Speter	
393251876SpeterThe above copyright notice and this permission notice shall be included
394251876Speterin all copies or substantial portions of the Software.
395251876Speter	
396251876SpeterTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
397251876SpeterEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
398251876SpeterMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
399251876SpeterIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
400251876SpeterCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
401251876SpeterTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
402251876SpeterSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
403251876Speter
404251876Speter====================================================================
405251876Speter
406251876SpeterFor the ldap/apr_ldap_url.c component:
407251876Speter
408251876Speter/* Portions Copyright 1998-2002 The OpenLDAP Foundation
409251876Speter * All rights reserved.
410251876Speter *
411251876Speter * Redistribution and use in source and binary forms, with or without
412251876Speter * modification, are permitted only as authorized by the OpenLDAP
413251876Speter * Public License.  A copy of this license is available at
414251876Speter * http://www.OpenLDAP.org/license.html or in file LICENSE in the
415251876Speter * top-level directory of the distribution.
416251876Speter *
417251876Speter * OpenLDAP is a registered trademark of the OpenLDAP Foundation.
418251876Speter *
419251876Speter * Individual files and/or contributed packages may be copyright by
420251876Speter * other parties and subject to additional restrictions.
421251876Speter *
422251876Speter * This work is derived from the University of Michigan LDAP v3.3
423251876Speter * distribution.  Information concerning this software is available
424251876Speter * at: http://www.umich.edu/~dirsvcs/ldap/
425251876Speter *
426251876Speter * This work also contains materials derived from public sources.
427251876Speter *
428251876Speter * Additional information about OpenLDAP can be obtained at:
429251876Speter *     http://www.openldap.org/
430251876Speter */
431251876Speter
432251876Speter/*
433251876Speter * Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
434251876Speter * All rights reserved.
435251876Speter *
436251876Speter * Redistribution and use in source and binary forms are permitted
437251876Speter * provided that this notice is preserved and that due credit is given
438251876Speter * to the University of Michigan at Ann Arbor. The name of the University
439251876Speter * may not be used to endorse or promote products derived from this
440251876Speter * software without specific prior written permission. This software
441251876Speter * is provided ``as is'' without express or implied warranty.
442251876Speter */
443251876Speter
444