/ApacheWombat

Apache worked LICENSE and NOTICE example

Primary LanguageHTMLApache License 2.0Apache-2.0

Apache® Wombat

This is a demonstration in how to assemble the LICENSE and NOTICE files for a fictional project at the Apache Software Foundation called Apache Wombat.

When assembling the LICENSE and NOTICE file please to refer to the assembling how to and the ASF Legal resolved questions.

A release of Apache Wombat would consist of all the files contained in this repository which is a copy of bootstrap.

Firstly add boilerplate LICENSE and NOTICE files to the project. One way to get these files is from the Apache website like so:
curl http://www.apache.org/licenses/LICENSE-2.0.txt > LICENSE curl http://www.apache.org/licenses/NOTICE-2.0.txt > NOTICE

Edit the NOTICE file to include the project name (Apache Wombat) and year of copyright (currently 2016).

Bootstrap is licensed under a permissive MIT licence. This is listed as a Category A permissive license compatible with the Apache 2.0 License.

Save the permissive license text and add a pointer to this file to LICENSE.

curl https://raw.githubusercontent.com/twbs/bootstrap/v3.3.2/LICENSE > licenses/bootstrap.MIT

As this is the first component added to LICENSE a little more text is needed:

APACHE WOMBAT SUBCOMPONENTS:

Apache Wombat includes a number of subcomponents with separate copyright notices and license terms. Your use of the source code for these subcomponents is subject to the terms and conditions of the following licenses.

This product bundles Bootstrap 3.3.6, copyright Twitter, Inc., which is available under the MIT license. For details, see licenses/bootstrap.MIT.

It's always a good idea to mention the product version in the license pointer as licenses may differ between versions of a product, as they have done in the bootstrap project.

Next looking at the index.html you can see a number of references to other JavaScript frameworks and code. They include HTML5 shiv, Respond.js and jQuery.

HTML5 shiv is dual license under MIT and GPL. GPL is a category X license and can't be used as a dependency in an Apache project. When something is dual licensed you can take the most permissive licence and use that. In this case select the more permissive MIT license. As HTML5 shiv would not be bundled in a release nothing needs to be added to LICENSE or NOTICE.

Respond.js is MIT licensed. Again as it is not bundled so nothing needs to be added to LICENSE or NOTICE. JQuery is also MIT licensed and again nothing needs to be done.

All these pieces are permissively licensed (Category A) so there are no licensing issues with any of the dependencies.

Looking inside bootstrap.css you can see that it includes normalize.css. Normalize.css is MIT licensed, and as this is bundled it needs to be added to LICENSE. Download the license file and add a licence pointer to LICENSE to point to that license.

curl https://raw.githubusercontent.com/necolas/normalize.css/master/LICENSE.md > licenses/normalize.MIT

This product bundles normalize 3.0.3 copyright Nicolas Gallagher and Jonathan Neal, which is available under a MIT license. For details, see licenses/normalize.MIT.

Also inside the fonts directory is glyphicons halflings font this is normally a commercial paid for product but is licensed under MIT when used in bootstrap. There's no license file so one way to deal with this is to create one for it adding the copyright owner. After the license file has been created add a pointer to it in the LICENSE file.

This product bundles Glyphicons Halflings Regular, copyright Jan Kovarik, which is available under a MIT license. For details, see licenses/glyphicons.MIT.

Apache is a trademark of The Apache Software Foundation.