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_ci 60e5b75505Sopenharmony_ciHistory of license and contributions terms 61e5b75505Sopenharmony_ci------------------------------------------ 62e5b75505Sopenharmony_ci 63e5b75505Sopenharmony_ciUntil February 11, 2012, in case of most files in hostap.git, "under the 64e5b75505Sopenharmony_ciopen source license indicated in the file" means that the contribution 65e5b75505Sopenharmony_ciis licensed both under GPL v2 and modified BSD license (see below) and 66e5b75505Sopenharmony_cithe choice between these licenses is given to anyone who redistributes 67e5b75505Sopenharmony_cior uses the software. As such, the contribution has to be licensed under 68e5b75505Sopenharmony_ciboth options to allow this choice. 69e5b75505Sopenharmony_ci 70e5b75505Sopenharmony_ciAs of February 11, 2012, the project has chosen to use only the BSD 71e5b75505Sopenharmony_cilicense option for future distribution. As such, the GPL v2 license 72e5b75505Sopenharmony_cioption is no longer used and the contributions are not required to be 73e5b75505Sopenharmony_cilicensed until GPL v2. In case of most files in hostap.git, "under the 74e5b75505Sopenharmony_ciopen source license indicated in the file" means that the contribution 75e5b75505Sopenharmony_ciis licensed under the modified BSD license (see below). 76e5b75505Sopenharmony_ci 77e5b75505Sopenharmony_ciUntil February 13, 2014, the project used an extended version of the DCO 78e5b75505Sopenharmony_cithat included the identical items (a) through (d) from DCO 1.1 and an 79e5b75505Sopenharmony_ciadditional item (e): 80e5b75505Sopenharmony_ci 81e5b75505Sopenharmony_ci(e) The contribution can be licensed under the modified BSD license 82e5b75505Sopenharmony_ci as shown below even in case of files that are currently licensed 83e5b75505Sopenharmony_ci under other terms. 84e5b75505Sopenharmony_ci 85e5b75505Sopenharmony_ciThis was used during the period when some of the files included the old 86e5b75505Sopenharmony_cilicense terms. Acceptance of this extended DCO version was indicated 87e5b75505Sopenharmony_ciwith a Signed-hostap tag in the commit message. This additional item (e) 88e5b75505Sopenharmony_ciwas used to collect explicit approval to license the contribution with 89e5b75505Sopenharmony_cionly the modified BSD license (see below), i.e., without the GPL v2 90e5b75505Sopenharmony_cioption. This was done to allow simpler licensing terms to be used in the 91e5b75505Sopenharmony_cifuture. It should be noted that the modified BSD license is compatible 92e5b75505Sopenharmony_ciwith GNU GPL and as such, this possible move to simpler licensing option 93e5b75505Sopenharmony_cidoes not prevent use of this software in GPL projects. 94e5b75505Sopenharmony_ci 95e5b75505Sopenharmony_ci 96e5b75505Sopenharmony_ci===[ start quote from http://developercertificate.org/ ]======================= 97e5b75505Sopenharmony_ci 98e5b75505Sopenharmony_ciDeveloper Certificate of Origin 99e5b75505Sopenharmony_ciVersion 1.1 100e5b75505Sopenharmony_ci 101e5b75505Sopenharmony_ciCopyright (C) 2004, 2006 The Linux Foundation and its contributors. 102e5b75505Sopenharmony_ci660 York Street, Suite 102, 103e5b75505Sopenharmony_ciSan Francisco, CA 94110 USA 104e5b75505Sopenharmony_ci 105e5b75505Sopenharmony_ciEveryone is permitted to copy and distribute verbatim copies of this 106e5b75505Sopenharmony_cilicense document, but changing it is not allowed. 107e5b75505Sopenharmony_ci 108e5b75505Sopenharmony_ci 109e5b75505Sopenharmony_ciDeveloper's Certificate of Origin 1.1 110e5b75505Sopenharmony_ci 111e5b75505Sopenharmony_ciBy making a contribution to this project, I certify that: 112e5b75505Sopenharmony_ci 113e5b75505Sopenharmony_ci(a) The contribution was created in whole or in part by me and I 114e5b75505Sopenharmony_ci have the right to submit it under the open source license 115e5b75505Sopenharmony_ci indicated in the file; or 116e5b75505Sopenharmony_ci 117e5b75505Sopenharmony_ci(b) The contribution is based upon previous work that, to the best 118e5b75505Sopenharmony_ci of my knowledge, is covered under an appropriate open source 119e5b75505Sopenharmony_ci license and I have the right under that license to submit that 120e5b75505Sopenharmony_ci work with modifications, whether created in whole or in part 121e5b75505Sopenharmony_ci by me, under the same open source license (unless I am 122e5b75505Sopenharmony_ci permitted to submit under a different license), as indicated 123e5b75505Sopenharmony_ci in the file; or 124e5b75505Sopenharmony_ci 125e5b75505Sopenharmony_ci(c) The contribution was provided directly to me by some other 126e5b75505Sopenharmony_ci person who certified (a), (b) or (c) and I have not modified 127e5b75505Sopenharmony_ci it. 128e5b75505Sopenharmony_ci 129e5b75505Sopenharmony_ci(d) I understand and agree that this project and the contribution 130e5b75505Sopenharmony_ci are public and that a record of the contribution (including all 131e5b75505Sopenharmony_ci personal information I submit with it, including my sign-off) is 132e5b75505Sopenharmony_ci maintained indefinitely and may be redistributed consistent with 133e5b75505Sopenharmony_ci this project or the open source license(s) involved. 134e5b75505Sopenharmony_ci 135e5b75505Sopenharmony_ci===[ end quote from http://developercertificate.org/ ]========================= 136e5b75505Sopenharmony_ci 137e5b75505Sopenharmony_ci 138e5b75505Sopenharmony_ciThe license terms used for hostap.git files 139e5b75505Sopenharmony_ci------------------------------------------- 140e5b75505Sopenharmony_ci 141e5b75505Sopenharmony_ciModified BSD license (no advertisement clause): 142e5b75505Sopenharmony_ci 143e5b75505Sopenharmony_ciCopyright (c) 2002-2019, Jouni Malinen <j@w1.fi> and contributors 144e5b75505Sopenharmony_ciAll Rights Reserved. 145e5b75505Sopenharmony_ci 146e5b75505Sopenharmony_ciRedistribution and use in source and binary forms, with or without 147e5b75505Sopenharmony_cimodification, are permitted provided that the following conditions are 148e5b75505Sopenharmony_cimet: 149e5b75505Sopenharmony_ci 150e5b75505Sopenharmony_ci1. Redistributions of source code must retain the above copyright 151e5b75505Sopenharmony_ci notice, this list of conditions and the following disclaimer. 152e5b75505Sopenharmony_ci 153e5b75505Sopenharmony_ci2. Redistributions in binary form must reproduce the above copyright 154e5b75505Sopenharmony_ci notice, this list of conditions and the following disclaimer in the 155e5b75505Sopenharmony_ci documentation and/or other materials provided with the distribution. 156e5b75505Sopenharmony_ci 157e5b75505Sopenharmony_ci3. Neither the name(s) of the above-listed copyright holder(s) nor the 158e5b75505Sopenharmony_ci names of its contributors may be used to endorse or promote products 159e5b75505Sopenharmony_ci derived from this software without specific prior written permission. 160e5b75505Sopenharmony_ci 161e5b75505Sopenharmony_ciTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 162e5b75505Sopenharmony_ci"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 163e5b75505Sopenharmony_ciLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 164e5b75505Sopenharmony_ciA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 165e5b75505Sopenharmony_ciOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 166e5b75505Sopenharmony_ciSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 167e5b75505Sopenharmony_ciLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 168e5b75505Sopenharmony_ciDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 169e5b75505Sopenharmony_ciTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 170e5b75505Sopenharmony_ci(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 171e5b75505Sopenharmony_ciOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 172