Skip to content

Commit

Permalink
More licenses (#3570)
Browse files Browse the repository at this point in the history
* Add new license detection rules

Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Co-authored-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
AyanSinhaMahapatra and pombredanne authored Nov 8, 2023
1 parent 0a28d3e commit 20430c4
Show file tree
Hide file tree
Showing 60 changed files with 1,227 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ When a user clicks on the "Download the modified version of the source code"
(or the equivalent localized language version of the sentence) it must direct
the user to an archive file containing the modified version of the source code
or to an intermediate web page containing a hyperlink to directly download an
archive file of the modified source code from a Web browser.
archive file of the modified source code from a Web browser.
50 changes: 50 additions & 0 deletions src/licensedcode/data/rules/apache-1.0_14.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
license_expression: apache-1.0
is_license_text: yes
relevance: 99
notes: a rare Apache 1.0 variant with essentially the same terms. This is the same as lucre
which in turn is mostly similar to the OpenSSL license.
ignorable_authors:
- the Apache Group
ignorable_urls:
- http://www.apache.org/
---

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

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

3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."

4. The names "Apache Server" and "Apache Group" must not be used to
endorse or promote products derived from this software without
prior written permission.

5. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."

THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
EXPRESSED 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 APACHE GROUP OR
ITS 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.
57 changes: 57 additions & 0 deletions src/licensedcode/data/rules/apache-1.0_18.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
license_expression: apache-1.0
is_license_text: yes
relevance: 99
notes: https://github.com/chrissicool/l4openbsd/blob/077177814444e08500e47bc2488502f11469bc60/usr.sbin/httpd/src/modules/example/Makefile#L25
ignorable_authors:
- the Apache Group
ignorable_urls:
- http://www.apache.org/
---

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

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

3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."

4. The names "Apache Server" and "Apache Group" must not be used to
endorse or promote products derived from this software without
prior written permission.

5. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."

THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
EXPRESSED 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 APACHE GROUP OR
ITS 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.
====================================================================

This software consists of voluntary contributions made by many
individuals on behalf of the Apache Group and was originally based
on public domain software written at the National Center for
Supercomputing Applications, University of Illinois, Urbana-Champaign.
For more information on the Apache Group and the Apache HTTP server
project, please see <http://www.apache.org/>.
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_1315.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: apache-2.0
is_license_tag: yes
ignorable_urls:
- http://www.apache.org/licenses/LICENSE-2.0.txt
---

name: {{Apache License, Version 2.0}}
url: http://www.apache.org/licenses/LICENSE-2.0.txt
comments: A business-friendly OSS license
15 changes: 15 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_11.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<licenses>
<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}</name>
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0</url>
<distribution>repo</distribution>
<comments>This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0, or the Eclipse Public License 2.0.</comments>
</license>
</licenses>
13 changes: 13 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_12.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}</name>
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0</url>
<distribution>repo</distribution>
<comments>This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0, or the Eclipse Public License 2.0.</comments>
</license>
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_13.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}</name>
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0</url>
<distribution>repo</distribution>
<comments>This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0, or the Eclipse Public License 2.0.</comments>
11 changes: 11 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_14.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}</name>
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0</url>
<comments>This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0, or the Eclipse Public License 2.0.</comments>
11 changes: 11 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_15.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0
<comments>This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0, or the Eclipse Public License 2.0.
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_16.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}
<url>https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0
8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_17.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
relevance: 100
---

<license>
<name>{{(Apache-2.0 OR EPL-2.0)}}
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_18.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
relevance: 100
---

<name>{{(Apache-2.0 OR EPL-2.0)}}
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_19.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_notice: yes
relevance: 100
---

<license>{{(Apache-2.0 OR EPL-2.0)}}
7 changes: 7 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_20.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_notice: yes
relevance: 100
---

{{(Apache-2.0 OR EPL-2.0)}}
11 changes: 11 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_or_epl-2.0_21.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
license_expression: apache-2.0 OR epl-2.0
is_license_tag: yes
ignorable_urls:
- https://opensource.org/licenses/Apache-2.0,https:/opensource.org/licenses/EPL-2.0
---

name: {{(Apache-2.0 OR EPL-2.0)}}
url: https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0
comments: This program and the accompanying materials are made available under the terms of
the Apache License, Version 2.0, or the Eclipse Public License 2.0.
44 changes: 44 additions & 0 deletions src/licensedcode/data/rules/bitstream_11.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
license_expression: bitstream
is_license_text: yes
---

Bitstream Vera is a trademark of Bitstream, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
the fonts accompanying this license (“Fonts”) and associated documentation files
(the “Font Software”), to reproduce and distribute the Font Software, including
without limitation the rights to use, copy, merge, publish, distribute, and/or
sell copies of the Font Software, and to permit persons to whom the Font
Software is furnished to do so, subject to the following conditions:

The above copyright and trademark notices and this permission notice shall be
included in all copies of one or more of the Font Software typefaces.

The Font Software may be modified, altered, or added to, and in particular the
designs of glyphs or characters in the Fonts may be modified and additional
glyphs or characters may be added to the Fonts, only if the fonts are renamed to
names not containing either the words “Bitstream” or the word “Vera”.

This License becomes null and void to the extent applicable to Fonts or Font
Software that has been modified and is distributed under the “Bitstream Vera”
names.

The Font Software may be sold as part of a larger software package but no copy
of one or more of the Font Software typefaces may be sold by itself.

THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Except as contained in this notice, the names of Gnome, the Gnome Foundation,
and Bitstream Inc., shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Font Software without prior written
authorization from the Gnome Foundation or Bitstream Inc., respectively. For
further information, contact: fonts at gnome dot org.
30 changes: 30 additions & 0 deletions src/licensedcode/data/rules/bsd-2-clause-plus-advertizing_3.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
license_expression: bsd-2-clause-plus-advertizing
is_license_text: yes
ignorable_authors:
- Konstantin Chuguev and its contributors
---

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. 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.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by Konstantin Chuguev and its contributors.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
27 changes: 27 additions & 0 deletions src/licensedcode/data/rules/bsd-ack_12.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
license_expression: bsd-ack
is_license_text: yes
---

Redistribution and use in source and binary forms, with or without
modification, are permitted 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 The Linux Foundation nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.

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

0 comments on commit 20430c4

Please sign in to comment.