1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

add clear BSD

This commit is contained in:
Ben Balter 2015-08-19 16:14:26 -04:00
parent ec3d0d1b7b
commit 5b224fbf9a
2 changed files with 50 additions and 6 deletions

View File

@ -14,8 +14,8 @@
<!-- always show this div, even w/o variations, for proper spacing --> <!-- always show this div, even w/o variations, for proper spacing -->
{% if license.tab-slug %} {% if license.tab-slug %}
<ul class="nav-pills js-nav-pills"> <ul class="nav-pills js-nav-pills">
{% for variation in site.licenses %} {% assign variations = site.licenses | where:"hidden",false | where:"category",license.category %}
{% if variation.category and variation.category == license.category %} {% for variation in variations %}
<li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}"> <li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">
{% if variation.nickname != nil %} {% if variation.nickname != nil %}
{{ variation.nickname }} {{ variation.nickname }}
@ -23,13 +23,12 @@
{{ variation.title }} {{ variation.title }}
{% endif %} {% endif %}
</a></li> </a></li>
{% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
</div> </div>
{% for variation in site.licenses %} {% assign variations = site.licenses | where:"hidden",false | where:"category",license.category %}
{% if variation.category and variation.category == license.category %} {% for variation in variations %}
<div {% if variation.tab-slug %}id="{{ variation.tab-slug }}" {% endif %}class="variation-tab {% if variation.tab-slug %}variation-{{ variation.tab-slug }}{% endif %} js-variation-tab{% if license.tab-slug == variation.tab-slug %} active{% endif %}"> <div {% if variation.tab-slug %}id="{{ variation.tab-slug }}" {% endif %}class="variation-tab {% if variation.tab-slug %}variation-{{ variation.tab-slug }}{% endif %} js-variation-tab{% if license.tab-slug == variation.tab-slug %} active{% endif %}">
<table class="license-rules"> <table class="license-rules">
<tr> <tr>
@ -59,7 +58,6 @@
</table> </table>
<p class="small"><a href="{{ variation.permalink }}">View full {{ variation.title }} license »</a></p> <p class="small"><a href="{{ variation.permalink }}">View full {{ variation.title }} license »</a></p>
</div> </div>
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>

View File

@ -0,0 +1,46 @@
---
layout: license
title: BSD 3-clause Clear License
nickname: Clear BSD
category: BSD
tab-slug: bsd-3-clear
variant: true
permalink: /licenses/bsd-3-clause-clear/
hidden: true
description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license. The three clause variant prohibits others from using the name of the project or its contributors to promote derivative works without written consent.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
required:
- include-copyright
permitted:
- commercial-use
- modifications
- distribution
- sublicense
- private-use
forbidden:
- no-liability
- trademark-use
---
The Clear BSD License
Copyright (c) [year], [fullname]
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of [project] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS 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.