]> git.ipfire.org Git - thirdparty/hostap.git/blame - CONTRIBUTIONS
Use a shared helper function for RSN supplicant capabilities
[thirdparty/hostap.git] / CONTRIBUTIONS
CommitLineData
eb32192b
JM
1Contributions to hostap.git
2---------------------------
3
4This software is distributed under a permissive open source license to
5allow it to be used in any projects, whether open source or proprietary.
6Contributions to the project are welcome and it is important to maintain
7clear record of contributions and terms under which they are licensed.
8To help with this, following procedure is used to allow acceptance and
9recording of the terms.
10
92484e2d
JM
11All contributions are expected to be licensed under the modified BSD
12license (see below). Acknowledgment of the terms is tracked through
13inclusion of Signed-off-by tag in the contributions at the end of the
14commit log message. This tag indicates that the contributor agrees with
15the Developer Certificate of Origin (DCO) version 1.1 terms (see below;
16also available from http://developercertificate.org/).
17
18
19The current requirements for contributions to hostap.git
20--------------------------------------------------------
21
22To indicate your acceptance of Developer's Certificate of Origin 1.1
23terms, please add the following line to the end of the commit message
24for each contribution you make to the project:
25
26Signed-off-by: Your Name <your@email.example.org>
27
28using your real name. Pseudonyms or anonymous contributions cannot
29unfortunately be accepted.
30
31
f10ff62e
JM
32The preferred method of submitting the contribution to the project is by
33email to the hostap mailing list:
34hostap@lists.infradead.org
35Note that the list may require subscription before accepting message
36without moderation. You can subscribe to the list at this address:
37http://lists.infradead.org/mailman/listinfo/hostap
38
39The message should contain an inlined patch against the current
40development branch (i.e., the master branch of
41git://w1.fi/hostap.git). Please make sure the software you use for
42sending the patch does not corrupt whitespace. If that cannot be fixed
43for some reason, it is better to include an attached version of the
44patch file than just send a whitespace damaged version in the message
45body.
46
47The patches should be separate logical changes rather than doing
48everything in a single patch. In other words, please keep cleanup, new
49features, and bug fixes all in their own patches. Each patch needs a
50commit log that describes the changes (what the changes fix, what
51functionality is added, why the changes are useful, etc.).
52
53Please try to follow the coding style used in the project.
54
55In general, the best way of generating a suitable formatted patch file
56is by committing the changes to a cloned git repository and using git
57format-patch. The patch can then be sent, e.g., with git send-email.
58
59
92484e2d
JM
60History of license and contributions terms
61------------------------------------------
eb32192b 62
331f89ff
JM
63Until February 11, 2012, in case of most files in hostap.git, "under the
64open source license indicated in the file" means that the contribution
65is licensed both under GPL v2 and modified BSD license (see below) and
66the choice between these licenses is given to anyone who redistributes
67or uses the software. As such, the contribution has to be licensed under
68both options to allow this choice.
69
70As of February 11, 2012, the project has chosen to use only the BSD
71license option for future distribution. As such, the GPL v2 license
72option is no longer used and the contributions are not required to be
73licensed until GPL v2. In case of most files in hostap.git, "under the
74open source license indicated in the file" means that the contribution
75is licensed under the modified BSD license (see below).
76
92484e2d
JM
77Until February 13, 2014, the project used an extended version of the DCO
78that included the identical items (a) through (d) from DCO 1.1 and an
79additional item (e):
80
81(e) The contribution can be licensed under the modified BSD license
82 as shown below even in case of files that are currently licensed
83 under other terms.
84
85This was used during the period when some of the files included the old
86license terms. Acceptance of this extended DCO version was indicated
87with a Signed-hostap tag in the commit message. This additional item (e)
88was used to collect explicit approval to license the contribution with
89only the modified BSD license (see below), i.e., without the GPL v2
90option. This was done to allow simpler licensing terms to be used in the
91future. It should be noted that the modified BSD license is compatible
92with GNU GPL and as such, this possible move to simpler licensing option
93does not prevent use of this software in GPL projects.
94
eb32192b 95
92484e2d 96===[ start quote from http://developercertificate.org/ ]=======================
eb32192b 97
92484e2d
JM
98Developer Certificate of Origin
99Version 1.1
100
101Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
102660 York Street, Suite 102,
103San Francisco, CA 94110 USA
104
105Everyone is permitted to copy and distribute verbatim copies of this
106license document, but changing it is not allowed.
107
108
109Developer's Certificate of Origin 1.1
eb32192b
JM
110
111By making a contribution to this project, I certify that:
112
113(a) The contribution was created in whole or in part by me and I
114 have the right to submit it under the open source license
115 indicated in the file; or
116
117(b) The contribution is based upon previous work that, to the best
118 of my knowledge, is covered under an appropriate open source
119 license and I have the right under that license to submit that
120 work with modifications, whether created in whole or in part
121 by me, under the same open source license (unless I am
122 permitted to submit under a different license), as indicated
123 in the file; or
124
125(c) The contribution was provided directly to me by some other
126 person who certified (a), (b) or (c) and I have not modified
127 it.
128
129(d) I understand and agree that this project and the contribution
130 are public and that a record of the contribution (including all
131 personal information I submit with it, including my sign-off) is
132 maintained indefinitely and may be redistributed consistent with
133 this project or the open source license(s) involved.
134
92484e2d 135===[ end quote from http://developercertificate.org/ ]=========================
eb32192b
JM
136
137
92484e2d
JM
138The license terms used for hostap.git files
139-------------------------------------------
eb32192b
JM
140
141Modified BSD license (no advertisement clause):
142
cc58a357 143Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> and contributors
eb32192b
JM
144All Rights Reserved.
145
146Redistribution and use in source and binary forms, with or without
147modification, are permitted provided that the following conditions are
148met:
149
1501. Redistributions of source code must retain the above copyright
151 notice, this list of conditions and the following disclaimer.
152
1532. Redistributions in binary form must reproduce the above copyright
154 notice, this list of conditions and the following disclaimer in the
155 documentation and/or other materials provided with the distribution.
156
1573. Neither the name(s) of the above-listed copyright holder(s) nor the
158 names of its contributors may be used to endorse or promote products
159 derived from this software without specific prior written permission.
160
161THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
163LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
164A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
165OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
166SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
167LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
168DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
169THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
170(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
171OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.