xref: /freebsd/contrib/wpa/CONTRIBUTIONS (revision a90b9d0159070121c221b966469c3e36d912bf82)
15b9c547cSRui PauloContributions to hostap.git
25b9c547cSRui Paulo---------------------------
35b9c547cSRui Paulo
45b9c547cSRui PauloThis software is distributed under a permissive open source license to
55b9c547cSRui Pauloallow it to be used in any projects, whether open source or proprietary.
65b9c547cSRui PauloContributions to the project are welcome and it is important to maintain
75b9c547cSRui Pauloclear record of contributions and terms under which they are licensed.
85b9c547cSRui PauloTo help with this, following procedure is used to allow acceptance and
95b9c547cSRui Paulorecording of the terms.
105b9c547cSRui Paulo
115b9c547cSRui PauloAll contributions are expected to be licensed under the modified BSD
125b9c547cSRui Paulolicense (see below). Acknowledgment of the terms is tracked through
135b9c547cSRui Pauloinclusion of Signed-off-by tag in the contributions at the end of the
145b9c547cSRui Paulocommit log message. This tag indicates that the contributor agrees with
155b9c547cSRui Paulothe Developer Certificate of Origin (DCO) version 1.1 terms (see below;
165b9c547cSRui Pauloalso available from http://developercertificate.org/).
175b9c547cSRui Paulo
185b9c547cSRui Paulo
195b9c547cSRui PauloThe current requirements for contributions to hostap.git
205b9c547cSRui Paulo--------------------------------------------------------
215b9c547cSRui Paulo
225b9c547cSRui PauloTo indicate your acceptance of Developer's Certificate of Origin 1.1
235b9c547cSRui Pauloterms, please add the following line to the end of the commit message
245b9c547cSRui Paulofor each contribution you make to the project:
255b9c547cSRui Paulo
265b9c547cSRui PauloSigned-off-by: Your Name <your@email.example.org>
275b9c547cSRui Paulo
285b9c547cSRui Paulousing your real name. Pseudonyms or anonymous contributions cannot
295b9c547cSRui Paulounfortunately be accepted.
305b9c547cSRui Paulo
315b9c547cSRui Paulo
32780fb4a2SCy SchubertThe preferred method of submitting the contribution to the project is by
33780fb4a2SCy Schubertemail to the hostap mailing list:
34780fb4a2SCy Schuberthostap@lists.infradead.org
35780fb4a2SCy SchubertNote that the list may require subscription before accepting message
36780fb4a2SCy Schubertwithout moderation. You can subscribe to the list at this address:
37780fb4a2SCy Schuberthttp://lists.infradead.org/mailman/listinfo/hostap
38780fb4a2SCy Schubert
39780fb4a2SCy SchubertThe message should contain an inlined patch against the current
40*a90b9d01SCy Schubertdevelopment branch (i.e., the main branch of
41780fb4a2SCy Schubertgit://w1.fi/hostap.git). Please make sure the software you use for
42780fb4a2SCy Schubertsending the patch does not corrupt whitespace. If that cannot be fixed
43780fb4a2SCy Schubertfor some reason, it is better to include an attached version of the
44780fb4a2SCy Schubertpatch file than just send a whitespace damaged version in the message
45780fb4a2SCy Schubertbody.
46780fb4a2SCy Schubert
47780fb4a2SCy SchubertThe patches should be separate logical changes rather than doing
48780fb4a2SCy Schuberteverything in a single patch. In other words, please keep cleanup, new
49780fb4a2SCy Schubertfeatures, and bug fixes all in their own patches. Each patch needs a
50780fb4a2SCy Schubertcommit log that describes the changes (what the changes fix, what
51780fb4a2SCy Schubertfunctionality is added, why the changes are useful, etc.).
52780fb4a2SCy Schubert
53780fb4a2SCy SchubertPlease try to follow the coding style used in the project.
54780fb4a2SCy Schubert
55780fb4a2SCy SchubertIn general, the best way of generating a suitable formatted patch file
56780fb4a2SCy Schubertis by committing the changes to a cloned git repository and using git
57780fb4a2SCy Schubertformat-patch. The patch can then be sent, e.g., with git send-email.
58780fb4a2SCy Schubert
59c1d255d3SCy SchubertA list of pending patches waiting for review is available in
60c1d255d3SCy SchubertPatchwork: https://patchwork.ozlabs.org/project/hostap/list/
61c1d255d3SCy Schubert
62780fb4a2SCy Schubert
635b9c547cSRui PauloHistory of license and contributions terms
645b9c547cSRui Paulo------------------------------------------
655b9c547cSRui Paulo
665b9c547cSRui PauloUntil February 11, 2012, in case of most files in hostap.git, "under the
675b9c547cSRui Pauloopen source license indicated in the file" means that the contribution
685b9c547cSRui Paulois licensed both under GPL v2 and modified BSD license (see below) and
695b9c547cSRui Paulothe choice between these licenses is given to anyone who redistributes
705b9c547cSRui Pauloor uses the software. As such, the contribution has to be licensed under
715b9c547cSRui Pauloboth options to allow this choice.
725b9c547cSRui Paulo
735b9c547cSRui PauloAs of February 11, 2012, the project has chosen to use only the BSD
745b9c547cSRui Paulolicense option for future distribution. As such, the GPL v2 license
755b9c547cSRui Paulooption is no longer used and the contributions are not required to be
765b9c547cSRui Paulolicensed until GPL v2. In case of most files in hostap.git, "under the
775b9c547cSRui Pauloopen source license indicated in the file" means that the contribution
785b9c547cSRui Paulois licensed under the modified BSD license (see below).
795b9c547cSRui Paulo
805b9c547cSRui PauloUntil February 13, 2014, the project used an extended version of the DCO
815b9c547cSRui Paulothat included the identical items (a) through (d) from DCO 1.1 and an
825b9c547cSRui Pauloadditional item (e):
835b9c547cSRui Paulo
845b9c547cSRui Paulo(e) The contribution can be licensed under the modified BSD license
855b9c547cSRui Paulo    as shown below even in case of files that are currently licensed
865b9c547cSRui Paulo    under other terms.
875b9c547cSRui Paulo
885b9c547cSRui PauloThis was used during the period when some of the files included the old
895b9c547cSRui Paulolicense terms. Acceptance of this extended DCO version was indicated
905b9c547cSRui Paulowith a Signed-hostap tag in the commit message. This additional item (e)
915b9c547cSRui Paulowas used to collect explicit approval to license the contribution with
925b9c547cSRui Pauloonly the modified BSD license (see below), i.e., without the GPL v2
935b9c547cSRui Paulooption. This was done to allow simpler licensing terms to be used in the
945b9c547cSRui Paulofuture. It should be noted that the modified BSD license is compatible
955b9c547cSRui Paulowith GNU GPL and as such, this possible move to simpler licensing option
965b9c547cSRui Paulodoes not prevent use of this software in GPL projects.
975b9c547cSRui Paulo
985b9c547cSRui Paulo
995b9c547cSRui Paulo===[ start quote from http://developercertificate.org/ ]=======================
1005b9c547cSRui Paulo
1015b9c547cSRui PauloDeveloper Certificate of Origin
1025b9c547cSRui PauloVersion 1.1
1035b9c547cSRui Paulo
1045b9c547cSRui PauloCopyright (C) 2004, 2006 The Linux Foundation and its contributors.
1055b9c547cSRui Paulo660 York Street, Suite 102,
1065b9c547cSRui PauloSan Francisco, CA 94110 USA
1075b9c547cSRui Paulo
1085b9c547cSRui PauloEveryone is permitted to copy and distribute verbatim copies of this
1095b9c547cSRui Paulolicense document, but changing it is not allowed.
1105b9c547cSRui Paulo
1115b9c547cSRui Paulo
1125b9c547cSRui PauloDeveloper's Certificate of Origin 1.1
1135b9c547cSRui Paulo
1145b9c547cSRui PauloBy making a contribution to this project, I certify that:
1155b9c547cSRui Paulo
1165b9c547cSRui Paulo(a) The contribution was created in whole or in part by me and I
1175b9c547cSRui Paulo    have the right to submit it under the open source license
1185b9c547cSRui Paulo    indicated in the file; or
1195b9c547cSRui Paulo
1205b9c547cSRui Paulo(b) The contribution is based upon previous work that, to the best
1215b9c547cSRui Paulo    of my knowledge, is covered under an appropriate open source
1225b9c547cSRui Paulo    license and I have the right under that license to submit that
1235b9c547cSRui Paulo    work with modifications, whether created in whole or in part
1245b9c547cSRui Paulo    by me, under the same open source license (unless I am
1255b9c547cSRui Paulo    permitted to submit under a different license), as indicated
1265b9c547cSRui Paulo    in the file; or
1275b9c547cSRui Paulo
1285b9c547cSRui Paulo(c) The contribution was provided directly to me by some other
1295b9c547cSRui Paulo    person who certified (a), (b) or (c) and I have not modified
1305b9c547cSRui Paulo    it.
1315b9c547cSRui Paulo
1325b9c547cSRui Paulo(d) I understand and agree that this project and the contribution
1335b9c547cSRui Paulo    are public and that a record of the contribution (including all
1345b9c547cSRui Paulo    personal information I submit with it, including my sign-off) is
1355b9c547cSRui Paulo    maintained indefinitely and may be redistributed consistent with
1365b9c547cSRui Paulo    this project or the open source license(s) involved.
1375b9c547cSRui Paulo
1385b9c547cSRui Paulo===[ end quote from http://developercertificate.org/ ]=========================
1395b9c547cSRui Paulo
1405b9c547cSRui Paulo
1415b9c547cSRui PauloThe license terms used for hostap.git files
1425b9c547cSRui Paulo-------------------------------------------
1435b9c547cSRui Paulo
1445b9c547cSRui PauloModified BSD license (no advertisement clause):
1455b9c547cSRui Paulo
146ec080394SCy SchubertCopyright (c) 2002-2022, Jouni Malinen <j@w1.fi> and contributors
1475b9c547cSRui PauloAll Rights Reserved.
1485b9c547cSRui Paulo
1495b9c547cSRui PauloRedistribution and use in source and binary forms, with or without
1505b9c547cSRui Paulomodification, are permitted provided that the following conditions are
1515b9c547cSRui Paulomet:
1525b9c547cSRui Paulo
1535b9c547cSRui Paulo1. Redistributions of source code must retain the above copyright
1545b9c547cSRui Paulo   notice, this list of conditions and the following disclaimer.
1555b9c547cSRui Paulo
1565b9c547cSRui Paulo2. Redistributions in binary form must reproduce the above copyright
1575b9c547cSRui Paulo   notice, this list of conditions and the following disclaimer in the
1585b9c547cSRui Paulo   documentation and/or other materials provided with the distribution.
1595b9c547cSRui Paulo
1605b9c547cSRui Paulo3. Neither the name(s) of the above-listed copyright holder(s) nor the
1615b9c547cSRui Paulo   names of its contributors may be used to endorse or promote products
1625b9c547cSRui Paulo   derived from this software without specific prior written permission.
1635b9c547cSRui Paulo
1645b9c547cSRui PauloTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1655b9c547cSRui Paulo"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1665b9c547cSRui PauloLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1675b9c547cSRui PauloA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1685b9c547cSRui PauloOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1695b9c547cSRui PauloSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1705b9c547cSRui PauloLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1715b9c547cSRui PauloDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1725b9c547cSRui PauloTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1735b9c547cSRui Paulo(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1745b9c547cSRui PauloOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
175