Skip to content

Commit

Permalink
Add new license rules
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Nov 9, 2023
1 parent de920b9 commit 7cb1d75
Show file tree
Hide file tree
Showing 17 changed files with 213 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/epl-2.0_76.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
license_expression: epl-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
---

- name: Eclipse Public License v. 2.0
url: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/epl-2.0_77.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: epl-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
---

license
<name>Eclipse Public License v. 2.0
<url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: epl-2.0 OR gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
- https://www.gnu.org/software/classpath/license.html
---

<name>Eclipse Public License v. 2.0</name>
<url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
<name>GNU General Public License, version 2 with the GNU Classpath Exception</name>
<url>https://www.gnu.org/software/classpath/license.html</url>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
license_expression: epl-2.0 OR gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
- https://www.gnu.org/software/classpath/license.html
---

license
<name>Eclipse Public License v. 2.0</name>
<url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
<name>GNU General Public License, version 2 with the GNU Classpath Exception</name>
<url>https://www.gnu.org/software/classpath/license.html</url>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
license_expression: epl-2.0 OR gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
- https://www.gnu.org/software/classpath/license.html
---

license
<name>Eclipse Public License v. 2.0
<url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
<name>GNU General Public License, version 2 with the GNU Classpath Exception
<url>https://www.gnu.org/software/classpath/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
license_expression: gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.gnu.org/software/classpath/license.html
---

- name: GNU General Public License, version 2 with the GNU Classpath Exception
url: https://www.gnu.org/software/classpath/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.gnu.org/software/classpath/license.html
---

license
<name>GNU General Public License, version 2 with the GNU Classpath Exception
<url>https://www.gnu.org/software/classpath/license.html
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_320.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: lgpl-3.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
---

<license>
<name>GNU General Lesser Public License (LGPL) version 3.0</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
<distribution>repo</distribution>
</license>
9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_321.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
license_expression: lgpl-3.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
---

- name: GNU General Lesser Public License (LGPL) version 3.0
url: http://www.gnu.org/licenses/lgpl.html
13 changes: 13 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_or_mpl-2.0_1.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
license_expression: lgpl-3.0 OR mpl-2.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
- http://www.mozilla.org/MPL/2.0/
---

license
- name: GNU General Lesser Public License (LGPL) version 3.0
url: http://www.gnu.org/licenses/lgpl.html
- name: Mozilla Public License Version 2.0
url: http://www.mozilla.org/MPL/2.0/
14 changes: 14 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_or_mpl-2.0_2.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
license_expression: lgpl-3.0 OR mpl-2.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
- http://www.mozilla.org/MPL/2.0/
---

license
- name: GNU General Lesser Public License (LGPL) version 3.0
url: http://www.gnu.org/licenses/lgpl.html
- name: Mozilla Public License Version 2.0
url: http://www.mozilla.org/MPL/2.0/
license
15 changes: 15 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_or_mpl-2.0_3.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
license_expression: lgpl-3.0 OR mpl-2.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
- http://www.mozilla.org/MPL/2.0/
---

licenses
license
- name: GNU General Lesser Public License (LGPL) version 3.0
url: http://www.gnu.org/licenses/lgpl.html
- name: Mozilla Public License Version 2.0
url: http://www.mozilla.org/MPL/2.0/
license
18 changes: 18 additions & 0 deletions src/licensedcode/data/rules/lgpl-3.0_or_mpl-2.0_4.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
license_expression: lgpl-3.0 OR mpl-2.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
- http://www.mozilla.org/MPL/2.0/
---

<license>
<name>GNU General Lesser Public License (LGPL) version 3.0</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Mozilla Public License Version 2.0</name>
<url>http://www.mozilla.org/MPL/2.0/</url>
<distribution>repo</distribution>
</license>
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/mpl-2.0_139.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: mpl-2.0
is_license_tag: yes
ignorable_urls:
- http://www.mozilla.org/MPL/2.0/
---

<license>
<name>Mozilla Public License Version 2.0</name>
<url>http://www.mozilla.org/MPL/2.0/</url>
<distribution>repo</distribution>
</license>
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/mpl-2.0_140.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: mpl-2.0
is_license_tag: yes
relevance: 100
ignorable_urls:
- http://www.mozilla.org/MPL/2.0/
---

- name: Mozilla Public License Version 2.0
url: http://www.mozilla.org/MPL/2.0/
16 changes: 16 additions & 0 deletions src/licensedcode/data/rules/other-permissive_425.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
license_expression: other-permissive
is_license_notice: yes
minimum_coverage: 95
notes: Seen in openpdf See also https://web.archive.org/web/20060113033212/http://www.javaworld.com/javaworld/javatips/jw-javatip128.html
ignorable_urls:
- http://www.javaworld.com/javaworld/javatips/jw-javatip128.html
---

SimpleXMLParser:
The original version of this class was published in a JavaWorld article by Steven Brandt:
http://www.javaworld.com/javaworld/javatips/jw-javatip128.html
Jennifer Orr (JavaWorld) wrote: "You have permission to use the code appearing in
Steven Brandt's JavaWorld article, 'Java Tip 128: Create a quick-and-dirty XML parser.'
We ask that you reference the author as the creator and JavaWorld as the original publisher
of the code." Steven Brandt also agreed with the use of this class.
18 changes: 18 additions & 0 deletions src/licensedcode/data/rules/other-permissive_426.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
license_expression: other-permissive
is_license_text: yes
notes: Similar to hpnd-sell-variant-mit-disclaimer and seen in https://gitlab.freedesktop.org/xorg/xserver/-/blob/141e7dd8a373eafe28fb4f6433671979fb4c59a7/COPYING#L1781
---

Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
this permission notice appear in supporting documentation. This permission
notice shall be included in all copies or substantial portions of the
Software.

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
AUTHOR 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.

0 comments on commit 7cb1d75

Please sign in to comment.