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