Skip to content

Commit 1a0a79c

Browse files
committed
Add new and improve license rules
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 70c55c0 commit 1a0a79c

File tree

131 files changed

+2339
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2339
-47
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: apache-1.1
3+
is_license_reference: yes
4+
relevance: 100
5+
---
6+
7+
BSD/BSD.new/Apache/ {{Apache Software License v1.1}}
8+
The {{Apache Software License, Version 1.1}}

src/licensedcode/data/rules/apache-2.0_963.RULE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ ignorable_urls:
55
- http://www.apache.org/licenses/LICENSE-2.0
66
---
77

8-
This project is licensed under the Apache-2.0
9-
license (http://www.apache.org/licenses/LICENSE-2.0).
8+
This project is licensed under the {{ Apache-2.0 }}
9+
license ( {{ http://www.apache.org/licenses/LICENSE-2.0 }}).
10+
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
license_expression: artistic-perl-1.0
3+
is_license_text: yes
4+
---
5+
6+
The "Artistic License"
7+
8+
Preamble
9+
10+
The intent of this document is to state the conditions under which a
11+
Package may be copied, such that the Copyright Holder maintains some
12+
semblance of artistic control over the development of the package,
13+
while giving the users of the package the right to use and distribute
14+
the Package in a more-or-less customary fashion, plus the right to make
15+
reasonable modifications.
16+
17+
Definitions:
18+
19+
"Package" refers to the collection of files distributed by the
20+
Copyright Holder, and derivatives of that collection of files
21+
created through textual modification.
22+
23+
"Standard Version" refers to such a Package if it has not been
24+
modified, or has been modified in accordance with the wishes
25+
of the Copyright Holder as specified below.
26+
27+
"Copyright Holder" is whoever is named in the copyright or
28+
copyrights for the package.
29+
30+
"You" is you, if you're thinking about copying or distributing
31+
this Package.
32+
33+
"Reasonable copying fee" is whatever you can justify on the
34+
basis of media cost, duplication charges, time of people involved,
35+
and so on. (You will not be required to justify it to the
36+
Copyright Holder, but only to the computing community at large
37+
as a market that must bear the fee.)
38+
39+
"Freely Available" means that no fee is charged for the item
40+
itself, though there may be fees involved in handling the item.
41+
It also means that recipients of the item may redistribute it
42+
under the same conditions they received it.
43+
44+
1. You may make and give away verbatim copies of the source form of the
45+
Standard Version of this Package without restriction, provided that you
46+
duplicate all of the original copyright notices and associated disclaimers.
47+
48+
2. You may apply bug fixes, portability fixes and other modifications
49+
derived from the Public Domain or from the Copyright Holder. A Package
50+
modified in such a way shall still be considered the Standard Version.
51+
52+
3. You may otherwise modify your copy of this Package in any way, provided
53+
that you insert a prominent notice in each changed file stating how and
54+
when you changed that file, and provided that you do at least ONE of the
55+
following:
56+
57+
a) place your modifications in the Public Domain or otherwise make them
58+
Freely Available, such as by posting said modifications to Usenet or
59+
an equivalent medium, or placing the modifications on a major archive
60+
site such as uunet.uu.net, or by allowing the Copyright Holder to include
61+
your modifications in the Standard Version of the Package.
62+
63+
b) use the modified Package only within your corporation or organization.
64+
65+
c) rename any non-standard executables so the names do not conflict
66+
with standard executables, which must also be provided, and provide
67+
a separate manual page for each non-standard executable that clearly
68+
documents how it differs from the Standard Version.
69+
70+
d) make other distribution arrangements with the Copyright Holder.
71+
72+
4. You may distribute the programs of this Package in object code or
73+
executable form, provided that you do at least ONE of the following:
74+
75+
a) distribute a Standard Version of the executables and library files,
76+
together with instructions (in the manual page or equivalent) on where
77+
to get the Standard Version.
78+
79+
b) accompany the distribution with the machine-readable source of
80+
the Package with your modifications.
81+
82+
c) give non-standard executables non-standard names, and clearly
83+
document the differences in manual pages (or equivalent), together
84+
with instructions on where to get the Standard Version.
85+
86+
d) make other distribution arrangements with the Copyright Holder.
87+
88+
5. You may charge a reasonable copying fee for any distribution of this
89+
Package. You may charge any fee you choose for support of this
90+
Package. You may not charge a fee for this Package itself. However,
91+
you may distribute this Package in aggregate with other (possibly
92+
commercial) programs as part of a larger (possibly commercial) software
93+
distribution provided that you do not advertise this Package as a
94+
product of your own. You may embed this Package's interpreter within
95+
an executable of yours (by linking); this shall be construed as a mere
96+
form of aggregation, provided that the complete Standard Version of the
97+
interpreter is so embedded.
98+
99+
6. The scripts and library files supplied as input to or produced as
100+
output from the programs of this Package do not automatically fall
101+
under the copyright of this Package, but belong to whoever generated
102+
them, and may be sold commercially, and may be aggregated with this
103+
Package. If such scripts or library files are aggregated with this
104+
Package via the so-called "undump" or "unexec" methods of producing a
105+
binary executable image, then distribution of such an image shall
106+
neither be construed as a distribution of this Package nor shall it
107+
fall under the restrictions of Paragraphs 3 and 4, provided that you do
108+
not represent such an executable image as a Standard Version of this
109+
Package.
110+
111+
7. C subroutines (or comparably compiled subroutines in other
112+
languages) supplied by you and linked into this Package in order to
113+
emulate subroutines and variables of the language defined by this
114+
Package shall not be considered part of this Package, but are the
115+
equivalent of input as in Paragraph 6, provided these subroutines do
116+
not change the language in any way that would cause it to fail the
117+
regression tests for the language.
118+
119+
8. Aggregation of this Package with a commercial distribution is always
120+
permitted provided that the use of this Package is embedded; that is,
121+
when no overt attempt is made to make this Package's interfaces visible
122+
to the end user of the commercial distribution. Such use shall not be
123+
construed as a distribution of this Package.
124+
125+
9. The name of the Copyright Holder may not be used to endorse or promote
126+
products derived from this software without specific prior written permission.
127+
128+
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
129+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
130+
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
---
5+
6+
Permission to copy, use, sell and distribute this software is granted
7+
provided this copyright notice appears in all copies.
8+
Permission to modify the code and to distribute modified code is granted
9+
provided this copyright notice appears in all copies, and a notice
10+
that the code was modified is included with the copyright notice.
11+
12+
This software is provided "as is" without express or implied warranty,
13+
and with no claim as to its suitability for any purpose.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
---
5+
6+
Permission to copy, use, modify, sell
7+
and distribute this document is granted provided this copyright notice
8+
appears in all copies. This document is provided "as is" without
9+
express or implied warranty, and with no claim as to its suitability for
10+
any purpose.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
minimum_coverage: 95
5+
---
6+
7+
Permission to copy,
8+
use, modify, sell and distribute this software is granted provided this
9+
copyright notice appears in all copies. This software is provided "as is"
10+
without express or implied warranty, and with no claim as to its suitability
11+
for any purpose.
12+
13+
boostinspect:nolicense (don't complain about the lack of a Boost license)
14+
(Paul Moore hasn't been in contact for years, so there's no way to change the
15+
license.)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
minimum_coverage: 95
5+
---
6+
7+
Permission to copy,
8+
use, modify, sell and distribute this software is granted provided this
9+
copyright notice appears in all copies. This software is provided "as is"
10+
without express or implied warranty, and with no claim as to its suitability
11+
for any purpose.
12+
13+
boostinspect:nolicense (don't complain about the lack of a Boost license)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
minimum_coverage: 95
5+
---
6+
7+
Permission to copy, use, modify, sell
8+
and distribute this document is granted provided this copyright notice
9+
appears in all copies. This document is provided "as is" without
10+
express or implied warranty, and with no claim as to its suitability for
11+
any purpose.
12+
boostinspect:nolicense (can't find Paul Moore to change license)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
license_expression: boost-original
3+
is_license_text: yes
4+
minimum_coverage: 95
5+
---
6+
7+
Permission to copy, use, modify, sell
8+
and distribute this software is granted provided this copyright notice
9+
appears in all copies. This software is provided "as is" without express or
10+
implied warranty, and with no claim as to its suitability for any purpose.
11+
12+
Incorporated into the boost rational number library, and modified and
13+
extended, by Paul Moore, with permission.
14+
15+
boostinspect:nolicense (don't complain about the lack of a Boost license)
16+
(Stephen Silver hasn't been contacted yet for permission to change the
17+
license. If Paul Moore's permission is also needed, then that's a problem
18+
since he hasn't been in contact for years.)

src/licensedcode/data/rules/bsd-ack_12.RULE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
license_expression: bsd-ack
33
is_license_text: yes
4+
is_deprecated: yes
5+
notes: this is a bsd-new rather
46
---
57

68
Redistribution and use in source and binary forms, with or without
@@ -24,4 +26,4 @@ Redistribution and use in source and binary forms, with or without
2426
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2527
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2628
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27-
POSSIBILITY OF SUCH DAMAGE.
29+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)