getopt_long: Copy over the implementation from netbsd.
[cascardo/ovs.git] / COPYING
1 This file is a summary of the licensing of files in this distribution.
2 Some files may be marked specifically with a different license, in
3 which case that license applies to the file in question.
4
5 Most files are licensed under the Apache License, Version 2.0:
6
7     Licensed under the Apache License, Version 2.0 (the "License");
8     you may not use this file except in compliance with the License.
9     You may obtain a copy of the License at:
10
11         http://www.apache.org/licenses/LICENSE-2.0
12
13     Unless required by applicable law or agreed to in writing, software
14     distributed under the License is distributed on an "AS IS" BASIS,
15     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16     See the License for the specific language governing permissions and
17     limitations under the License.
18
19 Files under the datapath directory are licensed under the GNU General
20 Public License, version 2.
21
22 File build-aux/cccl is licensed under the GNU General Public
23 License, version 2.
24
25 The following files are licensed under the 2-clause BSD license.
26     include/windows/getopt.h
27     lib/getopt_long.c
28
29 Files under the xenserver directory are licensed on a file-by-file
30 basis.  Refer to each file for details.
31
32 Files lib/sflow*.[ch] are licensed under the terms of either the
33 Sun Industry Standards Source License 1.1, that is available at:
34         http://host-sflow.sourceforge.net/sissl.html
35 or the InMon sFlow License, that is available at:
36         http://www.inmon.com/technology/sflowlicense.txt
37
38 Files under python/compat are licensed under the Python Software
39 Foundation License, version 2:
40
41    PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
42    --------------------------------------------
43
44    1. This LICENSE AGREEMENT is between the Python Software Foundation
45    ("PSF"), and the Individual or Organization ("Licensee") accessing and
46    otherwise using this software ("Python") in source or binary form and
47    its associated documentation.
48
49    2. Subject to the terms and conditions of this License Agreement, PSF
50    hereby grants Licensee a nonexclusive, royalty-free, world-wide
51    license to reproduce, analyze, test, perform and/or display publicly,
52    prepare derivative works, distribute, and otherwise use Python
53    alone or in any derivative version, provided, however, that PSF's
54    License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
55    2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation;
56    All Rights Reserved" are retained in Python alone or in any derivative
57    version prepared by Licensee.
58
59    3. In the event Licensee prepares a derivative work that is based on
60    or incorporates Python or any part thereof, and wants to make
61    the derivative work available to others as provided herein, then
62    Licensee hereby agrees to include in any such work a brief summary of
63    the changes made to Python.
64
65    4. PSF is making Python available to Licensee on an "AS IS"
66    basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
67    IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
68    DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
69    FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
70    INFRINGE ANY THIRD PARTY RIGHTS.
71
72    5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
73    FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
74    A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
75    OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
76
77    6. This License Agreement will automatically terminate upon a material
78    breach of its terms and conditions.
79
80    7. Nothing in this License Agreement shall be deemed to create any
81    relationship of agency, partnership, or joint venture between PSF and
82    Licensee.  This License Agreement does not grant permission to use PSF
83    trademarks or trade name in a trademark sense to endorse or promote
84    products or services of Licensee, or any third party.
85
86    8. By copying, installing or otherwise using Python, Licensee
87    agrees to be bound by the terms and conditions of this License
88    Agreement.