Skip to content

Commit efd85cf

Browse files
Add misc license rules
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 23eb659 commit efd85cf

13 files changed

+219
-69
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: afl-2.1 OR bsd-new
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
Code is {{licensed under the AFL}} or {{BSD 3-Clause license}}.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
license_expression: afl-2.1 OR bsd-new
3+
is_license_notice: yes
4+
---
5+
6+
is available under *either* the terms of the {{BSD 3-Clause "New" License}} *or* the
7+
{{Academic Free License version 2.1}}. you may choose which
8+
license to receive this code under (except as noted in per-module LICENSE
9+
files). Some modules may not be the copyright of the . These
10+
modules contain explicit declarations of copyright in both the LICENSE files in
11+
the directories in which they reside and in the code itself. No external
12+
contributions are allowed under licenses which are fundamentally incompatible
13+
with the {{AFL-2.1 OR and BSD-3-Clause licenses}} that is distributed under.
14+
15+
The text of the {{AFL-2.1 and BSD-3-Clause licenses}} is reproduced below.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_notice: yes
4+
ignorable_copyrights:
5+
- Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
6+
ignorable_holders:
7+
- Kevin Decker
8+
ignorable_emails:
9+
- kpdecker@gmail.com
10+
---
11+
12+
{{License: BSD-3-Clause}}
13+
14+
> {{Software License Agreement (BSD License)}}
15+
>
16+
> Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
17+
>
18+
> All rights reserved.
19+
>
20+
> Redistribution and use of this software in source and binary forms, with or without modification,
21+
> are permitted provided that the following conditions are met:
22+
>
23+
> * Redistributions of source code must retain the above
24+
> copyright notice, this list of conditions and the
25+
> following disclaimer.
26+
>
27+
> * Redistributions in binary form must reproduce the above
28+
> copyright notice, this list of conditions and the
29+
> following disclaimer in the documentation and/or other
30+
> materials provided with the distribution.
31+
>
32+
> * Neither the name of nor the names of its
33+
> contributors may be used to endorse or promote products
34+
> derived from this software without specific prior
35+
> written permission.
36+
>
37+
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
38+
> IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
39+
> FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
40+
> CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
41+
> DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
42+
> DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
43+
> IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
44+
> OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_text: yes
4+
---
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
2. Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
3. Neither the name of Eugene Ware nor the names of its contributors
15+
may be used to endorse or promote products derived from this software
16+
without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY
19+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
22+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

src/licensedcode/data/rules/cc-by-4.0_121.RULE

Lines changed: 11 additions & 0 deletions
Large diffs are not rendered by default.

src/licensedcode/data/rules/license-intro_94.RULE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
license_expression: unknown-license-reference
3+
relevance: 60
34
is_license_intro: yes
45
---
56

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: unknown-license-reference
3+
is_license_intro: yes
4+
minimum_coverage: 90
5+
---
6+
7+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
8+
9+
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: unknown-license-reference
3+
is_license_intro: yes
4+
relevance: 80
5+
---
6+
7+
distributed under the [UNKNOWN License]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: mit
3+
relevance: 100
4+
is_license_notice: yes
5+
---
6+
7+
{{License: MIT}}
8+
> {{The MIT License (MIT)}}
9+
> Copyright
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
license_expression: mit AND w3c-software-doc-20150513
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
6+
---
7+
8+
{{MIT License}}
9+
*
10+
* {{@license W3C}}
11+
* {{https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document}}

0 commit comments

Comments
 (0)