Skip to content

Commit 30ff428

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into update-license-rules
2 parents 8c5ca67 + 9d466d3 commit 30ff428

File tree

154 files changed

+12506
-2201
lines changed

Some content is hidden

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

154 files changed

+12506
-2201
lines changed

CHANGELOG.rst

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,27 @@ v33.0.0 (next next, roadmap)
1212
- Fallback packages for non-native dependencies of SCTK.
1313
- Dependencies for
1414
- Support for copyright detection objects.
15-
- Bump commoncode to v31.0.3
15+
16+
- A new field in packages with the license category for the
17+
detected license expression and also an API function to
18+
compute license categories from license expressions.
19+
See https://github.com/nexB/scancode-toolkit/issues/2897
20+
21+
- More support for tabular output formats: New command-line
22+
options for XSLX output, and the old `--csv` command line
23+
option is removed.
24+
See https://github.com/nexB/scancode-toolkit/issues/830
25+
26+
- `--unknown-licenses` is removed and this is always enabled
27+
and only used in case of improper detections automatically.
28+
Also tag all license rules with required phrases to improve
29+
license detection and reduce false positives.
30+
See https://github.com/nexB/scancode-toolkit/issues/3300
31+
32+
- File categorization support added, a post scan plugin tagging
33+
files with priority levels for review, and also take advantage
34+
of these in other summary plugins.
35+
See https://github.com/nexB/scancode-toolkit/issues/1745
1636

1737
v32.1.0 (next, roadmap)
1838
----------------------------
@@ -68,41 +88,33 @@ Changes in Output Data Structure:
6888
referenced_filenames, and the boolean attributes (like
6989
is_license_notice, is_license_intro etc, as applicable).
7090

71-
- A new field in packages with the license category for the
72-
detected license expression and also an API function to
73-
compute license categories from license expressions.
74-
See https://github.com/nexB/scancode-toolkit/issues/2897
75-
76-
- More support for tabular output formats: New command-line
77-
options for XSLX output, and the old `--csv` command line
78-
option is removed.
79-
See https://github.com/nexB/scancode-toolkit/issues/830
80-
81-
- `--unknown-licenses` is removed and this is always enabled
82-
and only used in case of improper detections automatically.
83-
Also tag all license rules with required phrases to improve
84-
license detection and reduce false positives.
85-
See https://github.com/nexB/scancode-toolkit/issues/3300
86-
87-
- A new `--todo` option is added to show the todo items that
88-
should be reviewed, which are ambiguous license/package
89-
detections.
90-
91-
- File categorization support added, a post scan plugin tagging
92-
files with priority levels for review, and also take advantage
93-
of these in other summary plugins.
94-
See https://github.com/nexB/scancode-toolkit/issues/1745
95-
9691
- New and updated licenses, including support for newly released
9792
SPDX license list version 3.22. This release of the SPDX license
9893
list had 48 new licenses, and several of them we already had as
9994
licenses/rules, and these has been modified to be consistent with
10095
the SPDX list. And the rest have been added as new licenses.
10196
For more details see https://github.com/nexB/scancode-toolkit/pull/3554
10297

98+
- Improve debian namespace detection based on clues and fix
99+
namespace and qualifier bugs for debian purls.
100+
For more details see https://github.com/nexB/scancode.io/issues/899
101+
and https://github.com/nexB/scancode-toolkit/issues/3443
102+
Also improve debian manifests parsing and purl parsing from
103+
filenames. Support for https://github.com/nexB/purldb/issues/245
104+
Bumps debian-inspector to v31.1.0
105+
106+
- Bump commoncode to v31.0.3
107+
103108
- Upgraded spdx-tools dependency to v0.8.
104109
See https://github.com/nexB/scancode-toolkit/issues/3455
105110

111+
Support for Conan package parser:
112+
113+
- We now support the parsing of Conan manifest files, such as
114+
`conanfile.py`, as described here https://docs.conan.io/2.0/reference/conanfile.html.
115+
We also support source extraction from `conandata.yml`, as described here
116+
https://docs.conan.io/2/tutorial/creating_packages/handle_sources_in_packages.html#using-the-conandata-yml-file.
117+
106118

107119
v32.0.8 - 2023-10-11
108120
------------------------

docs/source/reference/available_package_parsers.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,18 @@ parsers in scancode-toolkit during documentation builds.
177177
- ``php_composer_lock``
178178
- PHP
179179
- https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
180+
* - conan external source
181+
- ``*/conandata.yml``
182+
- ``conan``
183+
- ``conan_conandata_yml``
184+
- C++
185+
- https://docs.conan.io/2/tutorial/creating_packages/handle_sources_in_packages.html#using-the-conandata-yml-file
186+
* - conan recipe
187+
- ``*/conanfile.py``
188+
- ``conan``
189+
- ``conan_conanfile_py``
190+
- C++
191+
- https://docs.conan.io/2.0/reference/conanfile.html
180192
* - Conda meta.yml manifest
181193
- ``*/meta.yaml``
182194
- ``conda``
@@ -243,6 +255,13 @@ parsers in scancode-toolkit during documentation builds.
243255
- ``debian_copyright_in_source``
244256
- None
245257
- https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
258+
* - Debian machine readable file standalone
259+
- ``*/copyright``
260+
``*_copyright``
261+
- ``deb``
262+
- ``debian_copyright_standalone``
263+
- None
264+
- https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
246265
* - Debian binary package archive
247266
- ``*.deb``
248267
- ``deb``

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ commoncode==31.0.3
1313
construct==2.10.68
1414
container-inspector==31.1.0
1515
cryptography==37.0.4
16-
debian-inspector==31.0.0
16+
debian-inspector==31.1.0
1717
dockerfile-parse==1.2.0
1818
dparse2==0.7.0
1919
extractcode==31.0.0

setup-mini.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ install_requires =
7272
colorama >= 0.3.9
7373
commoncode >= 31.0.2
7474
container-inspector >= 31.0.0
75-
debian-inspector >= 31.0.0
75+
debian-inspector >= 31.1.0
7676
dparse2 >= 0.7.0
7777
fasteners
7878
fingerprints >= 0.6.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ install_requires =
7272
colorama >= 0.3.9
7373
commoncode >= 31.0.3
7474
container-inspector >= 31.0.0
75-
debian-inspector >= 31.0.0
75+
debian-inspector >= 31.1.0
7676
dparse2 >= 0.7.0
7777
fasteners
7878
fingerprints >= 0.6.0
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
key: bcrypt-solar-designer
3+
short_name: bcrypt Solar Designer License
4+
name: bcrypt Solar Designer License
5+
category: Permissive
6+
owner: Openwall
7+
notes: |
8+
This was previously the openwall-md5-permissive_8.RULE
9+
spdx_license_key: bcrypt-Solar-Designer
10+
other_urls:
11+
- https://github.com/bcrypt-ruby/bcrypt-ruby/blob/master/ext/mri/crypt_blowfish.c
12+
ignorable_copyrights:
13+
- Copyright (c) 1998-2014 Solar Designer
14+
ignorable_holders:
15+
- Solar Designer
16+
ignorable_authors:
17+
- Solar Designer
18+
---
19+
20+
Written by Solar Designer <solar at openwall.com> in 1998-2014.
21+
No copyright is claimed, and the software is hereby placed in the public
22+
domain. In case this attempt to disclaim copyright and place the software
23+
in the public domain is deemed null and void, then the software is
24+
Copyright (c) 1998-2014 Solar Designer and it is hereby released to the
25+
general public under the following terms:
26+
27+
Redistribution and use in source and binary forms, with or without
28+
modification, are permitted.
29+
30+
There's ABSOLUTELY NO WARRANTY, express or implied.

src/licensedcode/data/licenses/bison-exception-2.0.LICENSE

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ name: Bison exception to GPL 2.0 or later
55
category: Copyleft Limited
66
owner: Free Software Foundation (FSF)
77
is_exception: yes
8-
spdx_license_key: LicenseRef-scancode-bison-exception-2.0
8+
spdx_license_key: Bison-exception-1.24
9+
other_spdx_license_keys:
10+
- LicenseRef-scancode-bison-exception-2.0
911
faq_url: http://www.gnu.org/software/bison/manual/bison.html#Conditions
12+
other_urls:
13+
- https://github.com/arineng/rwhoisd/blob/master/rwhoisd/mkdb/y.tab.c#L180
1014
standard_notice: |
1115
This library is free software; you can redistribute it and/or modify it
1216
under the terms of the GNU General Public License as published by the Free

src/licensedcode/data/licenses/brian-gladman.LICENSE

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ name: Brian Gladman License
55
category: Permissive
66
owner: Brian Gladman
77
homepage_url: http://www.gladman.me.uk/AES
8-
spdx_license_key: LicenseRef-scancode-brian-gladman
8+
spdx_license_key: Brian-Gladman-2-Clause
9+
other_spdx_license_keys:
10+
- LicenseRef-scancode-brian-gladman
911
text_urls:
1012
- http://gladman.plushost.co.uk/oldsite/AES/aes-src-12-09-11.zip
13+
other_urls:
14+
- https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html
15+
- https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L140-L156
1116
---
1217

1318
The redistribution and use of this software (with or without changes)

src/licensedcode/data/licenses/bsd-simplified-darwin.LICENSE

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ short_name: BSD Simplified Darwin
44
name: BSD Simplified Darwin
55
category: Permissive
66
owner: Ian Darwin
7-
spdx_license_key: LicenseRef-scancode-bsd-simplified-darwin
7+
spdx_license_key: BSD-2-Clause-Darwin
8+
other_spdx_license_keys:
9+
- LicenseRef-scancode-bsd-simplified-darwin
10+
other_urls:
11+
- https://github.com/file/file/blob/master/COPYING
812
---
913

1014
This software is not subject to any export provision of the United States
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
key: bsd-systemics-w3works
3+
short_name: Systemics W3Works License
4+
name: Systemics W3Works BSD variant license
5+
category: Permissive
6+
owner: Systemics Ltd
7+
spdx_license_key: BSD-Systemics-W3Works
8+
other_urls:
9+
- https://metacpan.org/release/DPARIS/Crypt-Blowfish-2.14/source/COPYRIGHT#L7
10+
ignorable_authors:
11+
- Systemics Ltd (http://www.systemics.com/)
12+
- W3Works, LLC (http://www.w3works.com)
13+
ignorable_urls:
14+
- http://www.systemics.com/
15+
- http://www.w3works.com/
16+
---
17+
18+
Current implimentation contains modifications made by W3Works, LLC. The
19+
modifications remain copyright of W3Works, LLC and attribution for these
20+
modification should be made to W3Works, LLC. These modifications and
21+
this copyright must remain with this package.
22+
23+
Additions to the Restrictions set out below are:
24+
1. All advertising materials mentioning features or use of this software
25+
must display the following acknowledgement:
26+
This product inculdes software developed by W3Works, LLC (http://www.w3works.com)
27+
28+
NO ADDITIONAL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
29+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30+
ARE EXTENDED BY THIS DISTRIBUTION.
31+
32+
Any subsequent derrivations of this package must retainl this copyright.
33+
34+
35+
Original Copyright Below
36+
37+
This library and applications are FREE FOR COMMERCIAL AND NON-COMMERCIAL USE
38+
as long as the following conditions are adhered to.
39+
40+
Copyright remains with Systemics Ltd, and as such any Copyright notices
41+
in the code are not to be removed. If this code is used in a product,
42+
Systemics should be given attribution as the author of the parts used.
43+
This can be in the form of a textual message at program startup or
44+
in documentation (online or textual) provided with the package.
45+
46+
Redistribution and use in source and binary forms, with or without
47+
modification, are permitted provided that the following conditions
48+
are met:
49+
1. Redistributions of source code must retain the copyright
50+
notice, this list of conditions and the following disclaimer.
51+
2. Redistributions in binary form must reproduce the above copyright
52+
notice, this list of conditions and the following disclaimer in the
53+
documentation and/or other materials provided with the distribution.
54+
3. All advertising materials mentioning features or use of this software
55+
must display the following acknowledgement:
56+
This product includes software developed by Systemics Ltd (http://www.systemics.com/)
57+
58+
THIS SOFTWARE IS PROVIDED BY SYSTEMICS LTD ``AS IS'' AND
59+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
60+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
61+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
62+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
64+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68+
SUCH DAMAGE.
69+
70+
The licence and distribution terms for any publically available version or
71+
derivative of this code cannot be changed. i.e. this code cannot simply be
72+
copied and put under another distribution licence
73+
[including the GNU Public Licence.]

0 commit comments

Comments
 (0)