Mulan Permissive Software License, Version 2

1. Grant of License

1.1 Copyright Grant
Subject to the terms and conditions of this License, each Contributor
hereby grants to You a perpetual, worldwide, royalty-free,
non-exclusive, irrevocable copyright license to reproduce, use,
modify, or distribute its Contribution, with or without modification.

1.2 Patent Grant
Subject to the terms and conditions of this License, each Contributor
hereby grants to You a perpetual, worldwide, royalty-free,
non-exclusive, irrevocable (except for revocation under this Section)
patent license to make, have made, use, offer for sale, sell, import
or otherwise transfer its Contribution where such patent license
is only limited to the patent claims owned or controlled by such
Contributor now or in future which will be necessarily infringed by
its Contribution alone, or by combination of the Contribution with
the Software to which the Contribution was contributed.

2. Disclaimer of Warranty

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

3. Limitation of Liability

IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

4. Conditions

4.1 You must cause the modified Software to carry prominent notices
stating that You changed the Software.

4.2 You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Software,
excluding those notices that do not pertain to any part of
the Derivative Works.

4.3 You must provide a copy of this License to any recipient of
the Software or Derivative Works. You may choose to offer, and
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Software. However, You
may do so only on Your own behalf, and not on behalf of any
Contributor.
