Skip to content

Commit 9701c4d

Browse files
committed
Add new and improved license rules
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 42cd7cd commit 9701c4d

9 files changed

+239
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
license_expression: apache-2.0
3+
is_license_notice: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/LICENSE-2.0
6+
---
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this work except in compliance with the License.
10+
You may obtain a copy of the License in the LICENSE file, or at:
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_text: yes
4+
---
5+
6+
BSD 3-clause:
7+
8+
Redistribution and use in source and binary forms of libcap/cap, with
9+
or without modification, are permitted provided that the following
10+
conditions are met:
11+
12+
1. Redistributions of source code must retain any existing copyright
13+
notice, and this entire permission notice in its entirety,
14+
including the disclaimer of warranties.
15+
16+
2. Redistributions in binary form must reproduce all prior and current
17+
copyright notices, this list of conditions, and the following
18+
disclaimer in the documentation and/or other materials provided
19+
with the distribution.
20+
21+
3. The name of any author may not be used to endorse or promote
22+
products derived from this software without their specific prior
23+
written permission.
24+
25+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
26+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
28+
IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
29+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
30+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
31+
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
32+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
33+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
34+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
35+
DAMAGE.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_text: yes
4+
---
5+
6+
Redistribution and use in source and binary forms of libcap/cap, with
7+
or without modification, are permitted provided that the following
8+
conditions are met:
9+
10+
1. Redistributions of source code must retain any existing copyright
11+
notice, and this entire permission notice in its entirety,
12+
including the disclaimer of warranties.
13+
14+
2. Redistributions in binary form must reproduce all prior and current
15+
copyright notices, this list of conditions, and the following
16+
disclaimer in the documentation and/or other materials provided
17+
with the distribution.
18+
19+
3. The name of any author may not be used to endorse or promote
20+
products derived from this software without their specific prior
21+
written permission.
22+
23+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
24+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26+
IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
27+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
29+
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
31+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
32+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
33+
DAMAGE.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
license_expression: bsd-new OR gpl-2.0
3+
is_license_notice: yes
4+
---
5+
6+
Unless otherwise *explicitly* stated, the following text describes the
7+
licensed conditions under which the contents of this libcap/cap release
8+
may be used and distributed.
9+
10+
The licensed conditions are one or the other of these two Licenses:
11+
12+
- BSD 3-clause
13+
- GPL v2.0
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
license_expression: bsd-new OR gpl-2.0
3+
is_license_notice: yes
4+
---
5+
6+
Unless otherwise *explicitly* stated, the following text describes the
7+
licensed conditions under which the contents of this libcap/cap release
8+
may be used and distributed.
9+
10+
The licensed conditions are one or the other of these two Licenses:
11+
12+
- BSD 3-clause
13+
- GPL v2.0
14+
15+
BSD 3-clause:
16+
-------------
17+
18+
Redistribution and use in source and binary forms of libcap/cap, with
19+
or without modification, are permitted provided that the following
20+
conditions are met:
21+
22+
1. Redistributions of source code must retain any existing copyright
23+
notice, and this entire permission notice in its entirety,
24+
including the disclaimer of warranties.
25+
26+
2. Redistributions in binary form must reproduce all prior and current
27+
copyright notices, this list of conditions, and the following
28+
disclaimer in the documentation and/or other materials provided
29+
with the distribution.
30+
31+
3. The name of any author may not be used to endorse or promote
32+
products derived from this software without their specific prior
33+
written permission.
34+
35+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
36+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
37+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
38+
IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
39+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
40+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
41+
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
43+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
44+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
45+
DAMAGE.
46+
47+
GPL v2.0:
48+
---------
49+
50+
ALTERNATIVELY, this product may be distributed under the terms of the
51+
GNU General Public License (v2.0 - see below), in which case the
52+
provisions of the GNU GPL are required INSTEAD OF the above
53+
restrictions. (This clause is necessary due to a potential conflict
54+
between the GNU GPL and the restrictions contained in a BSD-style
55+
copyright.)
56+
57+
-------------------------
58+
Full text of gpl-2.0.txt:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
license_expression: gpl-2.0
3+
is_license_notice: yes
4+
---
5+
6+
GPL v2.0:
7+
---------
8+
9+
ALTERNATIVELY, this product may be distributed under the terms of the
10+
GNU General Public License (v2.0 - see below), in which case the
11+
provisions of the GNU GPL are required INSTEAD OF the above
12+
restrictions. (This clause is necessary due to a potential conflict
13+
between the GNU GPL and the restrictions contained in a BSD-style
14+
copyright.)
15+
16+
-------------------------
17+
Full text of gpl-2.0.txt:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: gpl-2.0
3+
is_license_notice: yes
4+
---
5+
6+
GPL v2.0:
7+
---------
8+
9+
ALTERNATIVELY, this product may be distributed under the terms of the
10+
GNU General Public License (v2.0 - see below), in which case the
11+
provisions of the GNU GPL are required INSTEAD OF the above
12+
restrictions. (This clause is necessary due to a potential conflict
13+
between the GNU GPL and the restrictions contained in a BSD-style
14+
copyright.)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
license_expression: gpl-2.0
3+
is_license_notice: yes
4+
---
5+
6+
ALTERNATIVELY, this product may be distributed under the terms of the
7+
GNU General Public License (v2.0 - see below), in which case the
8+
provisions of the GNU GPL are required INSTEAD OF the above
9+
restrictions. (This clause is necessary due to a potential conflict
10+
between the GNU GPL and the restrictions contained in a BSD-style
11+
copyright.)
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
license_expression: lgpl-2.1 OR mpl-1.1
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- COPYING-LGPL-2.1
6+
- COPYING-MPL-1.1
7+
---
8+
9+
Cairo is free software.
10+
11+
Every source file in the implementation[*] of cairo is available to be
12+
redistributed and/or modified under the terms of either the GNU Lesser
13+
General Public License (LGPL) version 2.1 or the Mozilla Public
14+
License (MPL) version 1.1. Some files are available under more
15+
liberal terms, but we believe that in all cases, each file may be used
16+
under either the LGPL or the MPL.
17+
18+
See the following files in this directory for the precise terms and
19+
conditions of either license:
20+
21+
COPYING-LGPL-2.1
22+
COPYING-MPL-1.1
23+
24+
Please see each file in the implementation for copyright and licensing
25+
information, (in the opening comment of each file).
26+
27+
[*] The implementation of cairo is contained entirely within the "src"
28+
and "pixman" directories of the cairo source distribution. There are
29+
other components of the cairo source distribution (such as the "test"
30+
and "perf") that are auxiliary to the library itself. None of the
31+
source code in these directories contributes to a build of the cairo
32+
library itself, (libcairo.so or cairo.dll or similar).
33+
34+
These auxilary components are also free software, but may be under
35+
different license terms than cairo itself. For example, most of the
36+
test cases in the perf and test directories are made available under
37+
an MIT license to simplify any use of this code for reference purposes
38+
in using cairo itself. Other files might be available under the GNU
39+
General Public License (GPL), for example. Again, please see the
40+
opening comment of each file for copyright and licensing information.

0 commit comments

Comments
 (0)