Skip to content

Commit ea221d4

Browse files
Add required phrases in lgpl rules automatically
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 40ced0c commit ea221d4

File tree

299 files changed

+716
-463
lines changed

Some content is hidden

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

299 files changed

+716
-463
lines changed

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/licensedcode/data/rules/lgpl-2.0-plus_186.RULE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ license_expression: lgpl-2.0-plus
33
is_license_reference: yes
44
is_required_phrase: yes
55
relevance: 100
6+
sources:
7+
- lgpl-2.0-plus_186.RULE
68
---
79

810
GNU Library General Public License

src/licensedcode/data/rules/lgpl-2.0-plus_required_phrase_8.RULE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ license_expression: lgpl-2.0-plus
33
is_license_tag: yes
44
is_required_phrase: yes
55
is_continuous: yes
6+
sources:
7+
- lgpl-2.0-plus_required_phrase_8.RULE
68
---
79

810
{{usr share common licenses lgpl 2}}

src/licensedcode/data/rules/lgpl-2.0.SPDX.RULE

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ignorable_holders:
1111
- the Free Software Foundation
1212
---
1313

14-
GNU LIBRARY GENERAL PUBLIC LICENSE
14+
{{GNU LIBRARY GENERAL PUBLIC LICENSE
1515

16-
Version 2, June 1991
16+
Version 2}}, June 1991
1717

1818
Copyright (C) 1991 Free Software Foundation, Inc.
1919
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
@@ -40,7 +40,7 @@ Also, for each distributor's protection, we want to make certain that everyone u
4040

4141
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
4242

43-
Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license.
43+
Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the {{GNU Library General Public License}}, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license.
4444

4545
The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such.
4646

@@ -158,17 +158,17 @@ one line to give the library's name and an idea of what it does.
158158
Copyright (C) year name of author
159159

160160
This library is free software; you can redistribute it and/or
161-
modify it under the terms of the GNU Library General Public
162-
License as published by the Free Software Foundation; either
161+
modify it under the terms of the {{GNU Library General Public
162+
License}} as published by the Free Software Foundation; either
163163
version 2 of the License, or (at your option) any later version.
164164

165165
This library is distributed in the hope that it will be useful,
166166
but WITHOUT ANY WARRANTY; without even the implied warranty of
167-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
168-
Library General Public License for more details.
167+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the {{GNU
168+
Library General Public License}} for more details.
169169

170-
You should have received a copy of the GNU Library General Public
171-
License along with this library; if not, write to the
170+
You should have received a copy of the {{GNU Library General Public
171+
License}} along with this library; if not, write to the
172172
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
173173
Boston, MA 02110-1301, USA.
174174
Also add information on how to contact you by electronic and paper mail.

src/licensedcode/data/rules/lgpl-2.0_10.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ relevance: 100
55
minimum_coverage: 100
66
---
77

8-
which are made available under the GNU Library General Public License Version 2
8+
which are made available under the {{GNU Library General Public License Version 2}}

src/licensedcode/data/rules/lgpl-2.0_109.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ referenced_filenames:
77
---
88

99
All other software is copyright by their authors and redistributable under
10-
the terms of the GNU Library General Public License. On Debian Linux
11-
systems, the complete text of the GNU Library General Public License can
10+
the terms of the {{GNU Library General Public License}}. On Debian Linux
11+
systems, the complete text of the {{GNU Library General Public License}} can
1212
be found in `/usr/share/common-licenses/LGPL-2'.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
license_expression: lgpl-2.0
33
is_license_reference: yes
4+
is_required_phrase: yes
45
relevance: 100
6+
sources:
7+
- lgpl-2.0_11.RULE
58
---
69

710
GNU Library General Public License v2 only

src/licensedcode/data/rules/lgpl-2.0_113.RULE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ relevance: 100
55
---
66

77
This library is free software; you can redistribute it and/or
8-
modify it under the terms of the GNU Library General Public
8+
modify it under the terms of the {{GNU Library General Public
99
License as published by the Free Software Foundation version 2
10-
of the License.
10+
of the License}}.
1111

1212
This library is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15-
Library General Public License for more details.
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the {{GNU
15+
Library General Public License}} for more details.
1616

17-
You should have received a copy of the GNU Library General Public
18-
License along with this library; if not, write to the Free Software
17+
You should have received a copy of the {{GNU Library General Public
18+
License}} along with this library; if not, write to the Free Software
1919
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
license_expression: lgpl-2.0
33
is_license_notice: yes
4+
is_required_phrase: yes
45
relevance: 100
6+
sources:
7+
- lgpl-2.0_118.RULE
58
---
69

710
distributed under LGPL 2

0 commit comments

Comments
 (0)