Skip to content

Commit 4466102

Browse files
committed
Add new license detection rules
Reference: #3611 Reported-by: Armijn Hemel @armijnhemel Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent cd5bca5 commit 4466102

12 files changed

+113
-9
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: commercial-license
3+
is_license_notice: yes
4+
---
5+
6+
The software consists of several components, each of which is licensed under
7+
an open source license. If the open source license is not suitable to your
8+
needs, it is possible to obtain commercial licenses
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: gpl-3.0-plus
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
package under the terms of the {{GPLv3+}}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: gpl-3.0-plus
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
under the terms of the {{GPLv3+}}

src/licensedcode/data/rules/gpl-3.0-plus_or_commercial-option_2.RULE

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ license_expression: gpl-3.0-plus OR commercial-license
33
is_license_notice: yes
44
---
55

6-
// You can redistribute it and/or modify it under the terms of the GNU
7-
// General Public License as published by the Free Software Foundation,
8-
// either version 3 of the License, or (at your option) any later version.
9-
//
10-
// Licensees holding a valid commercial license may use this file in
11-
// accordance with the commercial license agreement provided with the software.
12-
//
13-
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
14-
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
6+
You can redistribute it and/or modify it under the terms of the {{GNU
7+
General Public License }} as published by the Free Software Foundation,
8+
{{either version 3 of the License, or (at your option) any later version}}.
9+
10+
Licensees holding a {{valid commercial license }}may use this file in
11+
accordance with the {{commercial license agreement }}provided with the software.
12+
13+
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
14+
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: lgpl-2.0-plus
3+
is_license_notice: yes
4+
relevance: 100
5+
referenced_filenames:
6+
- LICENSE.LGPL
7+
---
8+
9+
licensed under the LGPL (see LICENSE.LGPL).
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: lgpl-3.0-plus
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
LGPL packages under the terms of the {{LGPLv3+}}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: lgpl-3.0-plus
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
under the terms of the {{LGPLv3+}}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
license_expression: lgpl-3.0-plus AND gpl-3.0-plus
3+
is_license_notice: yes
4+
referenced_filenames:
5+
- LICENSE.GPL
6+
- LICENSE.LGPL
7+
---
8+
9+
This is either the GNU General Public License
10+
or the GNU Lesser General Public License (as published by the Free Software
11+
Foundation; either version 3 of the License or (at your option) any later
12+
version). The texts of both licenses can be found in the files LICENSE.GPL
13+
and LICENSE.LGPL.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
license_expression: lgpl-3.0-plus OR commercial-license
3+
is_license_notice: yes
4+
---
5+
6+
You can redistribute it and/or modify it under the terms of the {{GNU Lesser
7+
General Public License }} as published by the Free Software Foundation,
8+
{{either version 3 of the License, or (at your option) any later version}}.
9+
10+
Licensees holding a {{valid commercial license }}may use this file in
11+
accordance with the {{commercial license agreement }}provided with the software.
12+
13+
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
14+
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
license_expression: lgpl-3.0-plus OR commercial-license
3+
is_license_notice: yes
4+
---
5+
6+
You can redistribute it and/or modify it under the terms of the {{GNU Lesser
7+
General Public License }} as published by the Free Software Foundation,
8+
{{either version 3 of the License, or (at your option) any later version}}.
9+
10+
Licensees holding a {{valid commercial license }}may use this file in
11+
accordance with the {{commercial license agreement }}provided with the software.

0 commit comments

Comments
 (0)