Skip to content

Commit 4211d02

Browse files
committed
Improve detection of BSD license
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent c40e404 commit 4211d02

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

src/licensedcode/data/licenses/any-osi-perl-modules.LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ other_urls:
1111
- https://metacpan.org/pod/Net::MQTT::Simple#LICENSE
1212
ignorable_urls:
1313
- http://www.opensource.org/licenses/alphabetical
14+
minimum_coverage: 90
1415
---
1516

1617
This software may be redistributed under the terms of the GPL, LGPL,
@@ -23,4 +24,4 @@ When using a packaged version, please refer to the package metadata to see
2324
under which license terms it was distributed. Alternatively, a distributor
2425
may choose to replace the LICENSE section of the documentation and/or
2526
include a LICENSE file to reflect the license(s) they chose to redistribute
26-
under.
27+
under.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_notice: yes
4+
relevance: 99
5+
notes: UCB is University of California at Berkeley
6+
---
7+
8+
redistributed under the terms of the {{UCB BSD}} license

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ is_license_clue: yes
44
relevance: 90
55
---
66

7-
BSD-style
7+
BSD-style

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
license_expression: bsd-new
33
is_license_reference: yes
44
is_required_phrase: yes
5-
relevance: 100
5+
relevance: 99
66
referenced_filenames:
77
- /usr/share/common-licenses/BSD
88
---
99

10-
/usr/share/common-licenses/BSD
10+
/usr/share/common-licenses/BSD

0 commit comments

Comments
 (0)